mirror of
https://github.com/curl/curl.git
synced 2026-05-30 11:27:29 +03:00
http_digest: Moved algorithm definitions to SASL module
This commit is contained in:
parent
3cfe3bc001
commit
d7bfce3951
3 changed files with 6 additions and 5 deletions
|
|
@ -56,6 +56,11 @@ struct kerberos5data;
|
|||
#define SASL_MECH_STRING_NTLM "NTLM"
|
||||
#define SASL_MECH_STRING_XOAUTH2 "XOAUTH2"
|
||||
|
||||
enum {
|
||||
CURLDIGESTALGO_MD5,
|
||||
CURLDIGESTALGO_MD5SESS
|
||||
};
|
||||
|
||||
/* This is used to test whether the line starts with the given mechanism */
|
||||
#define sasl_mech_equal(line, wordlen, mech) \
|
||||
(wordlen == (sizeof(mech) - 1) / sizeof(char) && \
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
#include "rawstr.h"
|
||||
#include "curl_base64.h"
|
||||
#include "curl_md5.h"
|
||||
#include "curl_sasl.h"
|
||||
#include "http_digest.h"
|
||||
#include "strtok.h"
|
||||
#include "curl_memory.h"
|
||||
|
|
|
|||
|
|
@ -23,11 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "curl_setup.h"
|
||||
|
||||
enum {
|
||||
CURLDIGESTALGO_MD5,
|
||||
CURLDIGESTALGO_MD5SESS
|
||||
};
|
||||
|
||||
/* this is for digest header input */
|
||||
CURLcode Curl_input_digest(struct connectdata *conn,
|
||||
bool proxy, const char *header);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue