Go to the source code of this file.
Enumerations | |
| enum | CURLdigest { CURLDIGEST_NONE, CURLDIGEST_BAD, CURLDIGEST_BADALGO, CURLDIGEST_NOMEM, CURLDIGEST_FINE, CURLDIGEST_LAST } |
| enum | { CURLDIGESTALGO_MD5, CURLDIGESTALGO_MD5SESS } |
Functions | |
| CURLdigest | Curl_input_digest (struct connectdata *conn, bool proxy, char *header) |
| CURLcode | Curl_output_digest (struct connectdata *conn, bool proxy, unsigned char *request, unsigned char *uripath) |
| void | Curl_digest_cleanup_one (struct digestdata *dig) |
| void | Curl_digest_cleanup (struct SessionHandle *data) |
| anonymous enum |
| enum CURLdigest |
| CURLDIGEST_NONE | |
| CURLDIGEST_BAD | |
| CURLDIGEST_BADALGO | |
| CURLDIGEST_NOMEM | |
| CURLDIGEST_FINE | |
| CURLDIGEST_LAST |
Definition at line 8 of file http_digest.h.
| void Curl_digest_cleanup | ( | struct SessionHandle * | data | ) |
Definition at line 498 of file http_digest.c.
References Curl_digest_cleanup_one(), UrlState::digest, UrlState::proxydigest, and SessionHandle::state.
Referenced by Curl_close().
| void Curl_digest_cleanup_one | ( | struct digestdata * | dig | ) |
Definition at line 466 of file http_digest.c.
References digestdata::algo, digestdata::algorithm, digestdata::cnonce, CURLDIGESTALGO_MD5, FALSE, free, digestdata::nc, digestdata::nonce, NULL, digestdata::opaque, digestdata::qop, digestdata::realm, and digestdata::stale.
Referenced by Curl_digest_cleanup(), and Curl_input_digest().
| CURLdigest Curl_input_digest | ( | struct connectdata * | conn, | |
| bool | proxy, | |||
| char * | header | |||
| ) |
Definition at line 57 of file http_digest.c.
References digestdata::algo, digestdata::algorithm, checkprefix, Curl_digest_cleanup_one(), CURLDIGEST_BAD, CURLDIGEST_BADALGO, CURLDIGEST_FINE, CURLDIGEST_NOMEM, CURLDIGEST_NONE, CURLDIGESTALGO_MD5, CURLDIGESTALGO_MD5SESS, connectdata::data, UrlState::digest, FALSE, free, ISSPACE, digestdata::nc, digestdata::nonce, NULL, digestdata::opaque, UrlState::proxydigest, digestdata::qop, digestdata::realm, digestdata::stale, SessionHandle::state, strdup, strequal, strtok_r, and TRUE.
Referenced by Curl_http_input_auth().
| CURLcode Curl_output_digest | ( | struct connectdata * | conn, | |
| bool | proxy, | |||
| unsigned char * | request, | |||
| unsigned char * | uripath | |||
| ) |
Definition at line 213 of file http_digest.c.
References digestdata::algo, digestdata::algorithm, connectdata::allocptr, UrlState::authhost, UrlState::authproxy, digestdata::cnonce, Curl_base64_encode(), Curl_md5it(), CURL_OUTPUT_DIGEST_CONV, Curl_safefree(), Curl_tvnow, CURLDIGESTALGO_MD5SESS, CURLE_OK, CURLE_OUT_OF_MEMORY, connectdata::data, UrlState::digest, auth::done, FALSE, free, malloc, md5_to_ascii(), digestdata::nc, digestdata::nonce, NULL, digestdata::opaque, connectdata::passwd, UrlState::proxydigest, connectdata::proxypasswd, connectdata::proxyuser, connectdata::dynamically_allocated_data::proxyuserpwd, digestdata::qop, realloc, digestdata::realm, SessionHandle::state, strequal, TRUE, timeval::tv_sec, connectdata::user, and connectdata::dynamically_allocated_data::userpwd.
Referenced by Curl_http_output_auth().
1.5.6