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

rs-commit at redwax.eu rs-commit at redwax.eu
Wed Nov 24 23:05:12 CET 2021


Author: minfrin at redwax.eu
Date: Wed Nov 24 23:05:11 2021
New Revision: 77

Log:
Remote --root-out for pkcs12 and pkcs11 cases, it makes no sense.

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	Wed Nov 24 23:05:11 2021
@@ -1948,7 +1948,7 @@
         }
     }
 
-    if (r->root_out || r->trust_out) {
+    if (r->trust_out) {
         for (i = 0; i < r->trusted_out->nelts; i++)
         {
             const redwax_certificate_t *cert = &APR_ARRAY_IDX(r->trusted_out, i, const redwax_certificate_t);
@@ -2219,7 +2219,7 @@
         redwax_metadata_pop_array(m);
     }
 
-    if (r->root_out || r->trust_out) {
+    if (r->trust_out) {
         for (i = 0; i < r->trusted_out->nelts; i++)
         {
             const redwax_certificate_t *cert = &APR_ARRAY_IDX(r->trusted_out, i, const redwax_certificate_t);



More information about the rs-commit mailing list