forked from wolfSSL/wolfssl
no magic values
This commit is contained in:
@@ -19,8 +19,6 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -25065,9 +25063,9 @@ static int SendAlert_ex(WOLFSSL* ssl, int severity, int type)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* We check if we are trying to send a
|
* We check if we are trying to send a
|
||||||
* CLOSE_NOTIFY alert
|
* CLOSE_NOTIFY alert.
|
||||||
* */
|
* */
|
||||||
if (type == 0) {
|
if (type == close_notify) {
|
||||||
if (!ssl->options.sentNotify) {
|
if (!ssl->options.sentNotify) {
|
||||||
ssl->options.sentNotify = 1;
|
ssl->options.sentNotify = 1;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user