Skip to content

Commit

Permalink
fixup! Further extend the SSL_free_buffers testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcaswell committed May 14, 2024
1 parent 1153eda commit 8e40d82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sslbuffertest.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ static int test_free_buffers(int test)
const char testdata[] = "Test data";
char buf[120];
size_t written, readbytes;
int pipeline = test > 3;
int i, pipeline = test > 3;
ENGINE *e = NULL;

if (pipeline) {
Expand Down Expand Up @@ -200,7 +200,7 @@ static int test_free_buffers(int test)
* For the non-pipeline case we write one record. For pipelining we write
* two records.
*/
for (int i = 0; i <= pipeline; i++) {
for (i = 0; i <= pipeline; i++) {
if (!TEST_true(SSL_write_ex(clientssl, testdata, strlen(testdata),
&written)))
goto end;
Expand Down

0 comments on commit 8e40d82

Please sign in to comment.