mirror of
https://github.com/openssl/openssl.git
synced 2025-04-12 20:30:52 +08:00
Make tls_session_secret_cb work with CVE-2014-0224 fix.
If application uses tls_session_secret_cb for session resumption set the CCS_OK flag.
This commit is contained in:
parent
c43a55407d
commit
fb8d9ddb9d
@ -1037,6 +1037,7 @@ int ssl3_get_server_hello(SSL *s)
|
||||
{
|
||||
s->session->cipher = pref_cipher ?
|
||||
pref_cipher : ssl_get_cipher_by_char(s, p+j);
|
||||
s->s3->flags |= SSL3_FLAGS_CCS_OK;
|
||||
}
|
||||
}
|
||||
#endif /* OPENSSL_NO_TLSEXT */
|
||||
|
Loading…
x
Reference in New Issue
Block a user