diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-02-14 17:33:50 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-02-16 10:28:31 +0100 |
commit | 7d600ad1c3959bbf78dc14498335b8a73cfc790c (patch) | |
tree | dcd3c59fdda6d9e832eebd6da6dcdb8ed6be58a6 /lib/curl_sasl.h | |
parent | eb13cc292767ef75e061ab1efa4644a839dab837 (diff) | |
download | curl-7d600ad1c3959bbf78dc14498335b8a73cfc790c.tar.gz |
urldata: remove conn->bits.user_passwd
The authentication status should be told by the transfer and not the
connection.
Reported-by: John H. Ayad
Fixes #8449
Closes #8451
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r-- | lib/curl_sasl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h index 91458c74a..d377ae7bc 100644 --- a/lib/curl_sasl.h +++ b/lib/curl_sasl.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2012 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 2012 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -150,7 +150,7 @@ void Curl_sasl_init(struct SASL *sasl, struct Curl_easy *data, const struct SASLproto *params); /* Check if we have enough auth data and capabilities to authenticate */ -bool Curl_sasl_can_authenticate(struct SASL *sasl, struct connectdata *conn); +bool Curl_sasl_can_authenticate(struct SASL *sasl, struct Curl_easy *data); /* Calculate the required login details for SASL authentication */ CURLcode Curl_sasl_start(struct SASL *sasl, struct Curl_easy *data, |