1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00

Fix typo in variable declaration

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard
2023-09-20 16:12:46 +02:00
parent f25189473b
commit 3ec976c42c

View File

@@ -203,7 +203,7 @@ psa_status_t p256_transparent_key_agreement(
}
/* See INFORMATION ON PSA KEY EXPORT FORMATS near top of file */
const uint8_t peer_key_p256m = peer_key + 1;
const uint8_t *peer_key_p256m = peer_key + 1;
int ret = p256_ecdh_shared_secret(shared_secret, key_buffer, peer_key_p256m);
if (ret == P256_SUCCESS) {
*shared_secret_length = SHARED_SECRET_SIZE;