mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-02 18:46:06 +02:00
FFDH: fix wrong word in comment
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
@@ -277,7 +277,7 @@ psa_status_t mbedtls_psa_ffdh_key_agreement(
|
||||
return PSA_ERROR_INVALID_ARGUMENT;
|
||||
}
|
||||
|
||||
/* This has been checked by the library, but keep a local check too. */
|
||||
/* This has been checked by the core, but keep a local check too. */
|
||||
if (calculated_shared_secret_size > shared_secret_size) {
|
||||
return PSA_ERROR_BUFFER_TOO_SMALL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user