]> granicus.if.org Git - sudo/commitdiff
Older Netscape LDAP SDKs don't prototype ldapssl_set_strength()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 29 Nov 2011 20:37:48 +0000 (15:37 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 29 Nov 2011 20:37:48 +0000 (15:37 -0500)
plugins/sudoers/ldap.c

index 233bc1f49efe121ecd2249f0f71ff7a6323136a6..a2953077e9e72e024625624a416aedafc8673a84 100644 (file)
 #include "parse.h"
 #include "lbuf.h"
 
+/* Older Netscape LDAP SDKs don't prototype ldapssl_set_strength() */
+#if defined(HAVE_LDAPSSL_SET_STRENGTH) && !defined(HAVE_LDAP_SSL_H) && !defined(HAVE_MPS_LDAP_SSL_H)
+extern int ldapssl_set_strength(LDAP *ldap, int strength);
+#endif
+
 #ifndef LDAP_OPT_SUCCESS
 # define LDAP_OPT_SUCCESS LDAP_SUCCESS
 #endif