changeset 595:2c4eb4435a40

Set trust also for S/MIME and Codesigning
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 28 May 2014 09:07:10 +0000
parents c944de9900de
children 10f0b9ceb29d
files cinst/mozilla.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) &&

http://wald.intevation.org/projects/trustbridge/