make inability to dup/clone ciphers an error
authorNeil Horman <nhorman@openssl.org>
Tue, 29 Aug 2023 19:42:48 +0000 (15:42 -0400)
committerTomas Mraz <tomas@openssl.org>
Fri, 5 Jan 2024 16:15:38 +0000 (17:15 +0100)
commitedb18a74047a068c3c92a1a1c43ee3c22b1f4efd
treeb5a6d963ce8aa35d1f3f1327f8e8314a04cf59e1
parent63256ca9edfc94d06de0a68097950039515fe852
make inability to dup/clone ciphers an error

There should be no reason that a cipher can't be duplicated

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 58a6aa0c9fe6abad996f45c6b452983035db7105)
test/evp_test.c