summaryrefslogtreecommitdiff
path: root/tests/chains
diff options
context:
space:
mode:
authorCamilo Viecco <cviecco@mozilla.com>2014-04-08 20:10:08 +0200
committerCamilo Viecco <cviecco@mozilla.com>2014-04-08 20:10:08 +0200
commit4801d8a10e64b9d34b043c2013fcdbca0924bd40 (patch)
tree5bc721e9a102965546bd5957c54e7e6e2fd71f7b /tests/chains
parent0e38fdf30d8a29c4f9cbaca0a0da2982d72a3ca2 (diff)
downloadnss-hg-4801d8a10e64b9d34b043c2013fcdbca0924bd40.tar.gz
Bug 952572, Hard code ANSSI(DCISS) to french gov dns space, r=kaieNSS_3_16_1_BETA1
Diffstat (limited to 'tests/chains')
-rw-r--r--tests/chains/scenarios/nameconstraints.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/chains/scenarios/nameconstraints.cfg b/tests/chains/scenarios/nameconstraints.cfg
index 55f9acf55..d49e20e38 100644
--- a/tests/chains/scenarios/nameconstraints.cfg
+++ b/tests/chains/scenarios/nameconstraints.cfg
@@ -9,6 +9,7 @@ db trustanchors
import NameConstraints.ca:x:CT,C,C
import NameConstraints.ncca:x:CT,C,C
# Name Constrained CA: Name constrained to permited DNSName ".example"
+import NameConstraints.dcisscopy:x:CT,C,C
# Intermediate 1: Name constrained to permited DNSName ".example"
@@ -149,5 +150,12 @@ verify NameConstraints.server17:x
cert NameConstraints.intermediate6:x
result pass
+# Subject: "C = US, ST=CA, O=Foo CN=foo.example.com"
+verify NameConstraints.dcissblocked:x
+ result fail
+
+# Subject: "C = US, ST=CA, O=Foo CN=foo.example.fr"
+verify NameConstraints.dcissallowed:x
+ result pass