mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-19 03:08:03 +00:00
ssl_write_server_key_exchange: don't hard-code max hash size
This commit is contained in:
parent
e198df53a0
commit
e1efdf912f
|
@ -3032,7 +3032,7 @@ curve_matching_done:
|
||||||
{
|
{
|
||||||
size_t signature_len = 0;
|
size_t signature_len = 0;
|
||||||
unsigned int hashlen = 0;
|
unsigned int hashlen = 0;
|
||||||
unsigned char hash[64];
|
unsigned char hash[MBEDTLS_MD_MAX_SIZE];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 3.1: Choose hash algorithm:
|
* 3.1: Choose hash algorithm:
|
||||||
|
|
Loading…
Reference in a new issue