[PATCH 2 of 4] Set trust also for S/MIME and Codesigning

Wald Commits scm-commit at wald.intevation.org
Wed May 28 13:01:12 CEST 2014


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1401268030 0
# Node ID 2c4eb4435a40ef7acaf349968e32372349673d6f
# Parent  c944de9900de9eb71f28ad68ceece9168ed5fdf3
Set trust also for S/MIME and Codesigning

diff -r c944de9900de -r 2c4eb4435a40 cinst/mozilla.c
--- a/cinst/mozilla.c	Wed May 28 08:55:53 2014 +0000
+++ b/cinst/mozilla.c	Wed May 28 09:07:10 2014 +0000
@@ -442,7 +442,7 @@
   cert = CERT_DecodeCertFromPackage((char *)dercert->data,
                                     (int)dercert->len);
   trust = (CERTCertTrust *)xmalloc(sizeof(CERTCertTrust));
-  CERT_DecodeTrustString(trust, "C");
+  CERT_DecodeTrustString(trust, "C,C,C");
   if ((PK11_ImportCert(pk11slot, cert, CK_INVALID_HANDLE,
                        cert_name, PR_FALSE)
        == SECSuccess) &&


More information about the Trustbridge-commits mailing list