mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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:
parent
3349267ee5
commit
43f18c4b65
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue