~ubuntu-branches/ubuntu/raring/nss/raring-security

« back to all changes in this revision

Viewing changes to mozilla/security/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-03-25 13:46:06 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100325134606-bl6liuok2w9l7snv
Tags: 3.12.6-0ubuntu1
* New upstream release 3.12.6 RTM (NSS_3_12_6_RTM)
  - fixes CVE-2009-3555 aka US-CERT VU#120541
* Adjust patches to changed upstream code base
  - update debian/patches/38_kbsd.patch
  - update debian/patches/38_mips64_build.patch
  - update debian/patches/85_security_load.patch
* Remove patches that are merged upstream
  - delete debian/patches/91_nonexec_stack.patch
  - update debian/patches/series
* Bump nspr dependency to 4.8
  - update debian/control
* Add new symbols for 3.12.6
  - update debian/libnss3-1d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
#include "pkix_ekuchecker.h"
45
45
 
46
 
char *ekuOidStrings[] = {
47
 
        "1.3.6.1.5.5.7.3.1",    /* id-kp-serverAuth */
48
 
        "1.3.6.1.5.5.7.3.2",    /* id-kp-clientAuth */
49
 
        "1.3.6.1.5.5.7.3.3",    /* id-kp-codeSigning */
50
 
        "1.3.6.1.5.5.7.3.4",    /* id-kp-emailProtection */
51
 
        "1.3.6.1.5.5.7.3.8",    /* id-kp-timeStamping */
52
 
        "1.3.6.1.5.5.7.3.9",    /* id-kp-OCSPSigning */
53
 
        NULL
 
46
SECOidTag ekuOidStrings[] = {
 
47
    PKIX_KEY_USAGE_SERVER_AUTH_OID,
 
48
    PKIX_KEY_USAGE_CLIENT_AUTH_OID,
 
49
    PKIX_KEY_USAGE_CODE_SIGN_OID,
 
50
    PKIX_KEY_USAGE_EMAIL_PROTECT_OID,
 
51
    PKIX_KEY_USAGE_TIME_STAMP_OID,
 
52
    PKIX_KEY_USAGE_OCSP_RESPONDER_OID,
 
53
    PKIX_UNKNOWN_OID
54
54
};
55
55
 
56
56
typedef struct pkix_EkuCheckerStruct {