summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-06-05 22:13:30 +0000
committerbapt <bapt@FreeBSD.org>2014-06-05 22:13:30 +0000
commitc84894dbf33070c6eacb47348c5302f859f53265 (patch)
treedaba81cd6150eef66f17d6c16d49e41135d9cc8a /lib
parente9021f700469b182fc5168fee2605dc3723b9ee6 (diff)
downloadFreeBSD-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')
-rw-r--r--lib/libfetch/http.c8
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);
OpenPOWER on IntegriCloud