mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01: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:
parent
3349267ee5
commit
43f18c4b65
@ -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>
|
2007-07-27 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* gpgkeys_ldap.c: Fix build warning with mozldap.
|
* gpgkeys_ldap.c: Fix build warning with mozldap.
|
||||||
|
@ -2188,7 +2188,7 @@ main(int argc,char *argv[])
|
|||||||
else
|
else
|
||||||
ver=LDAP_OPT_X_TLS_NEVER;
|
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
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user