Hex Artifact Content

Artifact a80a98c337e963d0f1ee8c55d4a14b3dda9a4b7ab6e61cd60563016261cf1e03:


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 6f 6c 64 5f 61 70 69 2c 2c 22 6c 63 6f  s1 old_api,,"lco
0a50: 6d 70 61 72 65 20 5b 65 78 65 63 5f 67 65 74 20  mpare [exec_get 
0a60: 22 22 5c 72 5c 6e 22 22 20 63 69 70 68 65 72 73  ""\r\n"" ciphers
0a70: 20 2d 74 6c 73 31 20 2d 76 5d 20 5b 73 70 6c 69   -tls1 -v] [spli
0a80: 74 20 5b 73 74 72 69 6e 67 20 74 72 69 6d 20 5b  t [string trim [
0a90: 3a 3a 74 6c 73 3a 3a 63 69 70 68 65 72 73 20 74  ::tls::ciphers t
0aa0: 6c 73 31 20 31 5d 5d 20 5c 6e 5d 22 2c 2c 2c 6d  ls1 1]] \n]",,,m
0ab0: 69 73 73 69 6e 67 20 7b 7d 20 75 6e 65 78 70 65  issing {} unexpe
0ac0: 63 74 65 64 20 7b 7d 2c 2c 2c 0a 43 69 70 68 65  cted {},,,.Ciphe
0ad0: 72 73 20 57 69 74 68 20 44 65 73 63 72 69 70 74  rs With Descript
0ae0: 69 6f 6e 73 2c 54 4c 53 31 2e 31 2c 74 6c 73 31  ions,TLS1.1,tls1
0af0: 2e 31 20 6f 6c 64 5f 61 70 69 2c 2c 22 6c 63 6f  .1 old_api,,"lco
0b00: 6d 70 61 72 65 20 5b 65 78 65 63 5f 67 65 74 20  mpare [exec_get 
0b10: 22 22 5c 72 5c 6e 22 22 20 63 69 70 68 65 72 73  ""\r\n"" ciphers
0b20: 20 2d 74 6c 73 31 5f 31 20 2d 76 5d 20 5b 73 70   -tls1_1 -v] [sp
0b30: 6c 69 74 20 5b 73 74 72 69 6e 67 20 74 72 69 6d  lit [string trim
0b40: 20 5b 3a 3a 74 6c 73 3a 3a 63 69 70 68 65 72 73   [::tls::ciphers
0b50: 20 74 6c 73 31 2e 31 20 31 5d 5d 20 5c 6e 5d 22   tls1.1 1]] \n]"
0b60: 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b 7d 20 75 6e  ,,,missing {} un
0b70: 65 78 70 65 63 74 65 64 20 7b 7d 2c 2c 2c 0a 43  expected {},,,.C
0b80: 69 70 68 65 72 73 20 57 69 74 68 20 44 65 73 63  iphers With Desc
0b90: 72 69 70 74 69 6f 6e 73 2c 54 4c 53 31 2e 32 2c  riptions,TLS1.2,
0ba0: 74 6c 73 31 2e 32 20 6f 6c 64 5f 61 70 69 2c 2c  tls1.2 old_api,,
0bb0: 22 6c 63 6f 6d 70 61 72 65 20 5b 65 78 65 63 5f  "lcompare [exec_
0bc0: 67 65 74 20 22 22 5c 72 5c 6e 22 22 20 63 69 70  get ""\r\n"" cip
0bd0: 68 65 72 73 20 2d 74 6c 73 31 5f 32 20 2d 76 5d  hers -tls1_2 -v]
0be0: 20 5b 73 70 6c 69 74 20 5b 73 74 72 69 6e 67 20   [split [string 
0bf0: 74 72 69 6d 20 5b 3a 3a 74 6c 73 3a 3a 63 69 70  trim [::tls::cip
0c00: 68 65 72 73 20 74 6c 73 31 2e 32 20 31 5d 5d 20  hers tls1.2 1]] 
0c10: 5c 6e 5d 22 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b  \n]",,,missing {
0c20: 7d 20 75 6e 65 78 70 65 63 74 65 64 20 7b 7d 2c  } unexpected {},
0c30: 2c 2c 0a 43 69 70 68 65 72 73 20 57 69 74 68 20  ,,.Ciphers With 
0c40: 44 65 73 63 72 69 70 74 69 6f 6e 73 2c 54 4c 53  Descriptions,TLS
0c50: 31 2e 33 2c 74 6c 73 31 2e 33 20 6f 6c 64 5f 61  1.3,tls1.3 old_a
0c60: 70 69 2c 2c 22 6c 63 6f 6d 70 61 72 65 20 5b 65  pi,,"lcompare [e
0c70: 78 65 63 5f 67 65 74 20 22 22 5c 72 5c 6e 22 22  xec_get ""\r\n""
0c80: 20 63 69 70 68 65 72 73 20 2d 74 6c 73 31 5f 33   ciphers -tls1_3
0c90: 20 2d 76 5d 20 5b 73 70 6c 69 74 20 5b 73 74 72   -v] [split [str
0ca0: 69 6e 67 20 74 72 69 6d 20 5b 3a 3a 74 6c 73 3a  ing trim [::tls:
0cb0: 3a 63 69 70 68 65 72 73 20 74 6c 73 31 2e 33 20  :ciphers tls1.3 
0cc0: 31 5d 5d 20 5c 6e 5d 22 2c 2c 2c 6d 69 73 73 69  1]] \n]",,,missi
0cd0: 6e 67 20 7b 7d 20 75 6e 65 78 70 65 63 74 65 64  ng {} unexpected
0ce0: 20 7b 7d 2c 2c 2c 0a 2c 2c 2c 2c 2c 2c 2c 2c 2c   {},,,.,,,,,,,,,
0cf0: 2c 0a 63 6f 6d 6d 61 6e 64 2c 23 20 54 65 73 74  ,.command,# Test
0d00: 20 70 72 6f 74 6f 63 6f 6c 20 73 70 65 63 69 66   protocol specif
0d10: 69 63 20 63 69 70 68 65 72 73 2c 2c 2c 2c 2c 2c  ic ciphers,,,,,,
0d20: 2c 2c 2c 0a 43 69 70 68 65 72 73 20 50 72 6f 74  ,,,.Ciphers Prot
0d30: 6f 63 6f 6c 20 53 70 65 63 69 66 69 63 2c 53 53  ocol Specific,SS
0d40: 4c 32 2c 73 73 6c 32 2c 2c 22 6c 63 6f 6d 70 61  L2,ssl2,,"lcompa
0d50: 72 65 20 5b 65 78 65 63 5f 67 65 74 20 22 22 3a  re [exec_get "":
0d60: 22 22 20 63 69 70 68 65 72 73 20 2d 73 73 6c 32  "" ciphers -ssl2
0d70: 20 2d 73 5d 20 5b 3a 3a 74 6c 73 3a 3a 63 69 70   -s] [::tls::cip
0d80: 68 65 72 73 20 73 73 6c 32 20 30 20 31 5d 22 2c  hers ssl2 0 1]",
0d90: 2c 2c 6d 69 73 73 69 6e 67 20 7b 7d 20 75 6e 65  ,,missing {} une
0da0: 78 70 65 63 74 65 64 20 7b 7d 2c 2c 2c 0a 43 69  xpected {},,,.Ci
0db0: 70 68 65 72 73 20 50 72 6f 74 6f 63 6f 6c 20 53  phers Protocol S
0dc0: 70 65 63 69 66 69 63 2c 53 53 4c 33 2c 73 73 6c  pecific,SSL3,ssl
0dd0: 33 2c 2c 22 6c 63 6f 6d 70 61 72 65 20 5b 65 78  3,,"lcompare [ex
0de0: 65 63 5f 67 65 74 20 22 22 3a 22 22 20 63 69 70  ec_get "":"" cip
0df0: 68 65 72 73 20 2d 73 73 6c 33 20 2d 73 5d 20 5b  hers -ssl3 -s] [
0e00: 3a 3a 74 6c 73 3a 3a 63 69 70 68 65 72 73 20 73  ::tls::ciphers s
0e10: 73 6c 33 20 30 20 31 5d 22 2c 2c 2c 6d 69 73 73  sl3 0 1]",,,miss
0e20: 69 6e 67 20 7b 7d 20 75 6e 65 78 70 65 63 74 65  ing {} unexpecte
0e30: 64 20 7b 7d 2c 2c 2c 0a 43 69 70 68 65 72 73 20  d {},,,.Ciphers 
0e40: 50 72 6f 74 6f 63 6f 6c 20 53 70 65 63 69 66 69  Protocol Specifi
0e50: 63 2c 54 4c 53 31 2e 30 2c 74 6c 73 31 20 6f 6c  c,TLS1.0,tls1 ol
0e60: 64 5f 61 70 69 2c 2c 22 6c 63 6f 6d 70 61 72 65  d_api,,"lcompare
0e70: 20 5b 65 78 65 63 5f 67 65 74 20 22 22 3a 22 22   [exec_get "":""
0e80: 20 63 69 70 68 65 72 73 20 2d 74 6c 73 31 20 2d   ciphers -tls1 -
0e90: 73 5d 20 5b 3a 3a 74 6c 73 3a 3a 63 69 70 68 65  s] [::tls::ciphe
0ea0: 72 73 20 74 6c 73 31 20 30 20 31 5d 22 2c 2c 2c  rs tls1 0 1]",,,
0eb0: 6d 69 73 73 69 6e 67 20 7b 7d 20 75 6e 65 78 70  missing {} unexp
0ec0: 65 63 74 65 64 20 7b 7d 2c 2c 2c 0a 43 69 70 68  ected {},,,.Ciph
0ed0: 65 72 73 20 50 72 6f 74 6f 63 6f 6c 20 53 70 65  ers Protocol Spe
0ee0: 63 69 66 69 63 2c 54 4c 53 31 2e 31 2c 74 6c 73  cific,TLS1.1,tls
0ef0: 31 2e 31 20 6f 6c 64 5f 61 70 69 2c 2c 22 6c 63  1.1 old_api,,"lc
0f00: 6f 6d 70 61 72 65 20 5b 65 78 65 63 5f 67 65 74  ompare [exec_get
0f10: 20 22 22 3a 22 22 20 63 69 70 68 65 72 73 20 2d   "":"" ciphers -
0f20: 74 6c 73 31 5f 31 20 2d 73 5d 20 5b 3a 3a 74 6c  tls1_1 -s] [::tl
0f30: 73 3a 3a 63 69 70 68 65 72 73 20 74 6c 73 31 2e  s::ciphers tls1.
0f40: 31 20 30 20 31 5d 22 2c 2c 2c 6d 69 73 73 69 6e  1 0 1]",,,missin
0f50: 67 20 7b 7d 20 75 6e 65 78 70 65 63 74 65 64 20  g {} unexpected 
0f60: 7b 7d 2c 2c 2c 0a 43 69 70 68 65 72 73 20 50 72  {},,,.Ciphers Pr
0f70: 6f 74 6f 63 6f 6c 20 53 70 65 63 69 66 69 63 2c  otocol Specific,
0f80: 54 4c 53 31 2e 32 2c 74 6c 73 31 2e 32 20 6f 6c  TLS1.2,tls1.2 ol
0f90: 64 5f 61 70 69 2c 2c 22 6c 63 6f 6d 70 61 72 65  d_api,,"lcompare
0fa0: 20 5b 65 78 65 63 5f 67 65 74 20 22 22 3a 22 22   [exec_get "":""
0fb0: 20 63 69 70 68 65 72 73 20 2d 74 6c 73 31 5f 32   ciphers -tls1_2
0fc0: 20 2d 73 5d 20 5b 3a 3a 74 6c 73 3a 3a 63 69 70   -s] [::tls::cip
0fd0: 68 65 72 73 20 74 6c 73 31 2e 32 20 30 20 31 5d  hers tls1.2 0 1]
0fe0: 22 2c 2c 2c 6d 69 73 73 69 6e 67 20 7b 7d 20 75  ",,,missing {} u
0ff0: 6e 65 78 70 65 63 74 65 64 20 7b 7d 2c 2c 2c 0a  nexpected {},,,.
1000: 43 69 70 68 65 72 73 20 50 72 6f 74 6f 63 6f 6c  Ciphers Protocol
1010: 20 53 70 65 63 69 66 69 63 2c 54 4c 53 31 2e 33   Specific,TLS1.3
1020: 2c 74 6c 73 31 2e 33 20 6f 6c 64 5f 61 70 69 2c  ,tls1.3 old_api,
1030: 2c 22 6c 63 6f 6d 70 61 72 65 20 5b 65 78 65 63  ,"lcompare [exec
1040: 5f 67 65 74 20 22 22 3a 22 22 20 63 69 70 68 65  _get "":"" ciphe
1050: 72 73 20 2d 74 6c 73 31 5f 33 20 2d 73 5d 20 5b  rs -tls1_3 -s] [
1060: 3a 3a 74 6c 73 3a 3a 63 69 70 68 65 72 73 20 74  ::tls::ciphers t
1070: 6c 73 31 2e 33 20 30 20 31 5d 22 2c 2c 2c 6d 69  ls1.3 0 1]",,,mi
1080: 73 73 69 6e 67 20 7b 7d 20 75 6e 65 78 70 65 63  ssing {} unexpec
1090: 74 65 64 20 7b 7d 2c 2c 2c 0a 2c 2c 2c 2c 2c 2c  ted {},,,.,,,,,,
10a0: 2c 2c 2c 2c 0a 63 6f 6d 6d 61 6e 64 2c 23 20 54  ,,,,.command,# T
10b0: 65 73 74 20 76 65 72 73 69 6f 6e 2c 2c 2c 2c 2c  est version,,,,,
10c0: 2c 2c 2c 2c 0a 56 65 72 73 69 6f 6e 2c 41 6c 6c  ,,,,.Version,All
10d0: 2c 2c 2c 3a 3a 74 6c 73 3a 3a 76 65 72 73 69 6f  ,,,::tls::versio
10e0: 6e 2c 2c 67 6c 6f 62 2c 2a 2c 2c 2c 0a 56 65 72  n,,glob,*,,,.Ver
10f0: 73 69 6f 6e 2c 4f 70 65 6e 53 53 4c 2c 4f 70 65  sion,OpenSSL,Ope
1100: 6e 53 53 4c 2c 2c 3a 3a 74 6c 73 3a 3a 76 65 72  nSSL,,::tls::ver
1110: 73 69 6f 6e 2c 2c 67 6c 6f 62 2c 4f 70 65 6e 53  sion,,glob,OpenS
1120: 53 4c 2a 2c 2c 2c 0a                             SL*,,,.