Fix API rename issue in shim layer that calls EVP_MAC_CTX_set_params
authorShane Lontis <shane.lontis@oracle.com>
Mon, 20 Jul 2020 01:18:24 +0000 (11:18 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Mon, 20 Jul 2020 22:51:18 +0000 (08:51 +1000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12483)

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;
   }