Initialize next_proto in s_server - resolves incorrect attempts to free

This commit is contained in:
Scott Deboy 2013-09-11 17:22:00 -07:00
parent edf92f1c41
commit b0d27cb902

View File

@ -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