diff options
author | Pauli <paul.dale@oracle.com> | 2020-06-12 07:49:18 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-06-13 09:18:17 +1000 |
commit | 5ea8afd368498101531c7e628507a17d1e0e122c (patch) | |
tree | 5fb9b160f657b0feec8f0fecd0f289f6bff2672c | |
parent | 7f81aed4bccbeb0ad491b68dd601d576c4956c78 (diff) |
Fix two additional instances of the old EVP_MAC_CTX_ functions being used.
[extended tests]
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12121)
-rw-r--r-- | crypto/evp/pkey_mac.c | 2 | ||||
-rw-r--r-- | test/ossl_shim/ossl_shim.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/pkey_mac.c b/crypto/evp/pkey_mac.c index 1901c452e7..55badea7e9 100644 --- a/crypto/evp/pkey_mac.c +++ b/crypto/evp/pkey_mac.c @@ -400,7 +400,7 @@ static int pkey_mac_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) return 0; /* - * Since EVP_MAC_CTX_{get,set}_params() returned successfully, + * Since EVP_MAC_{get,set}_ctx_params() returned successfully, * we can only assume that the size was ignored, i.e. this * control is unsupported. */ diff --git a/test/ossl_shim/ossl_shim.cc b/test/ossl_shim/ossl_shim.cc index 720a92d9d6..0184778d4f 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_CTX_set_params(hmac_ctx, params)) { + || !EVP_MAC_set_ctx_params(hmac_ctx, params)) { return -1; } |