Make PKCS8_PRIV_KEY_INFO opaque.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 4 Mar 2016 03:48:39 +0000 (03:48 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 7 Mar 2016 17:11:21 +0000 (17:11 +0000)
commit54dbf42398e23349b59f258a3dd60387bbc5ba13
tree4de8d56f6662ebb120d4bf15df140be8460d69b4
parent1e61392296d15b1edb89e346e1f75d0235aba2e7
Make PKCS8_PRIV_KEY_INFO opaque.

Make PKCS8_PRIV_KEY_INFO opaque. Several accessor functions already exist
for this structure. Two new ones were added to handle attributes.

The old handling of broken formats has been removed and the corresponding
structures simplified.

Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/pkcs12.c
apps/pkcs8.c
crypto/asn1/p8_pkey.c
crypto/evp/evp_err.c
crypto/evp/evp_pkey.c
crypto/include/internal/x509_int.h
crypto/pkcs12/p12_attr.c
crypto/pkcs12/p12_sbag.c
include/openssl/evp.h
include/openssl/x509.h