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

rs-commit at redwax.eu rs-commit at redwax.eu
Thu Nov 18 14:13:06 CET 2021


Author: minfrin at redwax.eu
Date: Thu Nov 18 14:13:05 2021
New Revision: 38

Log:
Root certs are promoted to trusted.

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	Thu Nov 18 14:13:05 2021
@@ -1197,7 +1197,7 @@
 
                     rt_run_normalise_certificate(r, cert, 1);
 
-                    if (REDWAX_CERTIFICATE_INTERMEDIATE
+                    if (REDWAX_CERTIFICATE_ROOT
                             == cert->common.category && trusted) {
                         cert->common.category = REDWAX_CERTIFICATE_TRUSTED;
                     }



More information about the rs-commit mailing list