diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2014-05-05 16:53:48 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2014-05-05 18:03:12 +0100 |
commit | 9e4dddbde4228e83fc7c882a4ef410ddbe0a6e79 (patch) | |
tree | 18671feab79ef894a2a905bbe808b153d706a711 /test | |
parent | 51424d0857ca09e1082aeacf177e2df6fea37eda (diff) |
Extractors for subject-alternate-name, ocsp-uri, crl-uri return list. Bug 1358
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/2002 | 4 | ||||
-rw-r--r-- | test/confs/2102 | 4 | ||||
-rw-r--r-- | test/confs/5750 | 4 | ||||
-rw-r--r-- | test/confs/5760 | 4 | ||||
-rw-r--r-- | test/log/2002 | 2 | ||||
-rw-r--r-- | test/log/2102 | 2 | ||||
-rw-r--r-- | test/log/5750 | 4 | ||||
-rw-r--r-- | test/log/5760 | 2 |
8 files changed, 13 insertions, 13 deletions
diff --git a/test/confs/2002 b/test/confs/2002 index b4d0348ca..9d7deb731 100644 --- a/test/confs/2002 +++ b/test/confs/2002 @@ -53,9 +53,9 @@ check_recipient: logwrite = IN <${certextract {issuer} {$tls_in_peercert}}> logwrite = NB <${certextract {notbefore} {$tls_in_peercert}}> logwrite = NA <${certextract {notafter} {$tls_in_peercert}}> - logwrite = SA <${certextract {signature_algorithm}{$tls_in_peercert}}> + logwrite = SA <${certextract {sig_algorithm}{$tls_in_peercert}}> logwrite = SG <${certextract {signature} {$tls_in_peercert}}> - logwrite = ${certextract {subject_altname}{$tls_in_peercert} {SAN <$value>}{(no SAN)}} + logwrite = ${certextract {subj_altname} {$tls_in_peercert} {SAN <$value>}{(no SAN)}} # logwrite = ${certextract {ocsp_uri} {$tls_in_peercert} {OCU <$value>}{(no OCU)}} logwrite = ${certextract {crl_uri} {$tls_in_peercert} {CRU <$value>}{(no CRU)}} diff --git a/test/confs/2102 b/test/confs/2102 index 5332801dc..27cb80517 100644 --- a/test/confs/2102 +++ b/test/confs/2102 @@ -54,9 +54,9 @@ check_recipient: logwrite = IN <${certextract {issuer} {$tls_in_peercert}}> logwrite = NB <${certextract {notbefore} {$tls_in_peercert}}> logwrite = NA <${certextract {notafter} {$tls_in_peercert}}> - logwrite = SA <${certextract {signature_algorithm}{$tls_in_peercert}}> + logwrite = SA <${certextract {sig_algorithm}{$tls_in_peercert}}> logwrite = SG <${certextract {signature} {$tls_in_peercert}}> - logwrite = ${certextract {subject_altname}{$tls_in_peercert} {SAN <$value>}{(no SAN)}} + logwrite = ${certextract {subj_altname} {$tls_in_peercert} {SAN <$value>}{(no SAN)}} logwrite = ${certextract {ocsp_uri} {$tls_in_peercert} {OCU <$value>}{(no OCU)}} logwrite = ${certextract {crl_uri} {$tls_in_peercert} {CRU <$value>}{(no CRU)}} diff --git a/test/confs/5750 b/test/confs/5750 index daff91bb3..a8ff60350 100644 --- a/test/confs/5750 +++ b/test/confs/5750 @@ -45,9 +45,9 @@ logger: logwrite = IN <${certextract {issuer} {$tls_out_peercert}}> logwrite = NB <${certextract {notbefore} {$tls_out_peercert}}> logwrite = NA <${certextract {notafter} {$tls_out_peercert}}> - logwrite = SA <${certextract {signature_algorithm}{$tls_out_peercert}}> + logwrite = SA <${certextract {sig_algorithm} {$tls_out_peercert}}> logwrite = SG <${certextract {signature} {$tls_out_peercert}}> - logwrite = ${certextract {subject_altname}{$tls_out_peercert}{SAN <$value>}{(no SAN)}} + logwrite = ${certextract {subj_altname} {$tls_out_peercert}{SAN <$value>}{(no SAN)}} # logwrite = ${certextract {ocsp_uri} {$tls_out_peercert} {OCU <$value>}{(no OCU)}} logwrite = ${certextract {crl_uri} {$tls_out_peercert} {CRU <$value>}{(no CRU)}} diff --git a/test/confs/5760 b/test/confs/5760 index 0e11ab0d3..e9868d109 100644 --- a/test/confs/5760 +++ b/test/confs/5760 @@ -45,9 +45,9 @@ logger: logwrite = IN <${certextract {issuer} {$tls_out_peercert}}> logwrite = NB <${certextract {notbefore} {$tls_out_peercert}}> logwrite = NA <${certextract {notafter} {$tls_out_peercert}}> - logwrite = SA <${certextract {signature_algorithm}{$tls_out_peercert}}> + logwrite = SA <${certextract {sig_algorithm} {$tls_out_peercert}}> logwrite = SG <${certextract {signature} {$tls_out_peercert}}> - logwrite = ${certextract {subject_altname}{$tls_out_peercert}{SAN <$value>}{(no SAN)}} + logwrite = ${certextract {subj_altname,>;}{$tls_out_peercert}{SAN <$value>}{(no SAN)}} logwrite = ${certextract {ocsp_uri} {$tls_out_peercert} {OCU <$value>}{(no OCU)}} logwrite = ${certextract {crl_uri} {$tls_out_peercert} {CRU <$value>}{(no CRU)}} diff --git a/test/log/2002 b/test/log/2002 index 50b7863d2..c4aa1d050 100644 --- a/test/log/2002 +++ b/test/log/2002 @@ -16,7 +16,7 @@ 1999-03-02 09:44:33 NA <Jan 1 12:34:06 2038 GMT> 1999-03-02 09:44:33 SA <RSA-SHA> 1999-03-02 09:44:33 SG <6c 37 41 26 4d 5d f4 b5 31 10 67 ca fb 64 b6 22 98 62 f7 1e 95 7b 6c e6 74 47 21 f4 5e 89 36 3e b9 9c 8a c5 52 bb c4 af 12 93 26 3b d7 3d e0 56 71 1e 1d 21 20 02 ed f0 4e d5 5e 45 42 fd 3c 38 41 54 83 86 0b 3b bf c5 47 39 ff 15 ea 93 dc fd c7 3d 18 58 59 ca dd 2a d8 b9 f9 2f b9 76 93 f4 ae e3 91 56 80 2f 8c 04 2f ad 57 ef d2 51 19 f4 b4 ef 32 9c ac 3a 7c 0d b8 39 db b1 e3 30 73 1a> -1999-03-02 09:44:33 SAN <server2.example.com> +1999-03-02 09:44:33 SAN <DNS=server2.example.com> 1999-03-02 09:44:33 CRU <http://crl.example.com/latest.crl> 1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@test.ex H=[ip4.ip4.ip4.ip4] P=smtps X=TLS1.x:xxxxRSA_AES_256_CBC_SHAnnn:256 DN="CN=server2.example.com" S=sss 1999-03-02 09:44:33 Start queue run: pid=pppp -qf diff --git a/test/log/2102 b/test/log/2102 index 6e0713f41..e5bf8f6fe 100644 --- a/test/log/2102 +++ b/test/log/2102 @@ -17,7 +17,7 @@ 1999-03-02 09:44:33 NA <Jan 1 12:34:06 2038 GMT> 1999-03-02 09:44:33 SA <undefined> 1999-03-02 09:44:33 SG < Signature Algorithm: sha1WithRSAEncryption\n 6c:37:41:26:4d:5d:f4:b5:31:10:67:ca:fb:64:b6:22:98:62:\n f7:1e:95:7b:6c:e6:74:47:21:f4:5e:89:36:3e:b9:9c:8a:c5:\n 52:bb:c4:af:12:93:26:3b:d7:3d:e0:56:71:1e:1d:21:20:02:\n ed:f0:4e:d5:5e:45:42:fd:3c:38:41:54:83:86:0b:3b:bf:c5:\n 47:39:ff:15:ea:93:dc:fd:c7:3d:18:58:59:ca:dd:2a:d8:b9:\n f9:2f:b9:76:93:f4:ae:e3:91:56:80:2f:8c:04:2f:ad:57:ef:\n d2:51:19:f4:b4:ef:32:9c:ac:3a:7c:0d:b8:39:db:b1:e3:30:\n 73:1a\n> -1999-03-02 09:44:33 SAN <Unrecognisable> +1999-03-02 09:44:33 SAN <DNS=server2.example.com> 1999-03-02 09:44:33 OCU <http://oscp/example.com/> 1999-03-02 09:44:33 CRU <http://crl.example.com/latest.crl> 1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@test.ex H=[ip4.ip4.ip4.ip4] P=smtps X=TLSv1:AES256-SHA:256 DN="/CN=server2.example.com" S=sss diff --git a/test/log/5750 b/test/log/5750 index c3c77a642..845624676 100644 --- a/test/log/5750 +++ b/test/log/5750 @@ -12,7 +12,7 @@ 1999-03-02 09:44:33 10HmaX-0005vi-00 NA <Jan 1 12:34:05 2038 GMT> 1999-03-02 09:44:33 10HmaX-0005vi-00 SA <RSA-SHA> 1999-03-02 09:44:33 10HmaX-0005vi-00 SG <56 3a a4 3c cb eb b8 27 c2 90 08 74 13 88 dc 48 c6 b5 2c e5 26 be 5b 91 d4 67 e7 3c 49 12 d7 47 30 df 98 db 58 ed 18 a8 7d 4b db 97 48 f5 5c 7f 70 b9 37 63 33 f1 24 62 72 92 60 f5 6e da b6 bc 73 c8 c2 dc d6 95 9a bd 16 16 a2 ef 0a f1 d7 41 68 f6 ad 98 5a d0 ff d9 1b 51 9f 59 ce 2f 3d 84 d0 ee e8 2b eb 9b 32 1a 0e 02 3e cc 30 89 44 09 2a 75 81 46 a7 b6 ed 7d 41 eb 5a 63 fa 9c 58 ef> -1999-03-02 09:44:33 10HmaX-0005vi-00 SAN <alternatename.server1.example.com> +1999-03-02 09:44:33 10HmaX-0005vi-00 SAN <DNS=alternatename.server1.example.com\nDNS=alternatename2.server1.example.com\nDNS=server1.example.com> 1999-03-02 09:44:33 10HmaX-0005vi-00 CRU <http://crl.example.com/latest.crl> 1999-03-02 09:44:33 10HmaX-0005vi-00 TLS session failure: delivering unencrypted to 127.0.0.1 [127.0.0.1] (not in hosts_require_tls) 1999-03-02 09:44:33 10HmaX-0005vi-00 => bad@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmaZ-0005vi-00" @@ -31,7 +31,7 @@ 1999-03-02 09:44:33 10HmaY-0005vi-00 NA <Jan 1 12:34:05 2038 GMT> 1999-03-02 09:44:33 10HmaY-0005vi-00 SA <RSA-SHA> 1999-03-02 09:44:33 10HmaY-0005vi-00 SG <56 3a a4 3c cb eb b8 27 c2 90 08 74 13 88 dc 48 c6 b5 2c e5 26 be 5b 91 d4 67 e7 3c 49 12 d7 47 30 df 98 db 58 ed 18 a8 7d 4b db 97 48 f5 5c 7f 70 b9 37 63 33 f1 24 62 72 92 60 f5 6e da b6 bc 73 c8 c2 dc d6 95 9a bd 16 16 a2 ef 0a f1 d7 41 68 f6 ad 98 5a d0 ff d9 1b 51 9f 59 ce 2f 3d 84 d0 ee e8 2b eb 9b 32 1a 0e 02 3e cc 30 89 44 09 2a 75 81 46 a7 b6 ed 7d 41 eb 5a 63 fa 9c 58 ef> -1999-03-02 09:44:33 10HmaY-0005vi-00 SAN <alternatename.server1.example.com> +1999-03-02 09:44:33 10HmaY-0005vi-00 SAN <DNS=alternatename.server1.example.com\nDNS=alternatename2.server1.example.com\nDNS=server1.example.com> 1999-03-02 09:44:33 10HmaY-0005vi-00 CRU <http://crl.example.com/latest.crl> 1999-03-02 09:44:33 10HmaY-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp -qf diff --git a/test/log/5760 b/test/log/5760 index 0b74e243d..a59190fa2 100644 --- a/test/log/5760 +++ b/test/log/5760 @@ -33,7 +33,7 @@ 1999-03-02 09:44:33 10HmaY-0005vi-00 NA <Jan 1 12:34:05 2038 GMT> 1999-03-02 09:44:33 10HmaY-0005vi-00 SA <undefined> 1999-03-02 09:44:33 10HmaY-0005vi-00 SG < Signature Algorithm: sha1WithRSAEncryption\n 56:3a:a4:3c:cb:eb:b8:27:c2:90:08:74:13:88:dc:48:c6:b5:\n 2c:e5:26:be:5b:91:d4:67:e7:3c:49:12:d7:47:30:df:98:db:\n 58:ed:18:a8:7d:4b:db:97:48:f5:5c:7f:70:b9:37:63:33:f1:\n 24:62:72:92:60:f5:6e:da:b6:bc:73:c8:c2:dc:d6:95:9a:bd:\n 16:16:a2:ef:0a:f1:d7:41:68:f6:ad:98:5a:d0:ff:d9:1b:51:\n 9f:59:ce:2f:3d:84:d0:ee:e8:2b:eb:9b:32:1a:0e:02:3e:cc:\n 30:89:44:09:2a:75:81:46:a7:b6:ed:7d:41:eb:5a:63:fa:9c:\n 58:ef\n> -1999-03-02 09:44:33 10HmaY-0005vi-00 SAN <Unrecognisable> +1999-03-02 09:44:33 10HmaY-0005vi-00 SAN <DNS=server1.example.com;DNS=alternatename2.server1.example.com;DNS=alternatename.server1.example.com> 1999-03-02 09:44:33 10HmaY-0005vi-00 OCU <http://oscp/example.com/> 1999-03-02 09:44:33 10HmaY-0005vi-00 CRU <http://crl.example.com/latest.crl> 1999-03-02 09:44:33 10HmaY-0005vi-00 Completed |