[rs-commit] r54 - /redwax-tool/trunk/redwax_openssl.c

rs-commit at redwax.eu rs-commit at redwax.eu
Mon Nov 22 13:49:22 CET 2021


Author: minfrin at redwax.eu
Date: Mon Nov 22 13:49:21 2021
New Revision: 54

Log:
Include the subject of each certificate.

Modified:
    redwax-tool/trunk/redwax_openssl.c

Modified: redwax-tool/trunk/redwax_openssl.c
==============================================================================
--- redwax-tool/trunk/redwax_openssl.c	(original)
+++ redwax-tool/trunk/redwax_openssl.c	Mon Nov 22 13:49:21 2021
@@ -2148,6 +2148,9 @@
 
             redwax_metadata_push_object(m, "Certificate", 0);
             redwax_metadata_add_string(m, "Origin", cert->origin);
+            redwax_metadata_push_object(m, "Data", 0);
+            redwax_metadata_add_string(m, "Subject", cert->common.subject);
+            redwax_metadata_pop_object(m);
             redwax_metadata_pop_object(m);
 
         }
@@ -2182,6 +2185,9 @@
 
             redwax_metadata_push_object(m, "Certificate", 0);
             redwax_metadata_add_string(m, "Origin", cert->origin);
+            redwax_metadata_push_object(m, "Data", 0);
+            redwax_metadata_add_string(m, "Subject", cert->common.subject);
+            redwax_metadata_pop_object(m);
             redwax_metadata_pop_object(m);
 
         }
@@ -2211,6 +2217,9 @@
 
             redwax_metadata_push_object(m, "Certificate", 0);
             redwax_metadata_add_string(m, "Origin", cert->origin);
+            redwax_metadata_push_object(m, "Data", 0);
+            redwax_metadata_add_string(m, "Subject", cert->common.subject);
+            redwax_metadata_pop_object(m);
             redwax_metadata_pop_object(m);
 
         }



More information about the rs-commit mailing list