Add dupctx support to rc4_hmac_md5 algo
authorNeil Horman <nhorman@openssl.org>
Fri, 1 Sep 2023 17:47:15 +0000 (13:47 -0400)
committerTomas Mraz <tomas@openssl.org>
Fri, 5 Jan 2024 16:15:44 +0000 (17:15 +0100)
commit291796b3d0c2f215f9aa5ce3ad5d611068638cfb
treee0a21ff440c2b18e69f8cbb3c7d0ad21e3e55ae7
parent1aa0746d71468aaa0b999b3501bb0280a2f5d4f4
Add dupctx support to rc4_hmac_md5 algo

Pretty straightforward, just clone the requested context, no pointers to
fixup

Fixes #21887

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23102)

(cherry picked from commit f9163efe96e218adeae2a0dc6a4cbef568f395ee)
providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c
providers/implementations/ciphers/cipher_rc4_hmac_md5.c