summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorScott Deboy <sdeboy@secondstryke.com>2013-09-11 17:22:00 -0700
committerScott Deboy <sdeboy@secondstryke.com>2013-09-11 17:22:00 -0700
commitb0d27cb9028cbf552612baa42255737cca0e32d2 (patch)
tree1088105198ae2dd36e0b01c1a980a5443c1c30b9 /apps
parentedf92f1c41d8a60ec5a3483d0df84efb5b8372d9 (diff)
Initialize next_proto in s_server - resolves incorrect attempts to free
Diffstat (limited to 'apps')
-rw-r--r--apps/s_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index 35f30e4d23..9359161758 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -1065,7 +1065,7 @@ int MAIN(int argc, char *argv[])
tlsextctx tlsextcbp = {NULL, NULL, SSL_TLSEXT_ERR_ALERT_WARNING};
# ifndef OPENSSL_NO_NEXTPROTONEG
const char *next_proto_neg_in = NULL;
- tlsextnextprotoctx next_proto;
+ tlsextnextprotoctx next_proto = { NULL, 0};
const char *alpn_in = NULL;
tlsextalpnctx alpn_ctx = { NULL, 0};
# endif