Merge pull request #7205 from julek-wolfssl/fix-test_wolfSSL_OPENSSL_hexstr2buf

test_wolfSSL_OPENSSL_hexstr2buf: test was always skipped
This commit is contained in:
Daniel Pouzzner
2024-02-02 18:45:31 -05:00
committed by GitHub

View File

@ -47391,7 +47391,7 @@ static int test_wolfSSL_OPENSSL_hexstr2buf(void)
long len = 0;
unsigned char* returnedBuf = NULL;
for (i = 0; i < NUM_CASES && EXPECT_SUCCESS(); ++i) {
for (i = 0; i < NUM_CASES && !EXPECT_FAIL(); ++i) {
returnedBuf = wolfSSL_OPENSSL_hexstr2buf(inputs[i], &len);
if (returnedBuf == NULL) {
ExpectIntEQ(expectedOutputs[i].ret, 0);