mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-04-28 23:23:24 +02:00
Added a return check
This commit is contained in:
+3
-1
@@ -16746,7 +16746,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){
|
||||
|
||||
Reference in New Issue
Block a user