Skip to content

Commit f4c48c1

Browse files
committed
fix: abide unused arguments when WOLFSSL_CHECK_ALER_ON_ERR is disabled
1 parent 38d8eb6 commit f4c48c1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/internal.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42538,6 +42538,9 @@ void wolfSSL_MaybeCheckAlertOnErr(WOLFSSL* ssl, int err)
4253842538
}
4253942539
/* check if an alert was sent */
4254042540
ProcessReplyEx(ssl, 1);
42541+
#else
42542+
(void)ssl;
42543+
(void)err;
4254142544
#endif /* WOLFSSL_CHECK_ALERT_ON_ERR */
4254242545
}
4254342546

0 commit comments

Comments
 (0)