apps/pkcs12: print multiple PKCS#12 safeBag attribute values if present
authorJon Spillett <jon.spillett@oracle.com>
Mon, 2 Sep 2019 00:06:29 +0000 (10:06 +1000)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Tue, 17 Sep 2019 08:57:46 +0000 (10:57 +0200)
commitdbcc7b45670483cc89428afe1d3c363ef83d76df
tree9bb4501644667adcdcf74b041a26c4555952706e
parent8c95977fbf401df72c9a236348130ba4483d7691
apps/pkcs12: print multiple PKCS#12 safeBag attribute values if present

Currently the pkcs12 app will only ever print the first value of a multi-value
attribute. This is OK for some attributes (e.g. friendlyName, localKeyId) but
may miss values for other attributes.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/9751)
CHANGES
apps/pkcs12.c