mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 20:24:39 +02:00
include negative test comment and BAD_FUNC_ARG
This commit is contained in:
@@ -27526,7 +27526,8 @@ static wc_test_ret_t hpke_test_single(Hpke* hpke)
|
|||||||
ret = wc_HpkeGenerateKeyPair(NULL, &receiverKey, rng);
|
ret = wc_HpkeGenerateKeyPair(NULL, &receiverKey, rng);
|
||||||
if (ret != BAD_FUNC_ARG)
|
if (ret != BAD_FUNC_ARG)
|
||||||
ret = WC_TEST_RET_ENC_EC(ret);
|
ret = WC_TEST_RET_ENC_EC(ret);
|
||||||
ret = 0;
|
else
|
||||||
|
ret = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* seal */
|
/* seal */
|
||||||
|
Reference in New Issue
Block a user