mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
ldap: drop duplicate ldap_set_option() on Windows
Already set after `ldap_sslinit()`/`ldap_init()` and before `ldap_ssl`-specific initialization. Follow-up to39d1976b7f#19830 Follow-up tob41e65a8e3Follow-up tob91421b107Closes #20930
This commit is contained in:
parent
030d6aeaf3
commit
9d104f566f
@ -387,7 +387,6 @@ static CURLcode ldap_do(struct Curl_easy *data, bool *done)
|
||||
}
|
||||
|
||||
#ifdef USE_WIN32_LDAP
|
||||
ldap_set_option(server, LDAP_OPT_PROTOCOL_VERSION, &ldap_proto);
|
||||
rc = ldap_win_bind(data, server, user, passwd);
|
||||
#else
|
||||
rc = ldap_simple_bind_s(server, user, passwd);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user