diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 725e9e7ef..8757e4659 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -5411,7 +5411,7 @@ static void ssl_calc_finished_tls_sha384( int len = 12; const char *sender; mbedtls_sha512_context sha512; - unsigned char padbuf[48]; + unsigned char padbuf[64]; mbedtls_ssl_session *session = ssl->session_negotiate; if( !session )