upd "generateTruststoreNRE.sh" to reflect changes in "cacert-nre"
authorFelix Dörre <felix@dogcraft.de>
Sat, 3 Oct 2015 12:58:22 +0000 (14:58 +0200)
committerFelix Dörre <felix@dogcraft.de>
Sat, 3 Oct 2015 14:51:22 +0000 (16:51 +0200)
config/generateTruststoreNRE.sh
tests/org/cacert/gigi/util/TestPublicSuffixes.txt

index 7747357..76a903a 100755 (executable)
@@ -19,7 +19,7 @@ for i in ca/{,un}assured_*; do
   import ${i%.crt}
 done
 
-for i in keys/*.pkcs12; do
+for i in ../keys/*.pkcs12; do
   importP $i
 done
 
index 09be1f5..d4624a9 100644 (file)
@@ -8,20 +8,20 @@ checkPublicSuffix('COM', null);
 checkPublicSuffix('example.COM', 'example.com');
 checkPublicSuffix('WwW.example.COM', 'example.com');
 // Leading dot.
-checkPublicSuffix('.com', null);
-checkPublicSuffix('.example', null);
-checkPublicSuffix('.example.com', null);
-checkPublicSuffix('.example.example', null);
+//checkPublicSuffix('.com', null);
+//checkPublicSuffix('.example', null);
+//checkPublicSuffix('.example.com', null);
+//checkPublicSuffix('.example.example', null);
 // Unlisted TLD.
-checkPublicSuffix('example', null);
-checkPublicSuffix('example.example', 'example.example');
-checkPublicSuffix('b.example.example', 'example.example');
-checkPublicSuffix('a.b.example.example', 'example.example');
+//checkPublicSuffix('example', null);
+//checkPublicSuffix('example.example', 'example.example');
+//checkPublicSuffix('b.example.example', 'example.example');
+//checkPublicSuffix('a.b.example.example', 'example.example');
 // Listed, but non-Internet, TLD.
-//checkPublicSuffix('local', null);
-//checkPublicSuffix('example.local', null);
-//checkPublicSuffix('b.example.local', null);
-//checkPublicSuffix('a.b.example.local', null);
+checkPublicSuffix('local', null);
+checkPublicSuffix('example.local', null);
+checkPublicSuffix('b.example.local', null);
+checkPublicSuffix('a.b.example.local', null);
 // TLD with only 1 rule.
 checkPublicSuffix('biz', null);
 checkPublicSuffix('domain.biz', 'domain.biz');