Make sure EVP_CIPHER_CTX_copy works with the dasync engine
authorMatt Caswell <matt@openssl.org>
Fri, 15 Oct 2021 15:06:28 +0000 (16:06 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 19 Oct 2021 15:19:51 +0000 (16:19 +0100)
commita0cbc2d222743fc4ffd276b97bd5f8aeacf01122
tree8bba249d53aefbfa3cc20025982966366437643a
parenta98b26588b683eb024ab81f3bb3549c43acd5188
Make sure EVP_CIPHER_CTX_copy works with the dasync engine

Ciphers in the daysnc engine were failing to copy their context properly
in the event of EVP_CIPHER_CTX_copy() because they did not define the
flag EVP_CIPH_CUSTOM_FLAG

Fixes #16844

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16846)
engines/e_dasync.c