On Wed, Dec 20, 2017 at 10:51 AM, Robert Story <rst...@freesnmp.com> 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.
I modified my travis build to try to build with tsm+DTLS, to show that it
worked in that case, but it turns out that there are duplicate helper
functions for X509_NAME_ENTRY_get_object, X509_NAME_ENTRY_get_data, and the
worst one is X509_get_signature_nid which has a different prototype than
the one it's a duplicate of and does not compile (maybe because the type is
incorrect).
Bill
------------------------------------------------------------------------------
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