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 | <CAF4Sogb=zQZLVKOtsevs4K3GSLWXA-LJ7=1nUevF32Umu1q0sw@mail.gmail.com> |
On Wed, Dec 20, 2017 at 10:24 AM, Bart Van Assche <[email protected]> wrote: > On 12/20/17 05:42, Bill Fenner 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. >> > > Hello Bill, > > I would like to have as few dependencies on the NETSNMP_USE_OPENSSL and > HAVE_LIBSSL macros as possible. It would help a lot if you could tell me > against which OS you are building Net-SNMP and which configure options you > are using. > I'm not sure what your point about dependencies is about. The only change vs. what you proposed was that I added an #include of openssl/dh.h if the "main" #if was false. To avoid ratholing into what exactly the environment needs to be, I've replicated this problem on travis at https://travis-ci.org/fenner/net-snmp/jobs/319254740 . (My specific environment is pretty hard to replicate.) The configure options for that build are: configure --with-defaults --enable-ipv6 --enable-silent-libtool --disable-embedded-perl 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