mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Accept CCS after sending finished.
Allow CCS after finished has been sent by client: at this point keys have been correctly set up so it is OK to accept CCS from server. Without this renegotiation can sometimes fail. PR#3400
This commit is contained in:
parent
ce00c64df9
commit
3b77f01702
@ -550,6 +550,7 @@ int ssl3_connect(SSL *s)
|
||||
s->method->ssl3_enc->client_finished_label,
|
||||
s->method->ssl3_enc->client_finished_label_len);
|
||||
if (ret <= 0) goto end;
|
||||
s->s3->flags |= SSL3_FLAGS_CCS_OK;
|
||||
s->state=SSL3_ST_CW_FLUSH;
|
||||
|
||||
/* clear flags */
|
||||
|
Loading…
Reference in New Issue
Block a user