openssl/crypto/pem
Richard Levitte d4f094a04a i2b_PVK(): Use Encrypt, not Decrypt
We used EVP_EncryptInit_ex() to initialise, but EVP_DecryptUpdate()
and EVP_DecryptFinal_ex() to actually perform encryption.  This worked
long ago, when the Encrypt and Decrypt variants were the same, but
doesn't now (actually haven't for a very long time).

This shows how seldom PVK is actually used.

Fixes #9338

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10521)
2019-11-27 20:34:13 +01:00
..
build.info unified build scheme: add build.info files 2016-02-01 12:46:58 +01:00
pem_all.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_err.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
pem_info.c Update copyright year 2019-02-26 14:05:09 +00:00
pem_lib.c Reorganize private crypto header files 2019-09-27 23:57:58 +02:00
pem_oth.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
pem_pk8.c Update copyright year 2018-05-29 13:16:04 +01:00
pem_pkey.c Reorganize private crypto header files 2019-09-27 23:57:58 +02:00
pem_sign.c Update copyright year 2019-05-28 14:49:38 +02:00
pem_x509.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_xaux.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pvkfmt.c i2b_PVK(): Use Encrypt, not Decrypt 2019-11-27 20:34:13 +01:00