~ubuntu-branches/ubuntu/trusty/xulrunner/trusty

« back to all changes in this revision

Viewing changes to security/nss/cmd/addbuiltin/addbuiltin.c

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2008-08-25 13:04:18 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20080825130418-ck1i2ms384tzb9m0
Tags: 1.8.1.16+nobinonly-0ubuntu1
* New upstream release (taken from upstream CVS), LP: #254618.
* Fix MFSA 2008-35, MFSA 2008-34, MFSA 2008-33, MFSA 2008-32, MFSA 2008-31,
  MFSA 2008-30, MFSA 2008-29, MFSA 2008-28, MFSA 2008-27, MFSA 2008-25,
  MFSA 2008-24, MFSA 2008-23, MFSA 2008-22, MFSA 2008-21, MFSA 2008-26 also
  known as CVE-2008-2933, CVE-2008-2785, CVE-2008-2811, CVE-2008-2810,
  CVE-2008-2809, CVE-2008-2808, CVE-2008-2807, CVE-2008-2806, CVE-2008-2805,
  CVE-2008-2803, CVE-2008-2802, CVE-2008-2801, CVE-2008-2800, CVE-2008-2798.
* Drop 89_bz419350_attachment_306066 patch, merged upstream.
* Bump Standards-Version to 3.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
/*
38
38
 * Tool for converting builtin CA certs.
39
39
 *
40
 
 * $Id: addbuiltin.c,v 1.13 2005/04/13 23:03:15 wtchang%redhat.com Exp $
 
40
 * $Id: addbuiltin.c,v 1.13.24.1 2007/02/14 00:01:24 alexei.volkov.bugs%sun.com Exp $
41
41
 */
42
42
 
43
43
#include "nssrenam.h"
75
75
    } else {
76
76
        if (trust & CERTDB_TRUSTED_CA) {
77
77
                return "CKT_NETSCAPE_TRUSTED_DELEGATOR";
 
78
        } else if (trust & CERTDB_VALID_CA) {
 
79
                return "CKT_NETSCAPE_VALID_DELEGATOR";
78
80
        } else {
79
 
                return "CKT_NETSCAPE_VALID";
 
81
                return "CKT_NETSCAPE_TRUST_UNKNOWN";
80
82
        }
81
83
    }
82
 
    return "CKT_NETSCAPE_VALID"; /* not reached */
 
84
    return "CKT_NETSCAPE_TRUST_UNKNOWN"; /* not reached */
83
85
}
84
86
 
85
87
static const SEC_ASN1Template serialTemplate[] = {
211
213
"#\n"
212
214
"# ***** END LICENSE BLOCK *****\n"
213
215
     "#\n"
214
 
     "CVS_ID \"@(#) $RCSfile: addbuiltin.c,v $ $Revision: 1.13 $ $Date: 2005/04/13 23:03:15 $\"\n"
 
216
     "CVS_ID \"@(#) $RCSfile: addbuiltin.c,v $ $Revision: 1.13.24.1 $ $Date: 2007/02/14 00:01:24 $\"\n"
215
217
     "\n"
216
218
     "#\n"
217
219
     "# certdata.txt\n"