mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
ssl_write_server_key_exchange: don't hard-code max hash size
This commit is contained in:
@ -3032,7 +3032,7 @@ curve_matching_done:
|
||||
{
|
||||
size_t signature_len = 0;
|
||||
unsigned int hashlen = 0;
|
||||
unsigned char hash[64];
|
||||
unsigned char hash[MBEDTLS_MD_MAX_SIZE];
|
||||
|
||||
/*
|
||||
* 3.1: Choose hash algorithm:
|
||||
|
Reference in New Issue
Block a user