summaryrefslogtreecommitdiffstats
path: root/ssl/t1_enc.c
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-03-02 22:41:10 +1000
committerPauli <ppzgs1@gmail.com>2021-03-12 08:27:11 +1000
commitd38b6ae96fa810891e38d2f952ff7fe857be80c9 (patch)
tree5b7a396f16ea8c47fca83665254c3267cd968557 /ssl/t1_enc.c
parentebbf3563bdc41595eb0dacc932b7e8d440b6d267 (diff)
ssl: support params arguments to init functions
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14383)
Diffstat (limited to 'ssl/t1_enc.c')
-rw-r--r--ssl/t1_enc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c
index bb0ee0c5d4..e45fdea0cb 100644
--- a/ssl/t1_enc.c
+++ b/ssl/t1_enc.c
@@ -378,7 +378,8 @@ int tls1_change_cipher_state(SSL *s, int which)
}
if (mac_key == NULL
|| EVP_DigestSignInit_ex(mac_ctx, NULL, EVP_MD_name(m),
- s->ctx->libctx, s->ctx->propq, mac_key) <= 0) {
+ s->ctx->libctx, s->ctx->propq, mac_key,
+ NULL) <= 0) {
EVP_PKEY_free(mac_key);
SSLfatal(s, SSL_AD_INTERNAL_ERROR, ERR_R_INTERNAL_ERROR);
goto err;