]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix aes_gcm_siv dupctx function
authorNeil Horman <nhorman@openssl.org>
Fri, 1 Sep 2023 16:13:19 +0000 (12:13 -0400)
committerTomas Mraz <tomas@openssl.org>
Tue, 12 Sep 2023 13:59:11 +0000 (15:59 +0200)
commitc32c3f2653e6c6ac42e09a83a2f51f8667827a04
treed07b67add2292945b88b13c0029470499f9905a0
parent2c021e7d11f03ede2330398c4fd8e8c7bd8768ee
Fix aes_gcm_siv dupctx function

This cipher family has a dupctx function, but was failing because it was
attempting to memdup a field only if it was null

Fix the conditional check to get it working again

Fixes #21887

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21933)
providers/implementations/ciphers/cipher_aes_gcm_siv.c