]> git.ipfire.org Git - thirdparty/openssl.git/commit
Reject inappropriate private key encryption ciphers.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 23 Apr 2016 12:33:05 +0000 (13:33 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 27 Apr 2016 23:07:20 +0000 (00:07 +0100)
commit6dfa55ab2fbd9a0f45c3ce088b1dd61800fb03d3
treec88093280a01f1c0291d72b1aa0942ed4caa2b5e
parenta04d08fc18e3dba21dfce71e55f0decb971f9b91
Reject inappropriate private key encryption ciphers.

The traditional private key encryption algorithm doesn't function
properly if the IV length of the cipher is zero. These ciphers
(e.g. ECB mode) are not suitable for private key encryption
anyway.

Reviewed-by: Emilia Käsper <emilia@openssl.org>
(cherry picked from commit d78df5dfd650e6de159a19a033513481064644f5)
crypto/pem/pem_lib.c