aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_digest_nss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypt_ops/crypto_digest_nss.c')
-rw-r--r--src/lib/crypt_ops/crypto_digest_nss.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/crypt_ops/crypto_digest_nss.c b/src/lib/crypt_ops/crypto_digest_nss.c
index b73f0736fd..bc7a0fab16 100644
--- a/src/lib/crypt_ops/crypto_digest_nss.c
+++ b/src/lib/crypt_ops/crypto_digest_nss.c
@@ -87,7 +87,7 @@ library_supports_digest(digest_algorithm_t alg)
switch (alg) {
case DIGEST_SHA1: /* Fall through */
case DIGEST_SHA256: /* Fall through */
- case DIGEST_SHA512: /* Fall through */
+ case DIGEST_SHA512:
return true;
case DIGEST_SHA3_256: /* Fall through */
case DIGEST_SHA3_512: /* Fall through */
@@ -557,4 +557,3 @@ crypto_hmac_sha256(char *hmac_out,
tor_assert(ok);
}
-