1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00

* gpgkeys_ldap.c: #define LDAP_DEPRECATED for newer OpenLDAPs so they use

the regular old API that is compatible with other LDAP libraries.
This commit is contained in:
David Shaw 2006-03-27 19:06:46 +00:00
parent 025aabfd8e
commit 0ea95fd80f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-03-27 David Shaw <dshaw@jabberwocky.com>
* 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 <dshaw@jabberwocky.com>
* gpgkeys_ldap.c (main): Fix build problem with non-OpenLDAP LDAP

View File

@ -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