Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1033)

Unified Diff: net/data/name_constraints_unittest/dnsname-permitted_two_dot.pem

Issue 2521813002: PKI library: dNSName constraints starting with dot should match subdomains. (Closed)
Patch Set: add test of ".." constraint Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/data/name_constraints_unittest/dnsname-permitted_two_dot.pem
diff --git a/net/data/name_constraints_unittest/dnsname-permitted_two_dot.pem b/net/data/name_constraints_unittest/dnsname-permitted_two_dot.pem
new file mode 100644
index 0000000000000000000000000000000000000000..fba4b2b4cd5bf61dfa6e81296ad003d527028071
--- /dev/null
+++ b/net/data/name_constraints_unittest/dnsname-permitted_two_dot.pem
@@ -0,0 +1,7 @@
+ 0:d=0 hl=2 l= 8 cons: SEQUENCE
+ 2:d=1 hl=2 l= 6 cons: cont [ 0 ]
+ 4:d=2 hl=2 l= 4 cons: SEQUENCE
+ 6:d=3 hl=2 l= 2 prim: cont [ 2 ]
+-----BEGIN NAME CONSTRAINTS-----
+MAigBjAEggIuLg==
+-----END NAME CONSTRAINTS-----

Powered by Google App Engine
This is Rietveld 408576698