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>
Tue, 12 Sep 2023 14:00:55 +0000 (16:00 +0200)
commitd739b3e05e749d4310b7310c007a4f3b8d5f8556
tree64477908423aefc746efc23ebce65b92538c65da
parent838173b614938dac84cb5273dc4e6e5acd92649e
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>
(Merged from https://github.com/openssl/openssl/pull/21933)

(cherry picked from commit 39d857bb610d25b3de4e414264246ec41753c446)
test/evp_test.c