Skip to content

Commit 2356bec

Browse files
committed
no magic values
1 parent db64d36 commit 2356bec

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/internal.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

22-
23-
2422
#ifdef HAVE_CONFIG_H
2523
#include <config.h>
2624
#endif
@@ -25065,9 +25063,9 @@ static int SendAlert_ex(WOLFSSL* ssl, int severity, int type)
2506525063

2506625064
/*
2506725065
* We check if we are trying to send a
25068-
* CLOSE_NOTIFY alert
25066+
* CLOSE_NOTIFY alert.
2506925067
* */
25070-
if (type == 0) {
25068+
if (type == close_notify) {
2507125069
if (!ssl->options.sentNotify) {
2507225070
ssl->options.sentNotify = 1;
2507325071
} else {

0 commit comments

Comments
 (0)