Add Next Protocol Negotiation.
This commit is contained in:
@@ -3062,6 +3062,15 @@ void ssl3_clear(SSL *s)
|
||||
s->s3->num_renegotiations=0;
|
||||
s->s3->in_read_app_data=0;
|
||||
s->version=SSL3_VERSION;
|
||||
|
||||
#if !defined(OPENSSL_NO_TLSEXT) && !defined(OPENSSL_NO_NEXTPROTONEG)
|
||||
if (s->next_proto_negotiated)
|
||||
{
|
||||
OPENSSL_free(s->next_proto_negotiated);
|
||||
s->next_proto_negotiated = NULL;
|
||||
s->next_proto_negotiated_len = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifndef OPENSSL_NO_SRP
|
||||
|
Reference in New Issue
Block a user