diff options
author | Simon Josefsson <simon@josefsson.org> | 2020-12-24 19:48:45 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-02-09 10:53:25 +0100 |
commit | 3eebbfe8f34d37c4d68d08277a44ec7aa6bd0889 (patch) | |
tree | 0e8140b9cad228433a94303b37b9358e1502efb7 /lib/urldata.h | |
parent | cb2dc1ba89dbdb3850de8e92907bbbbb9c1903e0 (diff) | |
download | curl-3eebbfe8f34d37c4d68d08277a44ec7aa6bd0889.tar.gz |
sasl: support SCRAM-SHA-1 and SCRAM-SHA-256 via libgsasl
Closes #6372
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 97ad49372..4d7ccd59e 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -371,6 +371,15 @@ struct kerberos5data { }; #endif +/* Struct used for SCRAM-SHA-1 authentication */ +#ifdef USE_GSASL +#include <gsasl.h> +struct gsasldata { + Gsasl *ctx; + Gsasl_session *client; +}; +#endif + /* Struct used for NTLM challenge-response authentication */ #if defined(USE_NTLM) struct ntlmdata { @@ -1061,6 +1070,10 @@ struct connectdata { CtxtHandle *sslContext; #endif +#ifdef USE_GSASL + struct gsasldata gsasl; +#endif + #if defined(USE_NTLM) curlntlm http_ntlm_state; curlntlm proxy_ntlm_state; |