Avoid deprecated function in evp_lib.c
authorBenjamin Kaduk <bkaduk@akamai.com>
Thu, 2 Jul 2020 23:27:03 +0000 (16:27 -0700)
committerBenjamin Kaduk <bkaduk@akamai.com>
Tue, 11 Aug 2020 14:07:58 +0000 (07:07 -0700)
commitf43c947dd924cfb1f69c800648f80881bb542027
tree01da44bde22ecbb0a4b02d5ed47cd0e38a978101
parent2f5c405a1694220cca7be8cd96958c1c1245f0ed
Avoid deprecated function in evp_lib.c

Use EVP_CIPHER_CTX_get_iv() to implement EVP_CIPHER_set_asn1_iv(),
rather than the deprecated EVP_CIPHER_CTX_original_iv().

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12233)
crypto/evp/evp_lib.c