Re: DH_get0_pqg not defined on 5.8 master if you build without TLS transport

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Organization FreeSNMP
Message-ID <[email protected]>
On Wed 2017-12-20 08:42:19-0500 Bill wrote:
> I've attached a patch that at least compiles that pulls the compat
> functions that snmpusm needs into the new #if, dunno if you have a
> better idea.  I haven't tested it with TLS transports.

I thins that snmp_openssl. c is the right place for any needed compat
functions that the apps need. It would make sense for those to go at
the top of the file with their own ifdef protection as they were in
snmpusm.c (#if defined(HAVE_OPENSSL_DH_H) && !defined(HAVE_DH_funcXX)).
The certificate related functions with the (poorly named) LIBSSL ifdef
would follow.


-- 
Robert Story <http://www.isi.edu/~rstory>
USC Information Sciences Institute <http://www.isi.edu/>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.