auth: add support for RFC7616 - HTTP Digest access authentication

Signed-off-by: Florin <petriuc.florin@gmail.com>
This commit is contained in:
Florin 2017-09-30 20:30:55 +02:00 committed by Daniel Stenberg
parent 1d0c8dea95
commit 2b5b37cb91
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
7 changed files with 455 additions and 46 deletions

View file

@ -31,7 +31,11 @@
enum {
CURLDIGESTALGO_MD5,
CURLDIGESTALGO_MD5SESS
CURLDIGESTALGO_MD5SESS,
CURLDIGESTALGO_SHA256,
CURLDIGESTALGO_SHA256SESS,
CURLDIGESTALGO_SHA512_256,
CURLDIGESTALGO_SHA512_256SESS
};
/* This is used to extract the realm from a challenge message */