1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-17 00:39:50 +02:00

* gpgkeys_ldap.c (main): Fix bug in setting up whether to verify peer

SSL cert.  This used to work with older OpenLDAP, but is now more
strictly handled.
This commit is contained in:
David Shaw 2007-07-29 02:58:26 +00:00
parent 3349267ee5
commit 43f18c4b65
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-07-28 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_ldap.c (main): Fix bug in setting up whether to verify
peer SSL cert. This used to work with older OpenLDAP, but is now
more strictly handled.
2007-07-27 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_ldap.c: Fix build warning with mozldap.

View File

@ -2188,7 +2188,7 @@ main(int argc,char *argv[])
else
ver=LDAP_OPT_X_TLS_NEVER;
err=ldap_set_option(ldap,LDAP_OPT_X_TLS_REQUIRE_CERT,&ver);
err=ldap_set_option(NULL,LDAP_OPT_X_TLS_REQUIRE_CERT,&ver);
}
#endif