From f2492da6a477ed28481a4b44662e3c7de53f9f72 Mon Sep 17 00:00:00 2001 From: Ruby Martin Date: Wed, 22 May 2024 15:23:38 -0600 Subject: [PATCH] include negative test comment and BAD_FUNC_ARG --- wolfcrypt/test/test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 805798230..22290b436 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -27526,7 +27526,8 @@ static wc_test_ret_t hpke_test_single(Hpke* hpke) ret = wc_HpkeGenerateKeyPair(NULL, &receiverKey, rng); if (ret != BAD_FUNC_ARG) ret = WC_TEST_RET_ENC_EC(ret); - ret = 0; + else + ret = 0; } /* seal */