diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-10-11 11:30:28 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-10-11 13:59:41 +0200 |
commit | 5b31fbccffeb11a82a9294ba1616d69e6750dbbf (patch) | |
tree | 3e94771773cbd1430ff56253a59f449a714142cf | |
parent | 2b518f533126a3098a08999e8d62825787a8212c (diff) | |
download | gnutls-5b31fbccffeb11a82a9294ba1616d69e6750dbbf.tar.gz |
certtool: print the enacapsulated content OID on verification
-rw-r--r-- | src/certtool.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/certtool.c b/src/certtool.c index 8d09123cc1..fe2375a458 100644 --- a/src/certtool.c +++ b/src/certtool.c @@ -2887,8 +2887,10 @@ void verify_pkcs7(common_info_st * cinfo, const char *purpose, unsigned display_ break; if (!display_data) { - if (i==0) + if (i==0) { + fprintf(outfile, "eContent Type: %s\n", gnutls_pkcs7_get_embedded_data_oid(pkcs7)); fprintf(outfile, "Signers:\n"); + } print_pkcs7_sig_info(&info, cinfo); } else { if (!detached.data) { |