Entropy collector and CTR-DRBG now also work on SHA-256 if SHA-512 not available
This commit is contained in:
parent
0a20171d52
commit
fb08fd2e23
6 changed files with 65 additions and 5 deletions
library
|
@ -2318,7 +2318,7 @@ void ssl_optimize_checksum( ssl_context *ssl,
|
|||
const ssl_ciphersuite_t *ciphersuite_info )
|
||||
{
|
||||
#if !defined(POLARSSL_SHA512_C)
|
||||
((void) ciphersuite);
|
||||
((void) ciphersuite_info);
|
||||
#endif
|
||||
|
||||
if( ssl->minor_ver < SSL_MINOR_VERSION_3 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue