forked from wolfSSL/wolfssl
Added a return check
This commit is contained in:
@ -16215,7 +16215,9 @@ static int test_wc_curve448_shared_secret_ex (void) //ethan-3
|
|||||||
ret = WOLFSSL_FATAL_ERROR;
|
ret = WOLFSSL_FATAL_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ret = wc_curve448_init(&public_key);
|
if (ret == 0){
|
||||||
|
ret = wc_curve448_init(&public_key);
|
||||||
|
}
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
ret = wc_InitRng(&rng);
|
ret = wc_InitRng(&rng);
|
||||||
if (ret == 0){
|
if (ret == 0){
|
||||||
|
Reference in New Issue
Block a user