]> git.ipfire.org Git - thirdparty/openssl.git/commit
DECODER: Handle abstract object data type
authorRichard Levitte <levitte@openssl.org>
Fri, 2 Oct 2020 11:56:54 +0000 (13:56 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 4 Oct 2020 10:58:41 +0000 (12:58 +0200)
commitecadfdadde491572b0bdf3c5a95e7a6a004585c6
tree5598e1c5a8297d2499517b7ae84f1ebed3a40d75
parent4232a9e57f48276974a8891e58db9b06b5db696f
DECODER: Handle abstract object data type

The PEM->DER decoder passes the data type of its contents, something
that decoder_process() ignored.

On the other hand, the PEM->DER decoder passed nonsense.

Both issues are fixed here.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13060)
crypto/encode_decode/decoder_lib.c
providers/implementations/encode_decode/decode_pem2der.c