mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
update return value
This commit is contained in:
@@ -13287,6 +13287,7 @@ int openssl_pkey0_test(void)
|
|||||||
|
|
||||||
show("decrypted msg", plain, outlen);
|
show("decrypted msg", plain, outlen);
|
||||||
|
|
||||||
|
ret = 0; /* made it to this point without error then set success */
|
||||||
openssl_pkey0_test_done:
|
openssl_pkey0_test_done:
|
||||||
|
|
||||||
wolfSSL_RSA_free(prvRsa);
|
wolfSSL_RSA_free(prvRsa);
|
||||||
@@ -13299,8 +13300,7 @@ openssl_pkey0_test_done:
|
|||||||
XFREE(pubTmp, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
|
XFREE(pubTmp, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
|
||||||
#endif /* NO_RSA */
|
#endif /* NO_RSA */
|
||||||
|
|
||||||
return 0;
|
return ret;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user