On Tue, 2005-09-27 at 00:24 +0200, Thomas Anders wrote:
> I've decided to test for HAVE_OPENSSL_AES_H and 
> HAVE_AES_CFB128_ENCRYPT. Low-level, but works until
> we find a better way.

That's probably sensible in terms of detecting whether
the agent supports AES or not.  But it doesn't really
answer your original question - why configure the agent
with privacy support at all, when testing noPriv requests.

How about something like the following tweak to Sv3config:


if [ "$DEFPRIVTYPE" = "none" ]
then
  CONFIGAGENT createUser initial  $DEFAUTHTYPE initial_test_pass_auth
  CONFIGAGENT createUser template $DEFAUTHTYPE template_test_pass_auth
else
  CONFIGAGENT createUser ... initial_test_pass_auth  $DEFPRIVTYPE
  CONFIGAGENT createUser ... template_test_pass_auth $DEFPRIVTYPE
fi



That would allow individual tests to disable the privacy
settings if they didn't want them.

Dave


-------------------------------------------------------
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