Re: DH_get0_pqg not defined on 5.8 master if you build without TLS transport
Bill Fenner <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <CAF4SogaOkbFJN9y9CMEbWYc6EpbyMox+=0v569hS7QMqO+P-MQ@mail.gmail.com> |
On Wed, Dec 20, 2017 at 12:01 PM, Robert Story <[email protected]> wrote: > 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). > Can you attach "git show" instead of "git log", or point me to your repo if it's public and I'll cherry-pick your changes over? Thanks, 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 [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders