Initialize next_proto in s_server - resolves incorrect attempts to free
Cherry pick of b0d27cb9028cbf552612baa42255737cca0e32d2.
This commit is contained in:
parent
cb3cec4adf
commit
8ae78c6bd9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user