Skip to content

Commit 4ed197d

Browse files
authored
Merge pull request #7205 from julek-wolfssl/fix-test_wolfSSL_OPENSSL_hexstr2buf
test_wolfSSL_OPENSSL_hexstr2buf: test was always skipped
2 parents 8669921 + 188a69e commit 4ed197d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47391,7 +47391,7 @@ static int test_wolfSSL_OPENSSL_hexstr2buf(void)
4739147391
long len = 0;
4739247392
unsigned char* returnedBuf = NULL;
4739347393

47394-
for (i = 0; i < NUM_CASES && EXPECT_SUCCESS(); ++i) {
47394+
for (i = 0; i < NUM_CASES && !EXPECT_FAIL(); ++i) {
4739547395
returnedBuf = wolfSSL_OPENSSL_hexstr2buf(inputs[i], &len);
4739647396
if (returnedBuf == NULL) {
4739747397
ExpectIntEQ(expectedOutputs[i].ret, 0);

0 commit comments

Comments
 (0)