mirror of https://github.com/wolfSSL/wolfssl.git
Added a return check
parent
7fb4a98009
commit
e32e206d7c
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue