[rs-commit] r74 - /redwax-tool/trunk/redwax_p11kit.c

rs-commit at redwax.eu rs-commit at redwax.eu
Wed Nov 24 21:13:21 CET 2021


Author: minfrin at redwax.eu
Date: Wed Nov 24 21:13:21 2021
New Revision: 74

Log:
Untrusted self signed go into intermediates.

Modified:
    redwax-tool/trunk/redwax_p11kit.c

Modified: redwax-tool/trunk/redwax_p11kit.c
==============================================================================
--- redwax-tool/trunk/redwax_p11kit.c	(original)
+++ redwax-tool/trunk/redwax_p11kit.c	Wed Nov 24 21:13:21 2021
@@ -1366,9 +1366,7 @@
                     }
                     case REDWAX_CERTIFICATE_ROOT: {
 
-                        // fixme: root, but nowhere to put it
-
-                        redwax_certificate_t *c = apr_array_push(r->trusted_in);
+                        redwax_certificate_t *c = apr_array_push(r->intermediates_in);
                         memcpy(c, cert, sizeof(*cert));
 
                         redwax_print_error(r, "pkcs11-in: root: %s\n",



More information about the rs-commit mailing list