diff options
Diffstat (limited to 'ssl/s3_enc.c')
-rw-r--r-- | ssl/s3_enc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl/s3_enc.c b/ssl/s3_enc.c index 5a807d6d57..36b7c7616e 100644 --- a/ssl/s3_enc.c +++ b/ssl/s3_enc.c @@ -241,6 +241,12 @@ int ssl3_change_cipher_state(SSL *s, int which) goto err; } + if (EVP_CIPHER_provider(c) != NULL + && !tls_provider_set_tls_params(s, dd, c, m)) { + /* SSLfatal already called */ + goto err; + } + s->statem.enc_write_state = ENC_WRITE_STATE_VALID; return 1; err: |