Skip to content

Commit

Permalink
Fix dependencies on SHA384 cipher suites
Browse files Browse the repository at this point in the history
They depended on MBEDTLS_SHA512_C only. A check for !MBEDTLS_SHA512_NO_SHA384
was missing.

Fix Mbed-TLS#4499.

Signed-off-by: Gilles Peskine <[email protected]>
  • Loading branch information
gilles-peskine-arm authored and lhuang04 committed May 19, 2023
1 parent 0fc612c commit 7b355c1
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 83 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.d/ciphersuite-sha384-guard.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Bugfix
* Do not offer SHA384 cipher suites when SHA-384 is disabled. Fixes #4499.
Loading

0 comments on commit 7b355c1

Please sign in to comment.