Skip to content

Commit

Permalink
more clang-tidy edits
Browse files Browse the repository at this point in the history
  • Loading branch information
gasbytes committed Aug 23, 2024
1 parent f4a2777 commit 8a6d7ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -81244,7 +81244,10 @@ static int test_multiple_alerts_EAGAIN(void)
* */
wolfSSL_shutdown(ssl_c);
wolfSSL_shutdown(ssl_c);
size_of_last_packet = ssl_c->buffers.outputBuffer.length;

if (ssl_c != NULL) {
size_of_last_packet = ssl_c->buffers.outputBuffer.length;
}
wolfSSL_shutdown(ssl_c);

/*
Expand Down

0 comments on commit 8a6d7ff

Please sign in to comment.