mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 14:05:03 -05:00
digest: Corrected some typos in comments
This commit is contained in:
parent
f0fbd099b4
commit
a7a653fd58
@ -940,14 +940,14 @@ CURLcode Curl_sasl_create_digest_http_message(struct SessionHandle *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if the algorithm is "MD5" or unspecified (which then defaults to MD5):
|
If the algorithm is "MD5" or unspecified (which then defaults to MD5):
|
||||||
|
|
||||||
A1 = unq(username-value) ":" unq(realm-value) ":" passwd
|
A1 = unq(username-value) ":" unq(realm-value) ":" passwd
|
||||||
|
|
||||||
if the algorithm is "MD5-sess" then:
|
If the algorithm is "MD5-sess" then:
|
||||||
|
|
||||||
A1 = H( unq(username-value) ":" unq(realm-value) ":" passwd )
|
A1 = H( unq(username-value) ":" unq(realm-value) ":" passwd ) ":"
|
||||||
":" unq(nonce-value) ":" unq(cnonce-value)
|
unq(nonce-value) ":" unq(cnonce-value)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
md5this = (unsigned char *)
|
md5this = (unsigned char *)
|
||||||
@ -1039,7 +1039,7 @@ CURLcode Curl_sasl_create_digest_http_message(struct SessionHandle *data,
|
|||||||
are copied as is from the server, escapes and all. cnonce is generated
|
are copied as is from the server, escapes and all. cnonce is generated
|
||||||
with web-safe characters. uri is already percent encoded. nc is 8 hex
|
with web-safe characters. uri is already percent encoded. nc is 8 hex
|
||||||
characters. algorithm and qop with standard values only contain web-safe
|
characters. algorithm and qop with standard values only contain web-safe
|
||||||
chracters.
|
characters.
|
||||||
*/
|
*/
|
||||||
userp_quoted = sasl_digest_string_quoted(userp);
|
userp_quoted = sasl_digest_string_quoted(userp);
|
||||||
if(!userp_quoted)
|
if(!userp_quoted)
|
||||||
|
Loading…
Reference in New Issue
Block a user