]> git.ipfire.org Git - thirdparty/openssl.git/commit
update/final: Return error if key is not set
authorTomas Mraz <tomas@openssl.org>
Wed, 1 Nov 2023 15:54:58 +0000 (16:54 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 3 Nov 2023 12:36:13 +0000 (13:36 +0100)
commit3a95d1e41abf2e8eb0f6f07003bac844950bfaae
tree77cfe130dbbdbf718bc652dc77207c52496daf9d
parenteddbb78f4e5196eee33b2fd3d6adeabb69d52eb7
update/final: Return error if key is not set

Also make sure the key is not set if the key
length is changed on the context after the key was
set previously.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22590)
providers/implementations/ciphers/cipher_des.c
providers/implementations/ciphers/cipher_tdes_common.c
providers/implementations/ciphers/ciphercommon.c
providers/implementations/include/prov/ciphercommon.h