aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/gpgkeys_ldap.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-02-18 23:05:47 +0000
committerDavid Shaw <[email protected]>2004-02-18 23:05:47 +0000
commitf3de3a5eb92989cab6703e5c3c977473669c7d17 (patch)
tree04972b61b0a7a77a044592483aca117fefb407c7 /keyserver/gpgkeys_ldap.c
parent* build-packet.c (do_user_id): Do not force a header for attribute packets (diff)
downloadgnupg-f3de3a5eb92989cab6703e5c3c977473669c7d17.tar.gz
gnupg-f3de3a5eb92989cab6703e5c3c977473669c7d17.zip
* gpgkeys_ldap.c (ldap_to_gpg_err): Make sure that LDAP_OPT_ERROR_NUMBER
is defined before we use it. * gpgkeys_mailto.in: Fix VERSION number.
Diffstat (limited to 'keyserver/gpgkeys_ldap.c')
-rw-r--r--keyserver/gpgkeys_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyserver/gpgkeys_ldap.c b/keyserver/gpgkeys_ldap.c
index 8dd0f0244..06e5f02bc 100644
--- a/keyserver/gpgkeys_ldap.c
+++ b/keyserver/gpgkeys_ldap.c
@@ -86,7 +86,7 @@ ldap_err_to_gpg_err(int err)
int
ldap_to_gpg_err(LDAP *ld)
{
-#if defined(HAVE_LDAP_GET_OPTION)
+#if defined(HAVE_LDAP_GET_OPTION) && defined(LDAP_OPT_ERROR_NUMBER)
int err;