0000: 23 20 47 72 6f 75 70 2c 4e 61 6d 65 2c 43 6f 6e # Group,Name,Con
0010: 73 74 72 61 69 6e 74 73 2c 53 65 74 75 70 2c 42 straints,Setup,B
0020: 6f 64 79 2c 43 6c 65 61 6e 75 70 2c 4d 61 74 63 ody,Cleanup,Matc
0030: 68 2c 52 65 73 75 6c 74 2c 4f 75 74 70 75 74 2c h,Result,Output,
0040: 45 72 72 6f 72 20 4f 75 74 70 75 74 2c 52 65 74 Error Output,Ret
0050: 75 72 6e 20 43 6f 64 65 73 0a 63 6f 6d 6d 61 6e urn Codes.comman
0060: 64 2c 70 61 63 6b 61 67 65 20 70 72 65 66 65 72 d,package prefer
0070: 20 6c 61 74 65 73 74 2c 2c 2c 2c 2c 2c 2c 2c 2c latest,,,,,,,,,
0080: 0a 63 6f 6d 6d 61 6e 64 2c 70 61 63 6b 61 67 65 .command,package
0090: 20 72 65 71 75 69 72 65 20 74 6c 73 2c 2c 2c 2c require tls,,,,
00a0: 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 2c 2c 2c ,,,,,.command,,,
00b0: 2c 2c 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 2c ,,,,,,,.command,
00c0: 23 20 4d 61 6b 65 20 73 75 72 65 20 70 61 74 68 # Make sure path
00d0: 20 69 6e 63 6c 75 64 65 73 20 6c 6f 63 61 74 69 includes locati
00e0: 6f 6e 20 6f 66 20 4f 70 65 6e 53 53 4c 20 65 78 on of OpenSSL ex
00f0: 65 63 75 74 61 62 6c 65 2c 2c 2c 2c 2c 2c 2c 2c ecutable,,,,,,,,
0100: 2c 0a 63 6f 6d 6d 61 6e 64 2c 22 69 66 20 7b 5b ,.command,"if {[
0110: 69 6e 66 6f 20 65 78 69 73 74 73 20 3a 3a 65 6e info exists ::en
0120: 76 28 4f 50 45 4e 53 53 4c 29 5d 7d 20 7b 73 65 v(OPENSSL)]} {se
0130: 74 20 3a 3a 65 6e 76 28 70 61 74 68 29 20 5b 73 t ::env(path) [s
0140: 74 72 69 6e 67 20 63 61 74 20 5b 66 69 6c 65 20 tring cat [file
0150: 6a 6f 69 6e 20 24 3a 3a 65 6e 76 28 4f 50 45 4e join $::env(OPEN
0160: 53 53 4c 29 20 62 69 6e 20 22 22 3b 22 22 5d 20 SSL) bin "";""]
0170: 24 3a 3a 65 6e 76 28 70 61 74 68 29 5d 7d 22 2c $::env(path)]}",
0180: 2c 2c 2c 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 ,,,,,,,,.command
0190: 2c 2c 2c 2c 2c 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 ,,,,,,,,,,.comma
01a0: 6e 64 2c 23 20 43 6f 6e 73 74 72 61 69 6e 74 73 nd,# Constraints
01b0: 2c 2c 2c 2c 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 6e ,,,,,,,,,.comman
01c0: 64 2c 73 65 74 20 70 72 6f 74 6f 63 6f 6c 73 20 d,set protocols
01d0: 5b 6c 69 73 74 20 73 73 6c 32 20 73 73 6c 33 20 [list ssl2 ssl3
01e0: 74 6c 73 31 20 74 6c 73 31 2e 31 20 74 6c 73 31 tls1 tls1.1 tls1
01f0: 2e 32 20 74 6c 73 31 2e 33 5d 2c 2c 2c 2c 2c 2c .2 tls1.3],,,,,,
0200: 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 2c 66 6f 72 65 ,,,.command,fore
0210: 61 63 68 20 70 72 6f 74 6f 63 6f 6c 20 24 70 72 ach protocol $pr
0220: 6f 74 6f 63 6f 6c 73 20 7b 3a 3a 74 63 6c 74 65 otocols {::tclte
0230: 73 74 3a 3a 74 65 73 74 43 6f 6e 73 74 72 61 69 st::testConstrai
0240: 6e 74 20 24 70 72 6f 74 6f 63 6f 6c 20 30 7d 2c nt $protocol 0},
0250: 2c 2c 2c 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 ,,,,,,,,.command
0260: 2c 66 6f 72 65 61 63 68 20 70 72 6f 74 6f 63 6f ,foreach protoco
0270: 6c 20 5b 3a 3a 74 6c 73 3a 3a 70 72 6f 74 6f 63 l [::tls::protoc
0280: 6f 6c 73 5d 20 7b 3a 3a 74 63 6c 74 65 73 74 3a ols] {::tcltest:
0290: 3a 74 65 73 74 43 6f 6e 73 74 72 61 69 6e 74 20 :testConstraint
02a0: 24 70 72 6f 74 6f 63 6f 6c 20 31 7d 2c 2c 2c 2c $protocol 1},,,,
02b0: 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 2c 22 3a ,,,,,.command,":
02c0: 3a 74 63 6c 74 65 73 74 3a 3a 74 65 73 74 43 6f :tcltest::testCo
02d0: 6e 73 74 72 61 69 6e 74 20 4f 70 65 6e 53 53 4c nstraint OpenSSL
02e0: 20 5b 73 74 72 69 6e 67 20 6d 61 74 63 68 20 22 [string match "
02f0: 22 4f 70 65 6e 53 53 4c 2a 22 22 20 5b 3a 3a 74 "OpenSSL*"" [::t
0300: 6c 73 3a 3a 76 65 72 73 69 6f 6e 5d 5d 22 2c 2c ls::version]]",,
0310: 2c 2c 2c 2c 2c 2c 2c 0a 2c 2c 2c 2c 2c 2c 2c 2c ,,,,,,,.,,,,,,,,
0320: 2c 2c 0a 63 6f 6d 6d 61 6e 64 2c 23 20 48 65 6c ,,.command,# Hel
0330: 70 65 72 20 66 75 6e 63 74 69 6f 6e 73 2c 2c 2c per functions,,,
0340: 2c 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 2c 22 ,,,,,,.command,"
0350: 70 72 6f 63 20 6c 63 6f 6d 70 61 72 65 20 7b 6c proc lcompare {l
0360: 69 73 74 31 20 6c 69 73 74 32 7d 20 7b 0a 20 20 ist1 list2} {.
0370: 20 20 73 65 74 20 6d 20 22 22 22 22 0a 20 20 20 set m """".
0380: 20 73 65 74 20 75 20 22 22 22 22 0a 20 20 20 20 set u """".
0390: 66 6f 72 65 61 63 68 20 69 20 24 6c 69 73 74 31 foreach i $list1
03a0: 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 7b 24 {. if {$
03b0: 69 20 6e 69 20 24 6c 69 73 74 32 7d 20 7b 0a 20 i ni $list2} {.
03c0: 20 20 20 20 20 20 20 20 20 20 20 6c 61 70 70 65 lappe
03d0: 6e 64 20 6d 20 24 69 0a 20 20 20 20 20 20 20 20 nd m $i.
03e0: 7d 0a 20 20 20 20 7d 0a 20 20 20 20 66 6f 72 65 }. }. fore
03f0: 61 63 68 20 69 20 24 6c 69 73 74 32 20 7b 0a 20 ach i $list2 {.
0400: 20 20 20 20 20 20 20 69 66 20 7b 24 69 20 6e 69 if {$i ni
0410: 20 24 6c 69 73 74 31 7d 20 7b 0a 20 20 20 20 20 $list1} {.
0420: 20 20 20 20 20 20 20 6c 61 70 70 65 6e 64 20 75 lappend u
0430: 20 24 69 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 $i. }.
0440: 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 5b }. return [
0450: 6c 69 73 74 20 22 22 6d 69 73 73 69 6e 67 22 22 list ""missing""
0460: 20 24 6d 20 22 22 75 6e 65 78 70 65 63 74 65 64 $m ""unexpected
0470: 22 22 20 24 75 5d 0a 7d 0a 22 2c 2c 2c 2c 2c 2c "" $u].}.",,,,,,
0480: 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 2c 70 72 6f 63 ,,,.command,proc
0490: 20 65 78 65 63 5f 67 65 74 20 7b 64 65 6c 69 6d exec_get {delim
04a0: 20 61 72 67 73 7d 20 7b 72 65 74 75 72 6e 20 5b args} {return [
04b0: 73 70 6c 69 74 20 5b 65 78 65 63 20 6f 70 65 6e split [exec open
04c0: 73 73 6c 20 7b 2a 7d 24 61 72 67 73 5d 20 24 64 ssl {*}$args] $d
04d0: 65 6c 69 6d 5d 7d 2c 2c 2c 2c 2c 2c 2c 2c 2c 0a elim]},,,,,,,,,.
04e0: 2c 2c 2c 2c 2c 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 ,,,,,,,,,,.comma
04f0: 6e 64 2c 23 20 54 65 73 74 20 70 72 6f 74 6f 63 nd,# Test protoc
0500: 6f 6c 73 2c 2c 2c 2c 2c 2c 2c 2c 2c 0a 50 72 6f ols,,,,,,,,,.Pro
0510: 74 6f 63 6f 6c 73 2c 41 6c 6c 2c 2c 2c 6c 63 6f tocols,All,,,lco
0520: 6d 70 61 72 65 20 24 70 72 6f 74 6f 63 6f 6c 73 mpare $protocols
0530: 20 5b 3a 3a 74 6c 73 3a 3a 70 72 6f 74 6f 63 6f [::tls::protoco
0540: 6c 73 5d 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b 73 ls],,,missing {s
0550: 73 6c 32 20 73 73 6c 33 7d 20 75 6e 65 78 70 65 sl2 ssl3} unexpe
0560: 63 74 65 64 20 7b 7d 2c 2c 2c 0a 2c 2c 2c 2c 2c cted {},,,.,,,,,
0570: 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 2c 23 20 ,,,,,.command,#
0580: 54 65 73 74 20 63 69 70 68 65 72 73 2c 2c 2c 2c Test ciphers,,,,
0590: 2c 2c 2c 2c 2c 0a 43 69 70 68 65 72 73 20 42 79 ,,,,,.Ciphers By
05a0: 20 50 72 6f 74 6f 63 6f 6c 2c 53 53 4c 32 2c 73 Protocol,SSL2,s
05b0: 73 6c 32 2c 2c 22 6c 63 6f 6d 70 61 72 65 20 5b sl2,,"lcompare [
05c0: 65 78 65 63 5f 67 65 74 20 22 22 3a 22 22 20 63 exec_get "":"" c
05d0: 69 70 68 65 72 73 20 2d 73 73 6c 32 5d 20 5b 3a iphers -ssl2] [:
05e0: 3a 74 6c 73 3a 3a 63 69 70 68 65 72 73 20 73 73 :tls::ciphers ss
05f0: 6c 32 5d 22 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b l2]",,,missing {
0600: 7d 20 75 6e 65 78 70 65 63 74 65 64 20 7b 7d 2c } unexpected {},
0610: 2c 2c 0a 43 69 70 68 65 72 73 20 42 79 20 50 72 ,,.Ciphers By Pr
0620: 6f 74 6f 63 6f 6c 2c 53 53 4c 33 2c 73 73 6c 33 otocol,SSL3,ssl3
0630: 2c 2c 22 6c 63 6f 6d 70 61 72 65 20 5b 65 78 65 ,,"lcompare [exe
0640: 63 5f 67 65 74 20 22 22 3a 22 22 20 63 69 70 68 c_get "":"" ciph
0650: 65 72 73 20 2d 73 73 6c 33 5d 20 5b 3a 3a 74 6c ers -ssl3] [::tl
0660: 73 3a 3a 63 69 70 68 65 72 73 20 73 73 6c 33 5d s::ciphers ssl3]
0670: 22 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b 7d 20 75 ",,,missing {} u
0680: 6e 65 78 70 65 63 74 65 64 20 7b 7d 2c 2c 2c 0a nexpected {},,,.
0690: 43 69 70 68 65 72 73 20 42 79 20 50 72 6f 74 6f Ciphers By Proto
06a0: 63 6f 6c 2c 54 4c 53 31 2e 30 2c 74 6c 73 31 2c col,TLS1.0,tls1,
06b0: 2c 22 6c 63 6f 6d 70 61 72 65 20 5b 65 78 65 63 ,"lcompare [exec
06c0: 5f 67 65 74 20 22 22 3a 22 22 20 63 69 70 68 65 _get "":"" ciphe
06d0: 72 73 20 2d 74 6c 73 31 5d 20 5b 3a 3a 74 6c 73 rs -tls1] [::tls
06e0: 3a 3a 63 69 70 68 65 72 73 20 74 6c 73 31 5d 22 ::ciphers tls1]"
06f0: 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b 7d 20 75 6e ,,,missing {} un
0700: 65 78 70 65 63 74 65 64 20 7b 7d 2c 2c 2c 0a 43 expected {},,,.C
0710: 69 70 68 65 72 73 20 42 79 20 50 72 6f 74 6f 63 iphers By Protoc
0720: 6f 6c 2c 54 4c 53 31 2e 31 2c 74 6c 73 31 2e 31 ol,TLS1.1,tls1.1
0730: 2c 2c 22 6c 63 6f 6d 70 61 72 65 20 5b 65 78 65 ,,"lcompare [exe
0740: 63 5f 67 65 74 20 22 22 3a 22 22 20 63 69 70 68 c_get "":"" ciph
0750: 65 72 73 20 2d 74 6c 73 31 5f 31 5d 20 5b 3a 3a ers -tls1_1] [::
0760: 74 6c 73 3a 3a 63 69 70 68 65 72 73 20 74 6c 73 tls::ciphers tls
0770: 31 2e 31 5d 22 2c 2c 2c 6d 69 73 73 69 6e 67 20 1.1]",,,missing
0780: 7b 7d 20 75 6e 65 78 70 65 63 74 65 64 20 7b 7d {} unexpected {}
0790: 2c 2c 2c 0a 43 69 70 68 65 72 73 20 42 79 20 50 ,,,.Ciphers By P
07a0: 72 6f 74 6f 63 6f 6c 2c 54 4c 53 31 2e 32 2c 74 rotocol,TLS1.2,t
07b0: 6c 73 31 2e 32 2c 2c 22 6c 63 6f 6d 70 61 72 65 ls1.2,,"lcompare
07c0: 20 5b 65 78 65 63 5f 67 65 74 20 22 22 3a 22 22 [exec_get "":""
07d0: 20 63 69 70 68 65 72 73 20 2d 74 6c 73 31 5f 32 ciphers -tls1_2
07e0: 5d 20 5b 3a 3a 74 6c 73 3a 3a 63 69 70 68 65 72 ] [::tls::cipher
07f0: 73 20 74 6c 73 31 2e 32 5d 22 2c 2c 2c 6d 69 73 s tls1.2]",,,mis
0800: 73 69 6e 67 20 7b 7d 20 75 6e 65 78 70 65 63 74 sing {} unexpect
0810: 65 64 20 7b 7d 2c 2c 2c 0a 43 69 70 68 65 72 73 ed {},,,.Ciphers
0820: 20 42 79 20 50 72 6f 74 6f 63 6f 6c 2c 54 4c 53 By Protocol,TLS
0830: 31 2e 33 2c 74 6c 73 31 2e 33 2c 2c 22 6c 63 6f 1.3,tls1.3,,"lco
0840: 6d 70 61 72 65 20 5b 65 78 65 63 5f 67 65 74 20 mpare [exec_get
0850: 22 22 3a 22 22 20 63 69 70 68 65 72 73 20 2d 74 "":"" ciphers -t
0860: 6c 73 31 5f 33 5d 20 5b 3a 3a 74 6c 73 3a 3a 63 ls1_3] [::tls::c
0870: 69 70 68 65 72 73 20 74 6c 73 31 2e 33 5d 22 2c iphers tls1.3]",
0880: 2c 2c 6d 69 73 73 69 6e 67 20 7b 7d 20 75 6e 65 ,,missing {} une
0890: 78 70 65 63 74 65 64 20 7b 7d 2c 2c 2c 0a 2c 2c xpected {},,,.,,
08a0: 2c 2c 2c 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 ,,,,,,,,.command
08b0: 2c 23 20 54 65 73 74 20 63 69 70 68 65 72 20 64 ,# Test cipher d
08c0: 65 73 63 72 69 70 74 69 6f 6e 73 2c 2c 2c 2c 2c escriptions,,,,,
08d0: 2c 2c 2c 2c 0a 43 69 70 68 65 72 73 20 57 69 74 ,,,,.Ciphers Wit
08e0: 68 20 44 65 73 63 72 69 70 74 69 6f 6e 73 2c 53 h Descriptions,S
08f0: 53 4c 32 2c 73 73 6c 32 2c 2c 22 6c 63 6f 6d 70 SL2,ssl2,,"lcomp
0900: 61 72 65 20 5b 65 78 65 63 5f 67 65 74 20 22 22 are [exec_get ""
0910: 5c 72 5c 6e 22 22 20 63 69 70 68 65 72 73 20 2d \r\n"" ciphers -
0920: 73 73 6c 32 20 2d 76 5d 20 5b 73 70 6c 69 74 20 ssl2 -v] [split
0930: 5b 73 74 72 69 6e 67 20 74 72 69 6d 20 5b 3a 3a [string trim [::
0940: 74 6c 73 3a 3a 63 69 70 68 65 72 73 20 73 73 6c tls::ciphers ssl
0950: 32 20 31 5d 5d 20 5c 6e 5d 22 2c 2c 2c 6d 69 73 2 1]] \n]",,,mis
0960: 73 69 6e 67 20 7b 7d 20 75 6e 65 78 70 65 63 74 sing {} unexpect
0970: 65 64 20 7b 7d 2c 2c 2c 0a 43 69 70 68 65 72 73 ed {},,,.Ciphers
0980: 20 57 69 74 68 20 44 65 73 63 72 69 70 74 69 6f With Descriptio
0990: 6e 73 2c 53 53 4c 33 2c 73 73 6c 33 2c 2c 22 6c ns,SSL3,ssl3,,"l
09a0: 63 6f 6d 70 61 72 65 20 5b 65 78 65 63 5f 67 65 compare [exec_ge
09b0: 74 20 22 22 5c 72 5c 6e 22 22 20 63 69 70 68 65 t ""\r\n"" ciphe
09c0: 72 73 20 2d 73 73 6c 33 20 2d 76 5d 20 5b 73 70 rs -ssl3 -v] [sp
09d0: 6c 69 74 20 5b 73 74 72 69 6e 67 20 74 72 69 6d lit [string trim
09e0: 20 5b 3a 3a 74 6c 73 3a 3a 63 69 70 68 65 72 73 [::tls::ciphers
09f0: 20 73 73 6c 33 20 31 5d 5d 20 5c 6e 5d 22 2c 2c ssl3 1]] \n]",,
0a00: 2c 6d 69 73 73 69 6e 67 20 7b 7d 20 75 6e 65 78 ,missing {} unex
0a10: 70 65 63 74 65 64 20 7b 7d 2c 2c 2c 0a 43 69 70 pected {},,,.Cip
0a20: 68 65 72 73 20 57 69 74 68 20 44 65 73 63 72 69 hers With Descri
0a30: 70 74 69 6f 6e 73 2c 54 4c 53 31 2e 30 2c 74 6c ptions,TLS1.0,tl
0a40: 73 31 20 4f 70 65 6e 53 53 4c 31 2e 31 2e 31 2c s1 OpenSSL1.1.1,
0a50: 2c 22 6c 63 6f 6d 70 61 72 65 20 5b 65 78 65 63 ,"lcompare [exec
0a60: 5f 67 65 74 20 22 22 5c 72 5c 6e 22 22 20 63 69 _get ""\r\n"" ci
0a70: 70 68 65 72 73 20 2d 74 6c 73 31 20 2d 76 5d 20 phers -tls1 -v]
0a80: 5b 73 70 6c 69 74 20 5b 73 74 72 69 6e 67 20 74 [split [string t
0a90: 72 69 6d 20 5b 3a 3a 74 6c 73 3a 3a 63 69 70 68 rim [::tls::ciph
0aa0: 65 72 73 20 74 6c 73 31 20 31 5d 5d 20 5c 6e 5d ers tls1 1]] \n]
0ab0: 22 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b 7d 20 75 ",,,missing {} u
0ac0: 6e 65 78 70 65 63 74 65 64 20 7b 7d 2c 2c 2c 0a nexpected {},,,.
0ad0: 43 69 70 68 65 72 73 20 57 69 74 68 20 44 65 73 Ciphers With Des
0ae0: 63 72 69 70 74 69 6f 6e 73 2c 54 4c 53 31 2e 31 criptions,TLS1.1
0af0: 2c 74 6c 73 31 2e 31 20 4f 70 65 6e 53 53 4c 31 ,tls1.1 OpenSSL1
0b00: 2e 31 2e 31 2c 2c 22 6c 63 6f 6d 70 61 72 65 20 .1.1,,"lcompare
0b10: 5b 65 78 65 63 5f 67 65 74 20 22 22 5c 72 5c 6e [exec_get ""\r\n
0b20: 22 22 20 63 69 70 68 65 72 73 20 2d 74 6c 73 31 "" ciphers -tls1
0b30: 5f 31 20 2d 76 5d 20 5b 73 70 6c 69 74 20 5b 73 _1 -v] [split [s
0b40: 74 72 69 6e 67 20 74 72 69 6d 20 5b 3a 3a 74 6c tring trim [::tl
0b50: 73 3a 3a 63 69 70 68 65 72 73 20 74 6c 73 31 2e s::ciphers tls1.
0b60: 31 20 31 5d 5d 20 5c 6e 5d 22 2c 2c 2c 6d 69 73 1 1]] \n]",,,mis
0b70: 73 69 6e 67 20 7b 7d 20 75 6e 65 78 70 65 63 74 sing {} unexpect
0b80: 65 64 20 7b 7d 2c 2c 2c 0a 43 69 70 68 65 72 73 ed {},,,.Ciphers
0b90: 20 57 69 74 68 20 44 65 73 63 72 69 70 74 69 6f With Descriptio
0ba0: 6e 73 2c 54 4c 53 31 2e 32 2c 74 6c 73 31 2e 32 ns,TLS1.2,tls1.2
0bb0: 20 4f 70 65 6e 53 53 4c 31 2e 31 2e 31 2c 2c 22 OpenSSL1.1.1,,"
0bc0: 6c 63 6f 6d 70 61 72 65 20 5b 65 78 65 63 5f 67 lcompare [exec_g
0bd0: 65 74 20 22 22 5c 72 5c 6e 22 22 20 63 69 70 68 et ""\r\n"" ciph
0be0: 65 72 73 20 2d 74 6c 73 31 5f 32 20 2d 76 5d 20 ers -tls1_2 -v]
0bf0: 5b 73 70 6c 69 74 20 5b 73 74 72 69 6e 67 20 74 [split [string t
0c00: 72 69 6d 20 5b 3a 3a 74 6c 73 3a 3a 63 69 70 68 rim [::tls::ciph
0c10: 65 72 73 20 74 6c 73 31 2e 32 20 31 5d 5d 20 5c ers tls1.2 1]] \
0c20: 6e 5d 22 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b 7d n]",,,missing {}
0c30: 20 75 6e 65 78 70 65 63 74 65 64 20 7b 7d 2c 2c unexpected {},,
0c40: 2c 0a 43 69 70 68 65 72 73 20 57 69 74 68 20 44 ,.Ciphers With D
0c50: 65 73 63 72 69 70 74 69 6f 6e 73 2c 54 4c 53 31 escriptions,TLS1
0c60: 2e 33 2c 74 6c 73 31 2e 33 20 4f 70 65 6e 53 53 .3,tls1.3 OpenSS
0c70: 4c 31 2e 31 2e 31 2c 2c 22 6c 63 6f 6d 70 61 72 L1.1.1,,"lcompar
0c80: 65 20 5b 65 78 65 63 5f 67 65 74 20 22 22 5c 72 e [exec_get ""\r
0c90: 5c 6e 22 22 20 63 69 70 68 65 72 73 20 2d 74 6c \n"" ciphers -tl
0ca0: 73 31 5f 33 20 2d 76 5d 20 5b 73 70 6c 69 74 20 s1_3 -v] [split
0cb0: 5b 73 74 72 69 6e 67 20 74 72 69 6d 20 5b 3a 3a [string trim [::
0cc0: 74 6c 73 3a 3a 63 69 70 68 65 72 73 20 74 6c 73 tls::ciphers tls
0cd0: 31 2e 33 20 31 5d 5d 20 5c 6e 5d 22 2c 2c 2c 6d 1.3 1]] \n]",,,m
0ce0: 69 73 73 69 6e 67 20 7b 7d 20 75 6e 65 78 70 65 issing {} unexpe
0cf0: 63 74 65 64 20 7b 7d 2c 2c 2c 0a 2c 2c 2c 2c 2c cted {},,,.,,,,,
0d00: 2c 2c 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 2c 23 20 ,,,,,.command,#
0d10: 54 65 73 74 20 70 72 6f 74 6f 63 6f 6c 20 73 70 Test protocol sp
0d20: 65 63 69 66 69 63 20 63 69 70 68 65 72 73 2c 2c ecific ciphers,,
0d30: 2c 2c 2c 2c 2c 2c 2c 0a 43 69 70 68 65 72 73 20 ,,,,,,,.Ciphers
0d40: 50 72 6f 74 6f 63 6f 6c 20 53 70 65 63 69 66 69 Protocol Specifi
0d50: 63 2c 53 53 4c 32 2c 73 73 6c 32 2c 2c 22 6c 63 c,SSL2,ssl2,,"lc
0d60: 6f 6d 70 61 72 65 20 5b 65 78 65 63 5f 67 65 74 ompare [exec_get
0d70: 20 22 22 3a 22 22 20 63 69 70 68 65 72 73 20 2d "":"" ciphers -
0d80: 73 73 6c 32 20 2d 73 5d 20 5b 3a 3a 74 6c 73 3a ssl2 -s] [::tls:
0d90: 3a 63 69 70 68 65 72 73 20 73 73 6c 32 20 30 20 :ciphers ssl2 0
0da0: 31 5d 22 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b 7d 1]",,,missing {}
0db0: 20 75 6e 65 78 70 65 63 74 65 64 20 7b 7d 2c 2c unexpected {},,
0dc0: 2c 0a 43 69 70 68 65 72 73 20 50 72 6f 74 6f 63 ,.Ciphers Protoc
0dd0: 6f 6c 20 53 70 65 63 69 66 69 63 2c 53 53 4c 33 ol Specific,SSL3
0de0: 2c 73 73 6c 33 2c 2c 22 6c 63 6f 6d 70 61 72 65 ,ssl3,,"lcompare
0df0: 20 5b 65 78 65 63 5f 67 65 74 20 22 22 3a 22 22 [exec_get "":""
0e00: 20 63 69 70 68 65 72 73 20 2d 73 73 6c 33 20 2d ciphers -ssl3 -
0e10: 73 5d 20 5b 3a 3a 74 6c 73 3a 3a 63 69 70 68 65 s] [::tls::ciphe
0e20: 72 73 20 73 73 6c 33 20 30 20 31 5d 22 2c 2c 2c rs ssl3 0 1]",,,
0e30: 6d 69 73 73 69 6e 67 20 7b 7d 20 75 6e 65 78 70 missing {} unexp
0e40: 65 63 74 65 64 20 7b 7d 2c 2c 2c 0a 43 69 70 68 ected {},,,.Ciph
0e50: 65 72 73 20 50 72 6f 74 6f 63 6f 6c 20 53 70 65 ers Protocol Spe
0e60: 63 69 66 69 63 2c 54 4c 53 31 2e 30 2c 74 6c 73 cific,TLS1.0,tls
0e70: 31 20 4f 70 65 6e 53 53 4c 31 2e 31 2e 31 2c 2c 1 OpenSSL1.1.1,,
0e80: 22 6c 63 6f 6d 70 61 72 65 20 5b 65 78 65 63 5f "lcompare [exec_
0e90: 67 65 74 20 22 22 3a 22 22 20 63 69 70 68 65 72 get "":"" cipher
0ea0: 73 20 2d 74 6c 73 31 20 2d 73 5d 20 5b 3a 3a 74 s -tls1 -s] [::t
0eb0: 6c 73 3a 3a 63 69 70 68 65 72 73 20 74 6c 73 31 ls::ciphers tls1
0ec0: 20 30 20 31 5d 22 2c 2c 2c 6d 69 73 73 69 6e 67 0 1]",,,missing
0ed0: 20 7b 7d 20 75 6e 65 78 70 65 63 74 65 64 20 7b {} unexpected {
0ee0: 7d 2c 2c 2c 0a 43 69 70 68 65 72 73 20 50 72 6f },,,.Ciphers Pro
0ef0: 74 6f 63 6f 6c 20 53 70 65 63 69 66 69 63 2c 54 tocol Specific,T
0f00: 4c 53 31 2e 31 2c 74 6c 73 31 2e 31 20 4f 70 65 LS1.1,tls1.1 Ope
0f10: 6e 53 53 4c 31 2e 31 2e 31 2c 2c 22 6c 63 6f 6d nSSL1.1.1,,"lcom
0f20: 70 61 72 65 20 5b 65 78 65 63 5f 67 65 74 20 22 pare [exec_get "
0f30: 22 3a 22 22 20 63 69 70 68 65 72 73 20 2d 74 6c ":"" ciphers -tl
0f40: 73 31 5f 31 20 2d 73 5d 20 5b 3a 3a 74 6c 73 3a s1_1 -s] [::tls:
0f50: 3a 63 69 70 68 65 72 73 20 74 6c 73 31 2e 31 20 :ciphers tls1.1
0f60: 30 20 31 5d 22 2c 2c 2c 6d 69 73 73 69 6e 67 20 0 1]",,,missing
0f70: 7b 7d 20 75 6e 65 78 70 65 63 74 65 64 20 7b 7d {} unexpected {}
0f80: 2c 2c 2c 0a 43 69 70 68 65 72 73 20 50 72 6f 74 ,,,.Ciphers Prot
0f90: 6f 63 6f 6c 20 53 70 65 63 69 66 69 63 2c 54 4c ocol Specific,TL
0fa0: 53 31 2e 32 2c 74 6c 73 31 2e 32 20 4f 70 65 6e S1.2,tls1.2 Open
0fb0: 53 53 4c 31 2e 31 2e 31 2c 2c 22 6c 63 6f 6d 70 SSL1.1.1,,"lcomp
0fc0: 61 72 65 20 5b 65 78 65 63 5f 67 65 74 20 22 22 are [exec_get ""
0fd0: 3a 22 22 20 63 69 70 68 65 72 73 20 2d 74 6c 73 :"" ciphers -tls
0fe0: 31 5f 32 20 2d 73 5d 20 5b 3a 3a 74 6c 73 3a 3a 1_2 -s] [::tls::
0ff0: 63 69 70 68 65 72 73 20 74 6c 73 31 2e 32 20 30 ciphers tls1.2 0
1000: 20 31 5d 22 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b 1]",,,missing {
1010: 7d 20 75 6e 65 78 70 65 63 74 65 64 20 7b 7d 2c } unexpected {},
1020: 2c 2c 0a 43 69 70 68 65 72 73 20 50 72 6f 74 6f ,,.Ciphers Proto
1030: 63 6f 6c 20 53 70 65 63 69 66 69 63 2c 54 4c 53 col Specific,TLS
1040: 31 2e 33 2c 74 6c 73 31 2e 33 20 4f 70 65 6e 53 1.3,tls1.3 OpenS
1050: 53 4c 31 2e 31 2e 31 2c 2c 22 6c 63 6f 6d 70 61 SL1.1.1,,"lcompa
1060: 72 65 20 5b 65 78 65 63 5f 67 65 74 20 22 22 3a re [exec_get "":
1070: 22 22 20 63 69 70 68 65 72 73 20 2d 74 6c 73 31 "" ciphers -tls1
1080: 5f 33 20 2d 73 5d 20 5b 3a 3a 74 6c 73 3a 3a 63 _3 -s] [::tls::c
1090: 69 70 68 65 72 73 20 74 6c 73 31 2e 33 20 30 20 iphers tls1.3 0
10a0: 31 5d 22 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b 7d 1]",,,missing {}
10b0: 20 75 6e 65 78 70 65 63 74 65 64 20 7b 7d 2c 2c unexpected {},,
10c0: 2c 0a 2c 2c 2c 2c 2c 2c 2c 2c 2c 2c 0a 63 6f 6d ,.,,,,,,,,,,.com
10d0: 6d 61 6e 64 2c 23 20 54 65 73 74 20 76 65 72 73 mand,# Test vers
10e0: 69 6f 6e 2c 2c 2c 2c 2c 2c 2c 2c 2c 0a 56 65 72 ion,,,,,,,,,.Ver
10f0: 73 69 6f 6e 2c 41 6c 6c 2c 2c 2c 3a 3a 74 6c 73 sion,All,,,::tls
1100: 3a 3a 76 65 72 73 69 6f 6e 2c 2c 67 6c 6f 62 2c ::version,,glob,
1110: 2a 2c 2c 2c 0a 56 65 72 73 69 6f 6e 2c 4f 70 65 *,,,.Version,Ope
1120: 6e 53 53 4c 2c 4f 70 65 6e 53 53 4c 2c 2c 3a 3a nSSL,OpenSSL,,::
1130: 74 6c 73 3a 3a 76 65 72 73 69 6f 6e 2c 2c 67 6c tls::version,,gl
1140: 6f 62 2c 4f 70 65 6e 53 53 4c 2a 2c 2c 2c 0a ob,OpenSSL*,,,.