summaryrefslogtreecommitdiff
path: root/lib/vauth
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-03 20:28:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-03 22:38:36 +0200
commita71012c03ef6a7cbfba69bcafb559fa417c49af0 (patch)
treedb917bd1712346053d67108c494e4424ba290e07 /lib/vauth
parent9d194a1143f280dfd5174108b27edd51d909383d (diff)
downloadcurl-a71012c03ef6a7cbfba69bcafb559fa417c49af0.tar.gz
code: style updates
Diffstat (limited to 'lib/vauth')
-rw-r--r--lib/vauth/digest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vauth/digest.c b/lib/vauth/digest.c
index d22b3d1c4..f6ff5a088 100644
--- a/lib/vauth/digest.c
+++ b/lib/vauth/digest.c
@@ -73,7 +73,7 @@ bool Curl_auth_digest_get_pair(const char *str, char *value, char *content,
bool starts_with_quote = FALSE;
bool escape = FALSE;
- for(c = DIGEST_MAX_VALUE_LENGTH - 1; (*str && (*str != '=') && c--); )
+ for(c = DIGEST_MAX_VALUE_LENGTH - 1; (*str && (*str != '=') && c--);)
*value++ = *str++;
*value = 0;
@@ -689,7 +689,7 @@ CURLcode Curl_auth_create_digest_http_message(struct SessionHandle *data,
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)
*/