Initialize next_proto in s_server - resolves incorrect attempts to free
This commit is contained in:
parent
edf92f1c41
commit
b0d27cb902
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user