]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
certtool: print the enacapsulated content OID on verification
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 11 Oct 2016 09:30:28 +0000 (11:30 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 11 Oct 2016 11:59:41 +0000 (13:59 +0200)
src/certtool.c

index 8d09123cc1ae44f7c87ec91a0df391fa33f885d4..fe2375a45877ccd12575482d84608022b8ef9ea4 100644 (file)
@@ -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) {