mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-29 14:29:54 +00:00
Fix logical dead code found by Coverity
Signed-off-by: Paul Elliott <[email protected]>
This commit is contained in:
@@ -178,12 +178,12 @@ psa_status_t mbedtls_psa_pake_setup(mbedtls_psa_pake_operation_t *operation,
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
psa_crypto_driver_pake_get_user_len(inputs, &user_len);
|
status = psa_crypto_driver_pake_get_user_len(inputs, &user_len);
|
||||||
if (status != PSA_SUCCESS) {
|
if (status != PSA_SUCCESS) {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
psa_crypto_driver_pake_get_peer_len(inputs, &peer_len);
|
status = psa_crypto_driver_pake_get_peer_len(inputs, &peer_len);
|
||||||
if (status != PSA_SUCCESS) {
|
if (status != PSA_SUCCESS) {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user