From: Shane Lontis Date: Mon, 20 Jul 2020 01:18:24 +0000 (+1000) Subject: Fix API rename issue in shim layer that calls EVP_MAC_CTX_set_params X-Git-Tag: openssl-3.0.0-alpha6~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=823a113574451ea2e050bee7ce35861948ad55ca;p=thirdparty%2Fopenssl.git Fix API rename issue in shim layer that calls EVP_MAC_CTX_set_params Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/12483) --- diff --git a/test/ossl_shim/ossl_shim.cc b/test/ossl_shim/ossl_shim.cc index d4d7cf1454e..1d32073f843 100644 --- a/test/ossl_shim/ossl_shim.cc +++ b/test/ossl_shim/ossl_shim.cc @@ -403,7 +403,7 @@ static int TicketKeyCallback(SSL *ssl, uint8_t *key_name, uint8_t *iv, if (!EVP_CipherInit_ex(ctx, EVP_aes_128_cbc(), NULL, kZeros, iv, encrypt) || !EVP_MAC_init(hmac_ctx) - || !EVP_MAC_set_ctx_params(hmac_ctx, params)) { + || !EVP_MAC_CTX_set_params(hmac_ctx, params)) { return -1; }