Fix API rename issue in shim layer that calls EVP_MAC_CTX_set_params
[openssl.git] / test / ossl_shim / ossl_shim.cc
index d4d7cf1454ef9160d1bc788e1d10caa64db0e78e..1d32073f8432d8f92ed78f260f6b5cd84287b5ef 100644 (file)
@@ -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;
   }