]> git.ipfire.org Git - thirdparty/openssl.git/commit
DES_set_key(): return values as DES_set_key_checked() but always set
authorTomas Mraz <tomas@openssl.org>
Mon, 1 Nov 2021 07:39:21 +0000 (08:39 +0100)
committerPauli <pauli@openssl.org>
Tue, 2 Nov 2021 23:30:22 +0000 (09:30 +1000)
commit6450ea27ffdc22194f27e90796ce5538af2d81e2
tree28bfa65c03d73b23cce17ab73678902fa2c1a49d
parentaf5e63e1e3300f784f302a5d3309bf673cc08894
DES_set_key(): return values as DES_set_key_checked() but always set

This avoids using accidentally uninitialized key schedule in
applications that use DES_set_key() not expecting it to check the key
which is the default on OpenSSL <= 1.1.1

Fixes #16859

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16944)
crypto/des/set_key.c