Skip to content

Commit 8a6d7ff

Browse files
committed
more clang-tidy edits
1 parent f4a2777 commit 8a6d7ff

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/api.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81244,7 +81244,10 @@ static int test_multiple_alerts_EAGAIN(void)
8124481244
* */
8124581245
wolfSSL_shutdown(ssl_c);
8124681246
wolfSSL_shutdown(ssl_c);
81247-
size_of_last_packet = ssl_c->buffers.outputBuffer.length;
81247+
81248+
if (ssl_c != NULL) {
81249+
size_of_last_packet = ssl_c->buffers.outputBuffer.length;
81250+
}
8124881251
wolfSSL_shutdown(ssl_c);
8124981252

8125081253
/*

0 commit comments

Comments
 (0)