From 5b31fbccffeb11a82a9294ba1616d69e6750dbbf Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 11 Oct 2016 11:30:28 +0200 Subject: certtool: print the enacapsulated content OID on verification --- src/certtool.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.1