[tor-commits] [tor/release-0.4.3] Remove an incorrect "Fall through" comment.

nickm at torproject.org nickm at torproject.org
Wed May 6 20:50:31 UTC 2020


commit 3d3641152b5d8a4bf8587dec640bda3d440b7c36
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed May 6 14:47:38 2020 -0400

    Remove an incorrect "Fall through" comment.
---
 src/lib/crypt_ops/crypto_digest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/crypt_ops/crypto_digest.c b/src/lib/crypt_ops/crypto_digest.c
index 26f06c6c7..1b2724b2a 100644
--- a/src/lib/crypt_ops/crypto_digest.c
+++ b/src/lib/crypt_ops/crypto_digest.c
@@ -100,7 +100,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 */





More information about the tor-commits mailing list