diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-05-06 15:18:36 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-05-06 15:18:36 -0400 |
commit | 3e42464f5a6f8fac7651bad05f180cc1ed2ca51d (patch) | |
tree | f41f5df20de58f17abbd8b59d55ba992966b7549 /src/lib/crypt_ops | |
parent | a02e866642c28b4c0cbe415f8573c4ede4d9caf7 (diff) | |
parent | 3d3641152b5d8a4bf8587dec640bda3d440b7c36 (diff) | |
download | tor-3e42464f5a6f8fac7651bad05f180cc1ed2ca51d.tar.gz tor-3e42464f5a6f8fac7651bad05f180cc1ed2ca51d.zip |
Merge branch 'bug34078_prelim_035' into bug34078_prelim_041
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); } - |