Added a return check

pull/3085/head
Ethan Looney 2020-06-29 12:55:42 -07:00
parent 7fb4a98009
commit e32e206d7c
1 changed files with 3 additions and 1 deletions

View File

@ -16215,7 +16215,9 @@ static int test_wc_curve448_shared_secret_ex (void) //ethan-3
ret = WOLFSSL_FATAL_ERROR;
}
}
ret = wc_curve448_init(&public_key);
if (ret == 0){
ret = wc_curve448_init(&public_key);
}
if (ret == 0) {
ret = wc_InitRng(&rng);
if (ret == 0){