>>>>> On Tue, 30 Nov 2010 22:41:37 +0100, Magnus Fromreide 
>>>>> <ma...@lysator.liu.se> said:

MF> +#if defined(NETSNMP_USE_OPENSSL) && defined(HAVE_LIBSSL)
MF> /** init secname mapping */
MF> netsnmp_certs_agent_init();
MF> +#endif
 
I'd go ahead and commit it.

*but*, I actually wonder whether for things like this it's cleaner to
not require the ifdefs and rather define an empty function instead.

I'm also not sure why this is a special case init function vs the issue
with a generic call back which seems safer and more pluggable.  I'll let
Robert speak to that.
-- 
Wes Hardaker
Please mail all replies to net-snmp-coders@lists.sourceforge.net

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to