mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 19:21:09 +01:00
Changing buffer size checks.
Signed-off-by: pespacek <peter.spacek@silabs.com>
This commit is contained in:
@@ -222,7 +222,7 @@ static int x509write_csr_der_internal( mbedtls_x509write_csr *ctx,
|
||||
c,
|
||||
len,
|
||||
hash,
|
||||
PSA_HASH_MAX_SIZE,
|
||||
sizeof( hash ),
|
||||
&hash_len ) != PSA_SUCCESS )
|
||||
{
|
||||
return ( MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED );
|
||||
|
||||
Reference in New Issue
Block a user