2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Older Netscape LDAP SDKs don't prototype ldapssl_set_strength()

This commit is contained in:
Todd C. Miller
2011-11-29 15:37:48 -05:00
parent e9e4a84528
commit 627e485c0e

View File

@@ -80,6 +80,11 @@
#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