Skip to content

Commit f2492da

Browse files
committed
include negative test comment and BAD_FUNC_ARG
1 parent 159981f commit f2492da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

wolfcrypt/test/test.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27526,7 +27526,8 @@ static wc_test_ret_t hpke_test_single(Hpke* hpke)
2752627526
ret = wc_HpkeGenerateKeyPair(NULL, &receiverKey, rng);
2752727527
if (ret != BAD_FUNC_ARG)
2752827528
ret = WC_TEST_RET_ENC_EC(ret);
27529-
ret = 0;
27529+
else
27530+
ret = 0;
2753027531
}
2753127532

2753227533
/* seal */

0 commit comments

Comments
 (0)