Fixed dependency on POLARSSL_SHA4_C in ssl modules
This commit is contained in:
parent
1eeceaeac8
commit
769075dfb6
3 changed files with 28 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue