On Wed 2017-12-20 10:51:07-0500 Robert wrote:
> 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.
The attached patch against master builds with and without TLS
transports on CentOS 6 (openssl 1.0) and Fedora 27 (openssl 1.1).
--
Robert Story <http://www.isi.edu/~rstory>
USC Information Sciences Institute <http://www.isi.edu/>
commit 89c9d93f2f24cea7f8dac12d36f31daf12419203
Author: Robert Story <rst...@freesnmp.com>
Date: Wed Dec 20 11:33:28 2017 -0500
align prototype and function; remove duplicate function
commit 18eb1be3052fe63c6e8ada1cea2409e146be9bab
Author: Robert Story <rst...@freesnmp.com>
Date: Wed Dec 20 11:07:24 2017 -0500
move compat funcs for apps to top of file
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders