diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-03-10 15:04:46 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-03-11 17:40:47 +0000 |
commit | a6eb1ce6a989d01bb00e9749789b690744be506c (patch) | |
tree | c4071e00c47ba6c7fc91a50d26d36052edf134d8 /apps/pkcs12.c | |
parent | bb26842d1c8f99c1267b45361a2fc76822c0f913 (diff) |
Make X509_SIG opaque.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/pkcs12.c')
-rw-r--r-- | apps/pkcs12.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c index 5ed2122da6..1fd1fad001 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -668,10 +668,12 @@ int dump_certs_pkeys_bag(BIO *out, PKCS12_SAFEBAG *bag, char *pass, case NID_pkcs8ShroudedKeyBag: if (options & INFO) { X509_SIG *tp8; + X509_ALGOR *tp8alg; BIO_printf(bio_err, "Shrouded Keybag: "); tp8 = PKCS12_SAFEBAG_get0_pkcs8(bag); - alg_print(tp8->algor); + X509_SIG_get0(&tp8alg, NULL, tp8); + alg_print(tp8alg); } if (options & NOKEYS) return 1; |