]> git.ipfire.org Git - thirdparty/openssl.git/commit
X509_dup: Avoid duplicating the embedded EVP_PKEY
authorTomas Mraz <tomas@openssl.org>
Thu, 21 Oct 2021 17:06:55 +0000 (19:06 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 25 Oct 2021 12:32:43 +0000 (14:32 +0200)
commite0c5184a56b6580127b39774f9e4e0f2caef696e
treeb25f7ecea834bfe33bc21789ff7e55374e596811
parentbf585c9c071ec606ebb4606e749e63354140ca30
X509_dup: Avoid duplicating the embedded EVP_PKEY

The EVP_PKEY will be recreated from scratch which is OK.

Fixes #16606

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16648)
crypto/x509/x_x509.c