]> git.ipfire.org Git - thirdparty/openssl.git/commit
Tolerate PKCS#8 V2 with optional public keys
authorViktor Dukhovni <openssl-users@dukhovni.org>
Mon, 17 Mar 2025 04:24:33 +0000 (15:24 +1100)
committerTomas Mraz <tomas@openssl.org>
Wed, 19 Mar 2025 11:03:02 +0000 (12:03 +0100)
commitd46923327f6cf74431b601d82f04ff85a188fe56
treea465cb5aa39aaadfdbfb03d32d71fb64119e8780
parent0615d3afc1c103611062c44984757d9ee5469819
Tolerate PKCS#8 V2 with optional public keys

- Presently any included public key is unused.
- We don't check that v1 PKCS#8 structures omit the public key.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27076)

(cherry picked from commit 064bb16454ec4d55a1e40cb673232c54e9f28196)
crypto/asn1/p8_pkey.c
include/crypto/x509.h
test/evp_extra_test.c