mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
setopt: fix CURLOPT_SSH_AUTH_TYPES option read
Regression since f121575c0b
Reported-by: Rob Cotrone
This commit is contained in:
parent
733190413f
commit
961c8667d2
@ -2711,7 +2711,7 @@ CURLcode Curl_setopt(struct Curl_easy *data, CURLoption option,
|
||||
arg = va_arg(param, long);
|
||||
if(arg < CURLSSH_AUTH_NONE)
|
||||
return CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
data->set.ssh_auth_types = va_arg(param, long);
|
||||
data->set.ssh_auth_types = arg;
|
||||
break;
|
||||
|
||||
case CURLOPT_SSH_PUBLIC_KEYFILE:
|
||||
|
Loading…
Reference in New Issue
Block a user