]> granicus.if.org Git - curl/commit
url: remove arg value check from CURLOPT_SSH_AUTH_TYPES
authorJay Satiro <raysatiro@yahoo.com>
Sat, 4 Nov 2017 22:36:07 +0000 (18:36 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 4 Nov 2017 22:36:07 +0000 (18:36 -0400)
commit462f3cac34c09b9c28b449258e71dc37171dc604
treec2d881ba50e6ede08c4c77585c25731269d0d8e1
parent685ef130575cdcf63fe9547757d88a49a40ef281
url: remove arg value check from CURLOPT_SSH_AUTH_TYPES

Since CURLSSH_AUTH_ANY (aka CURLSSH_AUTH_DEFAULT) is ~0 an arg value
check on this option is incorrect; we have to accept any value.

Prior to this change since f121575 (7.56.1+) CURLOPT_SSH_AUTH_TYPES
erroneously rejected CURLSSH_AUTH_ANY with CURLE_BAD_FUNCTION_ARGUMENT.

Bug: https://github.com/curl/curl/commit/f121575#commitcomment-25347120
lib/url.c