~ubuntu-branches/ubuntu/quantal/nss/quantal-updates

« back to all changes in this revision

Viewing changes to nss/tests/chains/scenarios/mapping.cfg

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-11-14 14:58:07 UTC
  • mfrom: (1.1.19)
  • Revision ID: package-import@ubuntu.com-20131114145807-vj6v4erz8xj6kwz3
Tags: 3.15.3-0ubuntu0.12.10.1
* SECURITY UPDATE: New upstream release to fix multiple security issues
  and add TLSv1.2 support.
  - CVE-2013-1739
  - CVE-2013-1741
  - CVE-2013-5605
  - CVE-2013-5606
* Adjusted packaging for 3.15.3:
  - debian/patches/*: refreshed.
  - debian/patches/lower-dhe-priority.patch: removed, no longer needed,
    was a workaround for an old version of firefox.
  - debian/libnss3.symbols: added new symbols.
  - debian/rules: updated for new source layout.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This Source Code Form is subject to the terms of the Mozilla Public
 
2
# License, v. 2.0. If a copy of the MPL was not distributed with this
 
3
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
4
 
 
5
scenario Mapping
 
6
 
 
7
entity Root
 
8
  type Root
 
9
 
 
10
entity CA1
 
11
  type Intermediate
 
12
  issuer Root 
 
13
    policy OID.1.0
 
14
    mapping OID.1.0:OID.1.1
 
15
 
 
16
entity CA2
 
17
  type Intermediate
 
18
  issuer CA1
 
19
    policy OID.1.1
 
20
 
 
21
entity User
 
22
  type EE
 
23
  issuer CA2
 
24
    policy OID.1.1
 
25
 
 
26
db All
 
27
 
 
28
import Root::
 
29
import CA1:Root:
 
30
import CA2:CA1:
 
31
 
 
32
verify User:CA2
 
33
  trust Root
 
34
  policy OID.1.0
 
35
# should fail, bug 430859
 
36
  result pass
 
37
 
 
38
verify User:CA2
 
39
  trust Root
 
40
  policy OID.1.1
 
41
# should pass, bug 430859
 
42
  result fail
 
43
 
 
44
verify User:CA2
 
45
  trust CA1
 
46
  policy OID.1.0
 
47
  result fail
 
48
 
 
49
verify User:CA2
 
50
  trust CA1
 
51
  policy OID.1.1
 
52
  result pass
 
53
 
 
54
verify User:CA2
 
55
  trust CA2
 
56
  policy OID.1.0
 
57
  result fail
 
58
 
 
59
verify User:CA2
 
60
  trust CA2
 
61
  policy OID.1.1
 
62
  result pass
 
63