mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Fixed dependency on POLARSSL_SHA4_C in ssl modules
This commit is contained in:
@ -804,7 +804,9 @@ static int ssl_parse_server_key_exchange( ssl_context *ssl )
|
||||
else
|
||||
{
|
||||
sha2_context sha2;
|
||||
#if defined(POLARSSL_SHA4_C)
|
||||
sha4_context sha4;
|
||||
#endif
|
||||
|
||||
n = ssl->in_hslen - ( end - p ) - 8;
|
||||
|
||||
|
Reference in New Issue
Block a user