Skip to content

Commit

Permalink
WIP: Jenkins failure test
Browse files Browse the repository at this point in the history
  • Loading branch information
gojimmypi committed Nov 14, 2024
1 parent 5626715 commit b4dd2e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1377,12 +1377,12 @@ long wolfSSL_BIO_get_mem_ptr(WOLFSSL_BIO *bio, WOLFSSL_BUF_MEM **ptr)
if (bio->mem_buf)
if (closeFlag == BIO_CLOSE)
wolfSSL_BUF_MEM_free(bio->mem_buf);

/* TODO Jenkins fail test
if ((closeFlag != WOLFSSL_BIO_NOCLOSE ) && \
(closeFlag != WOLFSSL_BIO_CLOSE)) {
return BAD_FUNC_ARG;
}

*/
bio->mem_buf = bufMem;
bio->shutdown = (byte)closeFlag;

Expand Down

0 comments on commit b4dd2e1

Please sign in to comment.