From 0ea95fd80f8dbb682aa4ac4e26d161f840512cfe Mon Sep 17 00:00:00 2001 From: David Shaw Date: Mon, 27 Mar 2006 19:06:46 +0000 Subject: * gpgkeys_ldap.c: #define LDAP_DEPRECATED for newer OpenLDAPs so they use the regular old API that is compatible with other LDAP libraries. --- keyserver/ChangeLog | 6 ++++++ keyserver/gpgkeys_ldap.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog index 795b7d45e..1c3dc663b 100644 --- a/keyserver/ChangeLog +++ b/keyserver/ChangeLog @@ -1,3 +1,9 @@ +2006-03-27 David Shaw + + * gpgkeys_ldap.c: #define LDAP_DEPRECATED for newer OpenLDAPs so + they use the regular old API that is compatible with other LDAP + libraries. + 2006-03-03 David Shaw * gpgkeys_ldap.c (main): Fix build problem with non-OpenLDAP LDAP 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 #endif +/* For OpenLDAP, to enable the API that we're using. */ +#define LDAP_DEPRECATED 1 #include #endif -- cgit v1.2.3