1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-04-17 15:44:34 +02:00

* gpgkeys_ldap.c: Fix build warning with mozldap.

This commit is contained in:
David Shaw 2007-07-27 16:33:05 +00:00
parent 8898e869a2
commit 3349267ee5
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2007-07-27 David Shaw <dshaw@jabberwocky.com> 2007-07-27 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_ldap.c: Fix build warning with mozldap.
* gpgkeys_ldap.c (search_key, main): Fix bug where searching for * gpgkeys_ldap.c (search_key, main): Fix bug where searching for
foo bar (no quotes) on the command line resulted in searching for foo bar (no quotes) on the command line resulted in searching for
"foo\2Abar" due to LDAP quoting. The proper search is "foo*bar". "foo\2Abar" due to LDAP quoting. The proper search is "foo*bar".

View File

@ -55,6 +55,11 @@
#include <ldap.h> #include <ldap.h>
#endif #endif
/* For mozldap */
#ifdef HAVE_LDAP_SSL_H
#include <ldap_ssl.h>
#endif
#include "compat.h" #include "compat.h"
#include "keyserver.h" #include "keyserver.h"
#include "ksutil.h" #include "ksutil.h"