summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
authorScott Deboy <sdeboy@secondstryke.com>2013-09-11 17:22:00 -0700
committerAdam Langley <agl@chromium.org>2013-09-13 11:31:39 -0400
commit8ae78c6bd90d19bfcc4b5854f1b9285d6fdcfa70 (patch)
treedb389484dc2624ae1ac97d9470d81ecd358d3946 /apps/s_server.c
parentcb3cec4adfd0101a64009980735ddbedf4966df6 (diff)
Initialize next_proto in s_server - resolves incorrect attempts to free
Diffstat (limited to 'apps/s_server.c')
-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 8a5a1376c0..9a22345c21 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -1023,7 +1023,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