Thomas Anders wrote:
Since AES isn't supported, this test fails.

But WTH do we configure SHA/AES users for a noAuthNoPriv test?

Digging further, the reason is quite simple. testing/tests/Sv3config contains:

if grep '^#define HAVE_AES 1' $SNMP_UPDIR/include/net-snmp/net-snmp-config.h
 $SNMP_UPDIR/include/net-snmp/agent/mib_module_config.h > /dev/null ; then
      DEFPRIVTYPE="AES"

Now mib_module_config.h *does* contain '^#define HAVE_AES 1', but surrounded by #if! Snippet follows:

/* If you have openssl 0.9.7 or above, you likely have AES support. */
#define USE_OPENSSL 1
#if defined(USE_OPENSSL) && defined(HAVE_OPENSSL_AES_H) && defined(HAVE_AES_CFB1
28_ENCRYPT)
#define HAVE_AES 1
#endif

Which renders the above "grep" in Sv3config nonsense. Sigh. I remember someone (Mike?) raising this issue before. What can be done about it?


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to