diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-05-06 16:47:03 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-05-06 16:47:03 -0400 |
commit | d04b708b4bd47ee8df6796f19b25f558b2b18e91 (patch) | |
tree | 3eb744174d8e923fed56b4714244b94ed70c94b9 /src/lib/crypt_ops | |
parent | bbfc498e21c9854b16b0543bf3f3f4ac304711f7 (diff) | |
parent | 28f453c4764962394bf0cd3a314b2b60af7ee1b4 (diff) | |
download | tor-d04b708b4bd47ee8df6796f19b25f558b2b18e91.tar.gz tor-d04b708b4bd47ee8df6796f19b25f558b2b18e91.zip |
Merge branch 'maint-0.4.1' into maint-0.4.2
Diffstat (limited to 'src/lib/crypt_ops')
-rw-r--r-- | src/lib/crypt_ops/crypto_digest_nss.c | 3 |
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); } - |