mirror of
https://github.com/curl/curl.git
synced 2026-06-01 22:14:17 +03:00
socks: remove bad assert from do_SOCKS5()
It verified the auth bits wrongly. We don't need this assert anymore since the input is verified in *setopt(). Bug: https://issues.oss-fuzz.com/issues/401869346 Closes #16650
This commit is contained in:
parent
06ae0eceb9
commit
aa8d1d648e
1 changed files with 0 additions and 1 deletions
|
|
@ -590,7 +590,6 @@ static CURLproxycode do_SOCKS5(struct Curl_cfilter *cf,
|
|||
bool allow_gssapi = FALSE;
|
||||
struct Curl_dns_entry *dns = NULL;
|
||||
|
||||
DEBUGASSERT(auth & (CURLAUTH_BASIC | CURLAUTH_GSSAPI));
|
||||
switch(sx->state) {
|
||||
case CONNECT_SOCKS_INIT:
|
||||
if(conn->bits.httpproxy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue