diff cinst/mozilla.c @ 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 f115da3645d5
children 2303caf56dbb
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/