From bade35bd760dd2ecd2234941c8b5843ab4b1df82 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Fri, 15 Jun 2018 16:25:09 -0600 Subject: [PATCH] update return value --- wolfcrypt/test/test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index dc7a749d3..932cf2197 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -13287,6 +13287,7 @@ int openssl_pkey0_test(void) show("decrypted msg", plain, outlen); + ret = 0; /* made it to this point without error then set success */ openssl_pkey0_test_done: wolfSSL_RSA_free(prvRsa); @@ -13299,8 +13300,7 @@ openssl_pkey0_test_done: XFREE(pubTmp, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); #endif /* NO_RSA */ - return 0; - + return ret; }