diff options
author | bapt <bapt@FreeBSD.org> | 2014-06-05 22:13:30 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-06-05 22:13:30 +0000 |
commit | c84894dbf33070c6eacb47348c5302f859f53265 (patch) | |
tree | daba81cd6150eef66f17d6c16d49e41135d9cc8a /lib/libfetch/http.c | |
parent | e9021f700469b182fc5168fee2605dc3723b9ee6 (diff) | |
download | FreeBSD-src-c84894dbf33070c6eacb47348c5302f859f53265.zip FreeBSD-src-c84894dbf33070c6eacb47348c5302f859f53265.tar.gz |
Remove unnecessary semicolons
Patch by Sascha Wildner <saw@online.de> for Dragonfly
Reviewed by: des
Obtained from: Dragonfly
MFC after: 1 week
Diffstat (limited to 'lib/libfetch/http.c')
-rw-r--r-- | lib/libfetch/http.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c index 7b7955e..fe34605 100644 --- a/lib/libfetch/http.c +++ b/lib/libfetch/http.c @@ -1129,7 +1129,7 @@ CvtHex(IN HASH Bin, OUT HASHHEX Hex) Hex[i*2] = hexchars[j]; j = Bin[i] & 0xf; Hex[i*2+1] = hexchars[j]; - }; + } Hex[HASHHEXLEN] = '\0'; }; @@ -1164,7 +1164,7 @@ DigestCalcHA1( MD5Update(&Md5Ctx, ":", 1); MD5Update(&Md5Ctx, pszCNonce, strlen(pszCNonce)); MD5Final(HA1, &Md5Ctx); - }; + } CvtHex(HA1, SessionKey); } @@ -1198,7 +1198,7 @@ DigestCalcResponse( if (strcasecmp(pszQop, "auth-int") == 0) { MD5Update(&Md5Ctx, ":", 1); MD5Update(&Md5Ctx, HEntity, HASHHEXLEN); - }; + } MD5Final(HA2, &Md5Ctx); CvtHex(HA2, HA2Hex); @@ -1215,7 +1215,7 @@ DigestCalcResponse( MD5Update(&Md5Ctx, ":", 1); MD5Update(&Md5Ctx, pszQop, strlen(pszQop)); MD5Update(&Md5Ctx, ":", 1); - }; + } MD5Update(&Md5Ctx, HA2Hex, HASHHEXLEN); MD5Final(RespHash, &Md5Ctx); CvtHex(RespHash, Response); |