Add a test case for EVP_MD_meth_dup() and EVP_CIPHER_meth_dup()
authorMatt Caswell <matt@openssl.org>
Tue, 27 Jul 2021 09:32:49 +0000 (10:32 +0100)
committerPauli <pauli@openssl.org>
Tue, 27 Jul 2021 23:37:09 +0000 (09:37 +1000)
commit03c2f21b980524dc05a0426146f845ec1e969c2e
tree8fd967a77c7f2affd3ea09cc544ac1baa8168156
parentbb98a1123b3d7a8464f2c1f61ffd41f826c7c423
Add a test case for EVP_MD_meth_dup() and EVP_CIPHER_meth_dup()

Check that EVP_MD_meth_free() and EVP_CIPHER_meth_free() does actually
free the data.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16159)
test/evp_extra_test.c