PR: 2144
Submitted by: steve@openssl.org Fix DTLS connection so new_session is reset if we read second client hello: new_session is used to detect renegotiation.
This commit is contained in:
parent
598b562a7f
commit
8d39d2800a
1 changed files with 1 additions and 0 deletions
|
@ -292,6 +292,7 @@ int dtls1_accept(SSL *s)
|
|||
ret = dtls1_send_hello_verify_request(s);
|
||||
if ( ret <= 0) goto end;
|
||||
s->state=SSL3_ST_SW_FLUSH;
|
||||
s->new_session = 0;
|
||||
s->s3->tmp.next_state=SSL3_ST_SR_CLNT_HELLO_A;
|
||||
|
||||
/* HelloVerifyRequest resets Finished MAC */
|
||||
|
|
Loading…
Reference in a new issue