Fixes from review

This commit is contained in:
Carie Pointer
2020-01-08 12:48:01 -07:00
parent f13cee2689
commit b9c99709f7
7 changed files with 150 additions and 140 deletions

View File

@@ -21769,7 +21769,9 @@ static void test_wolfSSL_BIO(void)
/* try read using ctrl function */
AssertIntEQ((int)BIO_ctrl(bio1, BIO_CTRL_WPENDING, 0, NULL), 8);
AssertIntEQ((int)BIO_ctrl(bio1, BIO_CTRL_PENDING, 0, NULL), 8);
AssertIntEQ((int)BIO_ctrl(bio2, BIO_CTRL_WPENDING, 0, NULL), 20);
AssertIntEQ((int)BIO_ctrl(bio2, BIO_CTRL_PENDING, 0, NULL), 20);
AssertIntEQ(BIO_nread(bio2, &bufPt, (int)BIO_ctrl_pending(bio2)), 20);
for (i = 0; i < 20; i++) {