diff options
author | David Shaw <[email protected]> | 2006-03-27 19:06:46 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2006-03-27 19:06:46 +0000 |
commit | 0ea95fd80f8dbb682aa4ac4e26d161f840512cfe (patch) | |
tree | eb6a1e1f8aa78474c92056b3d39da1f06e39f72c /keyserver/gpgkeys_ldap.c | |
parent | * README: Missing some instructions on building a fat binary. (diff) | |
download | gnupg-0ea95fd80f8dbb682aa4ac4e26d161f840512cfe.tar.gz gnupg-0ea95fd80f8dbb682aa4ac4e26d161f840512cfe.zip |
* gpgkeys_ldap.c: #define LDAP_DEPRECATED for newer OpenLDAPs so they use
the regular old API that is compatible with other LDAP libraries.
Diffstat (limited to '')
-rw-r--r-- | keyserver/gpgkeys_ldap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyserver/gpgkeys_ldap.c b/keyserver/gpgkeys_ldap.c index 85654fb5b..c47831907 100644 --- a/keyserver/gpgkeys_ldap.c +++ b/keyserver/gpgkeys_ldap.c @@ -37,6 +37,8 @@ #ifdef NEED_LBER_H #include <lber.h> #endif +/* For OpenLDAP, to enable the API that we're using. */ +#define LDAP_DEPRECATED 1 #include <ldap.h> #endif |