]> git.ipfire.org Git - thirdparty/openssl.git/commit
Don't forget the datatype when decoding a PEM file
authorMatt Caswell <matt@openssl.org>
Thu, 5 Nov 2020 17:28:59 +0000 (17:28 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 25 Nov 2020 10:02:49 +0000 (10:02 +0000)
commit337ade3d2c9691aeb4a6ca1720f00346db91ac60
tree6c2a86d5e5855dfe4887248542f51b261e82766e
parent403ef8cea73e9b4924dce39e3706778618507cd6
Don't forget the datatype when decoding a PEM file

The OSSL_STORE code was forgetting the datatype that we read from the
PEM header when decoding the DER.

Fixes #13046

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13329)
crypto/store/store_result.c