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 <CAF4SogbxpyPeh58eFy1k3ir55AKgDk_eJ3_PbEoNQbHG3Nv-mA@mail.gmail.com>
On Wed, Dec 20, 2017 at 10:51 AM, Robert Story <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.