]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add a test for a custom digest created via EVP_MD_meth_new()
authorMatt Caswell <matt@openssl.org>
Wed, 29 Dec 2021 16:39:11 +0000 (16:39 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 13 Jan 2022 11:45:45 +0000 (11:45 +0000)
commit4c5c2a5efbc315d7926cafbd5a19044ee3e087fa
tree22dcb2eb18a76881ea098c003c539e314780ac5e
parent93dd7ab35f6ccfb8bde7a7a6e38ea5817c5b54e2
Add a test for a custom digest created via EVP_MD_meth_new()

We check that the init and cleanup functions for the custom method are
called as expected.

Based on an original reproducer by Dmitry Belyavsky from issue #17149.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/17472)
test/evp_extra_test.c