Artifact
6a52a80fcbe7c0c9044a30e4c4b14026acffd35b:
0000: 32 30 30 33 2d 30 35 2d 31 35 20 20 44 61 6e 20 2003-05-15 Dan
0010: 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63 Razzell.<researc
0020: 68 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d h@starfishsystem
0030: 73 2e 63 61 3e 20 0a 0a 09 2a 20 74 6c 73 2e 74 s.ca> ...* tls.t
0040: 63 6c 3a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a cl:..* tlsInt.h:
0050: 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64 64 20 73 ..* tls.c: add s
0060: 75 70 70 6f 72 74 20 66 6f 72 20 62 69 6e 64 69 upport for bindi
0070: 6e 67 20 61 20 70 61 73 73 77 6f 72 64 20 63 61 ng a password ca
0080: 6c 6c 62 61 63 6b 20 74 6f 20 74 68 65 20 73 6f llback to the so
0090: 63 6b 65 74 2e 0a 09 4e 6f 77 20 65 61 63 68 20 cket...Now each
00a0: 73 6f 63 6b 65 74 20 63 61 6e 20 68 61 76 65 20 socket can have
00b0: 69 74 73 20 6f 77 6e 20 63 6f 6d 6d 61 6e 64 20 its own command
00c0: 61 6e 64 20 70 61 73 73 77 6f 72 64 20 63 61 6c and password cal
00d0: 6c 62 61 63 6b 73 20 69 6e 73 74 65 61 64 0a 09 lbacks instead..
00e0: 6f 66 20 62 65 69 6e 67 20 66 6f 72 63 65 64 20 of being forced
00f0: 74 6f 20 68 61 76 65 20 61 6c 6c 20 70 61 73 73 to have all pass
0100: 77 6f 72 64 20 6d 61 6e 61 67 65 6d 65 6e 74 20 word management
0110: 70 61 73 73 20 74 68 72 6f 75 67 68 20 61 20 63 pass through a c
0120: 6f 6d 6d 6f 6e 0a 09 70 72 6f 63 65 64 75 72 65 ommon..procedure
0130: 2e 20 20 54 68 65 20 63 6f 6d 6d 6f 6e 20 70 61 . The common pa
0140: 73 73 77 6f 72 64 20 70 72 6f 63 65 64 75 72 65 ssword procedure
0150: 20 69 73 20 72 65 74 61 69 6e 65 64 20 66 6f 72 is retained for
0160: 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 0a 09 compatibility..
0170: 62 75 74 20 69 74 73 20 75 73 65 20 73 68 6f 75 but its use shou
0180: 6c 64 20 62 65 20 44 45 50 52 45 43 41 54 45 44 ld be DEPRECATED
0190: 2e 0a 09 41 64 64 20 76 65 72 73 69 6f 6e 20 63 ...Add version c
01a0: 6f 6d 6d 61 6e 64 20 74 6f 20 72 65 74 75 72 6e ommand to return
01b0: 20 4f 70 65 6e 53 53 4c 20 76 65 72 73 69 6f 6e OpenSSL version
01c0: 20 73 74 72 69 6e 67 2e 0a 09 52 65 6d 6f 76 65 string...Remove
01d0: 20 75 6e 73 74 61 62 6c 65 20 77 6f 72 6b 61 72 unstable workar
01e0: 6f 75 6e 64 73 20 6e 65 65 64 65 64 20 66 6f 72 ounds needed for
01f0: 20 76 65 72 69 66 79 20 69 6e 20 6f 62 73 6f 6c verify in obsol
0200: 65 74 65 20 76 65 72 73 69 6f 6e 73 20 6f 66 0a ete versions of.
0210: 09 4f 70 65 6e 53 53 4c 2e 0a 09 46 69 78 20 6d .OpenSSL...Fix m
0220: 65 6d 6f 72 79 20 6c 65 61 6b 2e 20 5b 52 65 71 emory leak. [Req
0230: 75 65 73 74 20 23 36 34 30 36 36 30 5d 0a 09 4d uest #640660]..M
0240: 6f 72 65 20 63 61 73 74 73 20 74 6f 20 65 6c 69 ore casts to eli
0250: 6d 69 6e 61 74 65 20 63 6f 6d 70 69 6c 65 72 20 minate compiler
0260: 77 61 72 6e 69 6e 67 73 2e 0a 0a 09 2a 20 74 6c warnings....* tl
0270: 73 2e 68 74 6d 3a 20 64 6f 63 75 6d 65 6e 74 20 s.htm: document
0280: 70 61 73 73 77 6f 72 64 20 63 61 6c 6c 62 61 63 password callbac
0290: 6b 2e 0a 09 43 6f 72 72 65 63 74 20 74 65 63 68 k...Correct tech
02a0: 6e 69 63 61 6c 20 61 6e 64 20 74 79 70 6f 67 72 nical and typogr
02b0: 61 70 68 69 63 20 65 72 72 6f 72 73 2e 0a 0a 09 aphic errors....
02c0: 2a 20 52 45 41 44 4d 45 2e 74 78 74 3a 20 69 64 * README.txt: id
02d0: 65 6e 74 69 66 79 20 76 65 72 73 69 6f 6e 73 20 entify versions
02e0: 6f 66 20 4f 70 65 6e 53 53 4c 20 77 68 69 63 68 of OpenSSL which
02f0: 20 66 69 78 20 6b 6e 6f 77 6e 20 70 72 6f 62 6c fix known probl
0300: 65 6d 73 2e 0a 09 47 65 6e 65 72 61 6c 20 77 61 ems...General wa
0310: 72 6e 69 6e 67 20 6f 66 20 73 65 63 75 72 69 74 rning of securit
0320: 79 20 70 72 6f 62 6c 65 6d 73 20 69 6e 20 6f 6c y problems in ol
0330: 64 65 72 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 der versions of
0340: 4f 70 65 6e 53 53 4c 2e 0a 0a 32 30 30 32 2d 30 OpenSSL...2002-0
0350: 32 2d 30 34 20 20 4a 65 66 66 20 48 6f 62 62 73 2-04 Jeff Hobbs
0360: 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 <jeffh@ActiveS
0370: 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c tate.com>...* tl
0380: 73 2e 68 74 6d 3a 0a 09 2a 20 74 6c 73 2e 63 3a s.htm:..* tls.c:
0390: 20 61 64 64 65 64 20 73 75 70 70 6f 72 74 20 66 added support f
03a0: 6f 72 20 6c 6f 63 61 6c 20 63 65 72 74 69 66 69 or local certifi
03b0: 63 61 74 65 20 73 74 61 74 75 73 20 63 68 65 63 cate status chec
03c0: 6b 2c 20 61 73 20 77 65 6c 6c 0a 09 61 73 20 72 k, as well..as r
03d0: 65 74 75 72 6e 69 6e 67 20 74 68 65 20 23 20 6f eturning the # o
03e0: 66 20 62 69 74 73 20 69 6e 20 74 68 65 20 73 65 f bits in the se
03f0: 73 73 69 6f 6e 20 6b 65 79 2e 20 5b 50 61 74 63 ssion key. [Patc
0400: 68 20 23 35 30 35 36 39 38 5d 20 28 72 6f 73 65 h #505698] (rose
0410: 29 0a 0a 09 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 )...* tls.c:..*
0420: 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 42 tlsIO.c:..* tlsB
0430: 49 4f 2e 63 3a 20 61 64 64 65 64 20 43 4f 4e 53 IO.c: added CONS
0440: 54 73 20 74 6f 20 73 61 74 69 73 66 79 20 54 63 Ts to satisfy Tc
0450: 6c 20 38 2e 34 20 73 6f 75 72 63 65 73 2e 20 20 l 8.4 sources.
0460: 54 68 69 73 20 6d 61 79 0a 09 67 69 76 65 20 77 This may..give w
0470: 61 72 6e 69 6e 67 73 20 77 68 65 6e 20 63 6f 6d arnings when com
0480: 70 69 6c 65 64 20 61 67 61 69 6e 73 74 20 38 2e piled against 8.
0490: 33 2c 20 62 75 74 20 74 68 65 79 20 63 61 6e 20 3, but they can
04a0: 62 65 20 69 67 6e 6f 72 65 64 2e 0a 0a 09 2a 20 be ignored....*
04b0: 74 65 73 74 73 2f 73 69 6d 70 6c 65 43 6c 69 65 tests/simpleClie
04c0: 6e 74 2e 74 63 6c 3a 0a 09 2a 20 74 65 73 74 73 nt.tcl:..* tests
04d0: 2f 73 69 6d 70 6c 65 53 65 72 76 65 72 2e 74 63 /simpleServer.tc
04e0: 6c 3a 20 70 6f 69 6e 74 20 74 6f 20 75 70 64 61 l: point to upda
04f0: 74 65 64 20 63 6c 69 65 6e 74 2f 73 65 72 76 65 ted client/serve
0500: 72 20 6b 65 79 20 66 69 6c 65 73 2e 0a 0a 09 2a r key files....*
0510: 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 tests/tlsIO.tes
0520: 74 3a 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 68 t:..* tests/ciph
0530: 65 72 73 2e 74 65 73 74 3a 20 75 70 64 61 74 65 ers.test: update
0540: 64 20 74 6f 20 6c 6f 61 64 20 74 6c 73 20 66 72 d to load tls fr
0550: 6f 6d 20 62 75 69 6c 64 20 64 69 72 2e 0a 0a 09 om build dir....
0560: 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 72 * Makefile.in: r
0570: 65 6d 6f 76 65 64 20 73 74 72 6e 63 61 73 65 63 emoved strncasec
0580: 6d 70 20 66 72 6f 6d 20 64 65 66 61 75 6c 74 20 mp from default
0590: 6f 62 6a 65 63 74 20 73 65 74 2e 20 20 54 68 69 object set. Thi
05a0: 73 0a 09 69 73 20 6f 6e 6c 79 20 6e 65 65 64 65 s..is only neede
05b0: 64 20 6f 6e 20 74 68 65 20 4d 61 63 2c 20 61 6e d on the Mac, an
05c0: 64 20 54 63 6c 20 73 74 75 62 73 20 70 72 6f 76 d Tcl stubs prov
05d0: 69 64 65 73 20 69 74 2e 0a 0a 09 2a 20 63 6f 6e ides it....* con
05e0: 66 69 67 75 72 65 3a 20 72 65 67 65 6e 27 65 64 figure: regen'ed
05f0: 2e 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 ...* configure.i
0600: 6e 3a 20 75 70 64 61 74 65 64 20 74 6f 20 31 2e n: updated to 1.
0610: 35 2e 30 20 66 6f 72 20 6e 65 78 74 20 72 65 6c 5.0 for next rel
0620: 65 61 73 65 2e 0a 09 43 68 61 6e 67 65 64 20 64 ease...Changed d
0630: 65 66 61 75 6c 74 20 6f 70 65 6e 73 73 6c 20 6c efault openssl l
0640: 6f 63 61 74 69 6f 6e 20 74 6f 20 2f 75 73 72 2f ocation to /usr/
0650: 6c 6f 63 61 6c 2f 73 73 6c 20 28 74 68 69 73 20 local/ssl (this
0660: 69 73 20 77 68 65 72 65 0a 09 6f 70 65 6e 73 73 is where..openss
0670: 6c 20 30 2e 39 2e 36 63 20 69 6e 73 74 61 6c 6c l 0.9.6c install
0680: 73 20 62 79 20 64 65 66 61 75 6c 74 29 2e 0a 09 s by default)...
0690: 43 68 61 6e 67 65 64 20 74 6f 20 75 73 65 20 70 Changed to use p
06a0: 75 62 6c 69 63 20 54 63 6c 20 68 65 61 64 65 72 ublic Tcl header
06b0: 73 20 28 70 72 69 76 61 74 65 20 6e 6f 74 20 6e s (private not n
06c0: 65 65 64 65 64 29 2e 0a 0a 32 30 30 31 2d 30 36 eeded)...2001-06
06d0: 2d 32 31 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -21 Jeff Hobbs
06e0: 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 <jeffh@ActiveSt
06f0: 61 74 65 2e 63 6f 6d 3e 0a 0a 09 54 4c 53 20 31 ate.com>...TLS 1
0700: 2e 34 2e 31 20 52 45 4c 45 41 53 45 0a 0a 09 2a .4.1 RELEASE...*
0710: 20 63 6f 6e 66 69 67 75 72 65 3a 20 61 64 64 65 configure: adde
0720: 64 20 63 6f 6e 66 69 67 75 72 65 20 74 6f 20 43 d configure to C
0730: 56 53 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e VS..* configure.
0740: 69 6e 3a 20 6d 6f 76 65 64 20 74 6f 20 70 61 74 in: moved to pat
0750: 63 68 6c 65 76 65 6c 20 31 2e 34 2e 31 0a 0a 09 chlevel 1.4.1...
0760: 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 63 * Makefile.in: c
0770: 6f 72 72 65 63 74 65 64 20 27 64 69 73 74 27 20 orrected 'dist'
0780: 74 61 72 67 65 74 0a 0a 09 2a 20 74 65 73 74 73 target...* tests
0790: 2f 63 65 72 74 73 2f 66 69 6c 65 2e 73 72 6c 3a /certs/file.srl:
07a0: 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f ..* tests/certs/
07b0: 63 61 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 74 73 ca.pem:..* tests
07c0: 2f 63 65 72 74 73 2f 63 6c 69 65 6e 74 2e 6b 65 /certs/client.ke
07d0: 79 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 y:..* tests/cert
07e0: 73 2f 63 6c 69 65 6e 74 2e 70 65 6d 3a 0a 09 2a s/client.pem:..*
07f0: 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63 6c 69 tests/certs/cli
0800: 65 6e 74 2e 72 65 71 3a 0a 09 2a 20 74 65 73 74 ent.req:..* test
0810: 73 2f 63 65 72 74 73 2f 70 72 69 76 6b 65 79 2e s/certs/privkey.
0820: 70 65 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 pem:..* tests/ce
0830: 72 74 73 2f 73 65 72 76 65 72 2e 6b 65 79 3a 0a rts/server.key:.
0840: 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 73 .* tests/certs/s
0850: 65 72 76 65 72 2e 70 65 6d 3a 0a 09 2a 20 74 65 erver.pem:..* te
0860: 73 74 73 2f 63 65 72 74 73 2f 73 65 72 76 65 72 sts/certs/server
0870: 2e 72 65 71 3a 0a 09 2a 20 74 65 73 74 73 2f 63 .req:..* tests/c
0880: 65 72 74 73 2f 63 61 63 65 72 74 2e 70 65 6d 3a erts/cacert.pem:
0890: 20 72 65 70 6c 61 63 65 64 20 62 79 20 6e 65 77 replaced by new
08a0: 20 63 61 2e 70 65 6d 0a 09 2a 20 74 65 73 74 73 ca.pem..* tests
08b0: 2f 63 65 72 74 73 2f 73 6b 65 79 2e 70 65 6d 3a /certs/skey.pem:
08c0: 20 72 65 70 6c 61 63 65 64 20 62 79 20 6e 65 77 replaced by new
08d0: 20 73 65 72 76 65 72 2e 6b 65 79 0a 09 2a 20 74 server.key..* t
08e0: 65 73 74 73 2f 63 65 72 74 73 2f 63 6b 65 79 2e ests/certs/ckey.
08f0: 70 65 6d 3a 20 72 65 70 6c 61 63 65 64 20 62 79 pem: replaced by
0900: 20 6e 65 77 20 63 6c 69 65 6e 74 2e 6b 65 79 0a new client.key.
0910: 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 52 .* tests/certs/R
0920: 45 41 44 4d 45 2e 74 78 74 3a 20 6e 65 77 20 73 EADME.txt: new s
0930: 65 74 20 6f 66 20 74 65 73 74 20 63 65 72 74 69 et of test certi
0940: 66 69 63 61 74 65 73 20 77 69 74 68 20 73 6f 6d ficates with som
0950: 65 0a 09 52 45 41 44 4d 45 20 69 6e 66 6f 20 6f e..README info o
0960: 6e 20 74 68 65 69 72 20 67 65 6e 65 72 61 74 69 n their generati
0970: 6f 6e 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 63 69 on....* tests/ci
0980: 70 68 65 72 73 2e 74 65 73 74 3a 20 75 70 64 61 phers.test: upda
0990: 74 65 64 20 63 69 70 68 65 72 73 20 65 78 70 65 ted ciphers expe
09a0: 63 74 65 64 20 77 69 74 68 20 64 65 66 61 75 6c cted with defaul
09b0: 74 0a 09 6f 70 65 6e 73 73 6c 20 62 75 69 6c 64 t..openssl build
09c0: 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 63 6c 49 ....* tests/tclI
09d0: 4f 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 20 O.test: updated
09e0: 74 6f 20 75 73 65 20 6e 65 77 20 6e 61 6d 65 73 to use new names
09f0: 20 66 6f 72 20 63 65 72 74 73 2f 6b 65 79 73 2e for certs/keys.
0a00: 0a 0a 32 30 30 31 2d 30 33 2d 31 34 20 20 4a 65 ..2001-03-14 Je
0a10: 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 ff Hobbs <jeffh
0a20: 40 67 69 6d 6c 65 74 2e 61 63 74 69 76 65 73 74 @gimlet.activest
0a30: 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 ate.com>...* tls
0a40: 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 61 .c (Tls_Init): a
0a50: 64 64 20 64 6f 2f 77 68 69 6c 65 20 66 6f 72 20 dd do/while for
0a60: 72 61 6e 64 6f 6d 20 6e 75 6d 62 65 72 20 69 6e random number in
0a70: 69 74 69 61 6c 69 7a 61 74 69 6f 6e 0a 09 74 6f itialization..to
0a80: 20 77 6f 72 6b 20 61 72 6f 75 6e 64 20 73 6f 6d work around som
0a90: 65 20 4f 53 65 73 20 71 75 69 72 6b 73 2e 20 20 e OSes quirks.
0aa0: 28 52 61 6c 70 68 2e 42 69 6c 6c 65 73 40 74 65 (Ralph.Billes@te
0ab0: 6c 74 65 63 68 2e 63 6f 6d 2e 61 75 29 0a 0a 32 ltech.com.au)..2
0ac0: 30 30 30 2d 30 39 2d 30 37 20 20 4a 65 66 66 20 000-09-07 Jeff
0ad0: 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 Hobbs <hobbs@sc
0ae0: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a riptics.com>...*
0af0: 20 74 6c 73 49 4f 2e 63 20 28 54 6c 73 5f 43 68 tlsIO.c (Tls_Ch
0b00: 61 6e 6e 65 6c 54 79 70 65 29 3a 20 73 65 74 20 annelType): set
0b10: 74 79 70 65 4e 61 6d 65 20 66 69 65 6c 64 20 6f typeName field o
0b20: 66 20 63 68 61 6e 6e 65 6c 20 74 79 70 65 20 74 f channel type t
0b30: 6f 0a 09 22 74 6c 73 22 20 28 74 68 69 73 20 67 o.."tls" (this g
0b40: 6f 74 20 6c 6f 73 74 20 69 6e 20 6d 6f 76 65 20 ot lost in move
0b50: 74 6f 20 64 79 6e 61 6d 69 63 20 76 65 72 73 69 to dynamic versi
0b60: 6f 6e 20 63 6f 6d 70 61 74 61 62 69 6c 69 74 79 on compatability
0b70: 0a 09 63 68 65 63 6b 69 6e 67 29 2e 0a 0a 32 30 ..checking)...20
0b80: 30 30 2d 30 38 2d 32 33 20 20 4a 65 66 66 20 48 00-08-23 Jeff H
0b90: 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 obbs <hobbs@scr
0ba0: 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 54 4c iptics.com>...TL
0bb0: 53 20 31 2e 34 20 52 45 4c 45 41 53 45 44 0a 0a S 1.4 RELEASED..
0bc0: 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 20 28 .* Makefile.in (
0bd0: 64 69 73 74 29 3a 20 63 72 65 61 74 65 20 64 69 dist): create di
0be0: 73 74 20 74 61 72 67 65 74 20 66 6f 72 20 61 72 st target for ar
0bf0: 63 68 69 76 65 20 64 69 73 74 72 69 62 75 74 69 chive distributi
0c00: 6f 6e 73 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c ons...* tests/tl
0c10: 73 49 4f 2e 74 65 73 74 20 28 74 6c 73 49 4f 2d sIO.test (tlsIO-
0c20: 38 2e 31 29 3a 20 61 64 64 65 64 20 61 20 64 65 8.1): added a de
0c30: 6c 61 79 20 6f 6e 20 74 68 65 20 61 63 63 65 70 lay on the accep
0c40: 74 20 63 6c 6f 73 65 0a 09 74 6f 20 6d 61 6b 65 t close..to make
0c50: 20 74 68 65 20 74 65 73 74 20 77 6f 72 6b 20 77 the test work w
0c60: 69 74 68 20 4f 70 65 6e 53 53 4c 20 6f 6e 20 57 ith OpenSSL on W
0c70: 69 6e 64 6f 77 73 20 28 64 6f 65 73 6e 27 74 20 indows (doesn't
0c80: 61 66 66 65 63 74 0a 09 6f 74 68 65 72 20 62 75 affect..other bu
0c90: 69 6c 64 73 29 2e 0a 0a 09 2a 20 74 6c 73 2e 68 ilds)....* tls.h
0ca0: 74 6d 3a 20 75 70 64 61 74 65 64 20 77 69 74 68 tm: updated with
0cb0: 20 6e 6f 74 65 73 20 66 6f 72 20 31 2e 34 2e 0a notes for 1.4..
0cc0: 0a 32 30 30 30 2d 30 38 2d 32 31 20 20 4a 65 66 .2000-08-21 Jef
0cd0: 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 f Hobbs <hobbs@
0ce0: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a scriptics.com>..
0cf0: 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 .* tests/tlsIO.t
0d00: 65 73 74 3a 20 72 65 71 75 69 72 65 20 61 74 20 est: require at
0d10: 6c 65 61 73 74 20 74 6c 73 31 2e 34 20 69 6e 20 least tls1.4 in
0d20: 74 65 73 74 20 73 75 69 74 65 2e 0a 0a 32 30 30 test suite...200
0d30: 30 2d 30 38 2d 31 38 20 20 4a 65 66 66 20 48 6f 0-08-18 Jeff Ho
0d40: 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 bbs <hobbs@scri
0d50: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 ptics.com>...* t
0d60: 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a ls.c (Tls_Init):
0d70: 20 61 64 64 65 64 20 63 61 6c 6c 20 74 6f 20 52 added call to R
0d80: 41 4e 44 5f 73 65 65 64 20 74 6f 20 73 65 65 64 AND_seed to seed
0d90: 20 74 68 65 20 53 53 4c 20 72 61 6e 64 6f 6d 0a the SSL random.
0da0: 09 6e 75 6d 62 65 72 20 67 65 6e 65 72 61 74 6f .number generato
0db0: 72 2e 20 20 57 69 74 68 6f 75 74 20 74 68 69 73 r. Without this
0dc0: 2c 20 4f 70 65 6e 53 53 4c 20 30 2e 39 2e 35 20 , OpenSSL 0.9.5
0dd0: 63 68 6f 6b 65 73 2c 20 61 6e 64 20 69 6e 20 61 chokes, and in a
0de0: 6e 79 0a 09 63 61 73 65 20 69 74 20 69 73 20 61 ny..case it is a
0df0: 20 62 69 67 20 73 65 63 75 72 69 74 79 20 68 6f big security ho
0e00: 6c 65 20 74 6f 20 64 6f 20 77 69 74 68 6f 75 74 le to do without
0e10: 20 69 74 2e 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 it....* configu
0e20: 72 65 2e 69 6e 20 28 4f 50 45 4e 53 53 4c 29 3a re.in (OPENSSL):
0e30: 20 61 64 64 65 64 20 4e 4f 5f 49 44 45 41 20 61 added NO_IDEA a
0e40: 6e 64 20 4e 4f 5f 52 43 35 20 64 65 66 69 6e 65 nd NO_RC5 define
0e50: 73 20 62 79 0a 09 64 65 66 61 75 6c 74 20 77 68 s by..default wh
0e60: 65 6e 20 63 6f 6d 70 69 6c 69 6e 67 20 77 69 74 en compiling wit
0e70: 68 20 4f 70 65 6e 53 53 4c 2e 0a 0a 09 2a 20 74 h OpenSSL....* t
0e80: 6c 73 49 6e 74 2e 68 3a 20 61 64 64 65 64 20 65 lsInt.h: added e
0e90: 72 72 2e 68 20 69 6e 63 6c 75 64 65 0a 0a 09 2a rr.h include...*
0ea0: 20 74 6c 73 42 49 4f 2e 63 3a 0a 09 2a 20 74 6c tlsBIO.c:..* tl
0eb0: 73 49 4f 2e 63 3a 20 63 6f 72 72 65 63 74 65 64 sIO.c: corrected
0ec0: 20 70 65 64 61 6e 74 69 63 20 63 61 73 74 20 65 pedantic cast e
0ed0: 72 72 6f 72 73 2e 0a 0a 32 30 30 30 2d 30 38 2d rrors...2000-08-
0ee0: 31 36 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 16 Jeff Hobbs
0ef0: 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 <hobbs@scriptics
0f00: 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 73 2f .com>...* tests/
0f10: 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20 69 6d ciphers.test: im
0f20: 70 72 6f 76 65 64 20 61 62 69 6c 69 74 79 20 74 proved ability t
0f30: 6f 20 63 68 61 6e 67 65 20 63 6f 6e 73 74 72 61 o change constra
0f40: 69 6e 74 0a 09 73 65 74 74 69 6e 67 20 66 6f 72 int..setting for
0f50: 20 77 68 65 74 68 65 72 20 75 73 65 72 20 63 6f whether user co
0f60: 6d 70 69 6c 65 64 20 61 67 61 69 6e 73 74 20 52 mpiled against R
0f70: 53 41 20 6f 72 20 4f 70 65 6e 53 53 4c 20 6c 69 SA or OpenSSL li
0f80: 62 73 2e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 bs....* tls.c (T
0f90: 6c 73 5f 49 6e 69 74 29 3a 20 63 6f 72 72 65 63 ls_Init): correc
0fa0: 74 65 64 20 69 6e 74 65 72 70 72 65 74 61 74 69 ted interpretati
0fb0: 6f 6e 20 6f 66 20 76 65 72 73 69 6f 6e 20 6e 75 on of version nu
0fc0: 6d 62 65 72 0a 09 28 70 61 74 63 68 6c 65 76 65 mber..(patchleve
0fd0: 6c 20 61 6e 64 20 72 65 6c 65 61 73 65 2f 73 65 l and release/se
0fe0: 72 69 61 6c 20 77 65 72 65 20 73 77 61 70 70 65 rial were swappe
0ff0: 64 29 2e 0a 0a 32 30 30 30 2d 30 38 2d 31 35 20 d)...2000-08-15
1000: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f Jeff Hobbs <ho
1010: 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f bbs@scriptics.co
1020: 6d 3e 0a 0a 09 2a 20 52 45 41 44 4d 45 2e 74 78 m>...* README.tx
1030: 74 3a 20 61 64 64 65 64 20 6e 6f 74 65 73 20 61 t: added notes a
1040: 62 6f 75 74 20 6e 65 65 64 20 74 6f 20 75 73 65 bout need to use
1050: 20 38 2e 32 2e 30 2b 2e 0a 0a 09 2a 20 74 6c 73 8.2.0+....* tls
1060: 49 6e 74 2e 68 3a 0a 09 2a 20 74 6c 73 2e 63 3a Int.h:..* tls.c:
1070: 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 63 6f 72 ..* tlsIO.c: cor
1080: 72 65 63 74 65 64 20 73 74 72 75 63 74 75 72 65 rected structure
1090: 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 initialization
10a0: 74 6f 20 77 6f 72 6b 20 77 68 65 6e 0a 09 63 6f to work when..co
10b0: 6d 70 69 6c 69 6e 67 20 77 69 74 68 20 38 2e 32 mpiling with 8.2
10c0: 2e 20 20 4e 6f 77 20 63 6f 6d 70 69 6c 65 73 20 . Now compiles
10d0: 77 69 74 68 20 38 2e 32 2b 20 61 6e 64 20 74 65 with 8.2+ and te
10e0: 73 74 65 64 20 74 6f 20 77 6f 72 6b 0a 09 77 69 sted to work..wi
10f0: 74 68 20 38 2e 32 2b 20 61 6e 64 20 64 79 6e 61 th 8.2+ and dyna
1100: 6d 69 63 61 6c 6c 79 20 61 64 6a 75 73 74 20 74 mically adjust t
1110: 6f 20 74 68 65 20 76 65 72 73 69 6f 6e 20 6f 66 o the version of
1120: 20 54 63 6c 20 69 74 20 77 61 73 0a 09 6c 6f 61 Tcl it was..loa
1130: 64 65 64 20 69 6e 74 6f 2e 20 20 54 4c 53 20 77 ded into. TLS w
1140: 69 6c 6c 20 66 61 69 6c 20 74 68 65 20 74 65 73 ill fail the tes
1150: 74 20 73 75 69 74 65 20 77 69 74 68 20 54 63 6c t suite with Tcl
1160: 20 38 2e 32 2d 38 2e 33 2e 31 2e 0a 0a 09 2a 20 8.2-8.3.1....*
1170: 74 65 73 74 73 2f 61 6c 6c 2e 74 63 6c 3a 20 61 tests/all.tcl: a
1180: 64 64 65 64 20 63 61 74 63 68 20 61 72 6f 75 6e dded catch aroun
1190: 64 20 3a 3a 74 63 6c 74 65 73 74 3a 3a 6e 6f 72 d ::tcltest::nor
11a0: 6d 61 6c 69 7a 65 50 61 74 68 0a 09 62 65 63 61 malizePath..beca
11b0: 75 73 65 20 69 74 20 64 6f 65 73 6e 27 74 20 65 use it doesn't e
11c0: 78 69 73 74 20 69 6e 20 70 72 65 2d 38 2e 33 20 xist in pre-8.3
11d0: 74 63 6c 74 65 73 74 2e 0a 0a 09 2a 20 74 65 73 tcltest....* tes
11e0: 74 73 2f 73 69 6d 70 6c 65 43 6c 69 65 6e 74 2e ts/simpleClient.
11f0: 74 63 6c 3a 20 0a 09 2a 20 74 65 73 74 73 2f 73 tcl: ..* tests/s
1200: 69 6d 70 6c 65 53 65 72 76 65 72 2e 74 63 6c 3a impleServer.tcl:
1210: 20 61 64 64 65 64 20 73 69 6d 70 6c 65 20 63 6c added simple cl
1220: 69 65 6e 74 2f 73 65 72 76 65 72 20 74 65 73 74 ient/server test
1230: 20 73 63 72 69 70 74 73 0a 09 74 68 61 74 20 75 scripts..that u
1240: 73 65 20 74 65 73 74 20 63 65 72 74 73 20 61 6e se test certs an
1250: 64 20 63 61 6e 20 64 6f 20 73 69 6d 70 6c 65 20 d can do simple
1260: 73 74 72 65 73 73 20 74 65 73 74 73 2e 0a 0a 32 stress tests...2
1270: 30 30 30 2d 30 38 2d 31 34 20 20 4a 65 66 66 20 000-08-14 Jeff
1280: 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 Hobbs <hobbs@sc
1290: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a riptics.com>...*
12a0: 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 74 6c tlsInt.h:..* tl
12b0: 73 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 42 49 4f sIO.c:..* tlsBIO
12c0: 2e 63 3a 0a 09 2a 20 74 6c 73 2e 63 3a 20 63 68 .c:..* tls.c: ch
12d0: 61 6e 67 65 64 20 61 72 6f 75 6e 64 20 74 6f 20 anged around to
12e0: 6f 6e 6c 79 20 77 6f 72 6b 69 6e 67 20 77 69 74 only working wit
12f0: 68 20 38 2e 32 2e 30 2b 20 28 38 2e 33 2e 32 2b h 8.2.0+ (8.3.2+
1300: 0a 09 70 72 65 66 65 72 72 65 64 29 2c 20 77 69 ..preferred), wi
1310: 74 68 20 72 75 6e 74 69 6d 65 20 63 68 65 63 6b th runtime check
1320: 73 20 66 6f 72 20 70 72 65 2d 20 61 6e 64 20 70 s for pre- and p
1330: 6f 73 74 2d 69 6f 2d 72 65 77 72 69 74 65 2e 0a ost-io-rewrite..
1340: 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 ..* tls.c (Tls_I
1350: 6e 69 74 29 3a 20 63 68 61 6e 67 65 64 20 69 74 nit): changed it
1360: 20 74 6f 20 72 65 71 75 69 72 65 20 38 2e 33 2e to require 8.3.
1370: 32 20 77 68 65 6e 20 54 63 6c 5f 49 6e 69 74 53 2 when Tcl_InitS
1380: 74 75 62 73 0a 09 77 61 73 20 63 61 6c 6c 65 64 tubs..was called
1390: 20 62 65 63 61 75 73 65 20 77 65 20 64 6f 6e 27 because we don'
13a0: 74 20 77 61 6e 74 20 70 65 6f 70 6c 65 20 75 73 t want people us
13b0: 69 6e 67 20 54 4c 53 20 77 69 74 68 20 74 68 65 ing TLS with the
13c0: 0a 09 6f 72 69 67 69 6e 61 6c 20 73 74 61 63 6b ..original stack
13d0: 65 64 20 63 68 61 6e 6e 65 6c 20 69 6d 70 6c 65 ed channel imple
13e0: 6d 65 6e 74 61 74 69 6f 6e 2e 0a 0a 32 30 30 30 mentation...2000
13f0: 2d 30 37 2d 32 36 20 20 4a 65 66 66 20 48 6f 62 -07-26 Jeff Hob
1400: 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 bs <hobbs@scrip
1410: 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 6d 65 tics.com>...* me
1420: 72 67 65 64 20 61 6c 6c 20 63 68 61 6e 67 65 73 rged all changes
1430: 20 66 72 6f 6d 20 74 6c 73 2d 31 2d 33 2d 69 6f from tls-1-3-io
1440: 2d 72 65 77 72 69 74 65 20 62 61 63 6b 20 69 6e -rewrite back in
1450: 74 6f 20 6d 61 69 6e 20 62 72 61 6e 63 68 0a 0a to main branch..
1460: 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 .* tests/tlsIO.t
1470: 65 73 74 3a 20 75 70 64 61 74 65 64 20 63 6f 6d est: updated com
1480: 6d 65 6e 74 73 2c 20 66 69 78 65 64 20 61 20 70 ments, fixed a p
1490: 63 43 72 61 73 68 20 63 61 73 65 20 74 68 61 74 cCrash case that
14a0: 0a 09 77 61 73 20 64 75 65 20 74 6f 20 64 65 62 ..was due to deb
14b0: 75 67 20 61 73 73 65 72 74 69 6f 6e 20 69 6e 20 ug assertion in
14c0: 57 69 6e 64 6f 77 73 20 53 53 4c 2e 0a 0a 09 2a Windows SSL....*
14d0: 20 74 6c 73 2e 63 20 28 49 6d 70 6f 72 74 4f 62 tls.c (ImportOb
14e0: 6a 43 6d 64 29 3a 20 72 65 6d 6f 76 65 64 20 75 jCmd): removed u
14f0: 6e 6e 65 63 65 73 73 61 72 79 20 75 73 65 20 6f nnecessary use o
1500: 66 20 27 62 69 6f 27 20 61 72 67 2e 0a 09 28 54 f 'bio' arg...(T
1510: 6c 73 5f 49 6e 69 74 29 3a 20 63 68 65 63 6b 20 ls_Init): check
1520: 72 65 74 75 72 6e 20 76 61 6c 75 65 20 6f 66 20 return value of
1530: 53 53 4c 5f 6c 69 62 72 61 72 79 5f 69 6e 69 74 SSL_library_init
1540: 2e 20 20 41 6c 73 6f 20 6c 6f 74 73 20 6f 66 0a . Also lots of.
1550: 09 77 68 69 74 65 73 70 61 63 65 20 63 6c 65 61 .whitespace clea
1560: 6e 75 70 20 28 6d 6f 72 65 20 6c 69 6b 65 20 54 nup (more like T
1570: 63 6c 20 45 6e 67 20 73 74 79 6c 65 20 67 75 69 cl Eng style gui
1580: 64 65 29 2c 20 62 75 74 20 6e 6f 74 20 61 6c 6c de), but not all
1590: 0a 09 63 6f 64 65 20 77 61 73 20 63 6c 65 61 6e ..code was clean
15a0: 65 64 20 75 70 2e 0a 0a 09 2a 20 74 6c 73 42 49 ed up....* tlsBI
15b0: 4f 2e 63 3a 20 6d 69 6e 6f 72 20 77 68 69 74 65 O.c: minor white
15c0: 73 70 61 63 65 20 63 6c 65 61 6e 75 70 0a 0a 09 space cleanup...
15d0: 2a 20 74 6c 73 49 4f 2e 63 3a 20 6d 69 6e 6f 72 * tlsIO.c: minor
15e0: 20 77 68 69 74 65 73 70 61 63 65 20 63 6c 65 61 whitespace clea
15f0: 6e 75 70 2e 0a 09 28 54 6c 73 49 6e 70 75 74 50 nup...(TlsInputP
1600: 72 6f 63 2c 20 54 6c 73 4f 75 74 70 75 74 50 72 roc, TlsOutputPr
1610: 6f 63 29 3a 20 41 64 64 65 64 20 45 52 52 5f 63 oc): Added ERR_c
1620: 6c 65 61 72 5f 65 72 72 6f 72 20 62 65 66 6f 72 lear_error befor
1630: 65 20 63 61 6c 6c 73 0a 09 74 6f 20 42 49 4f 5f e calls..to BIO_
1640: 72 65 61 64 20 6f 72 20 42 49 4f 5f 77 72 69 74 read or BIO_writ
1650: 65 2c 20 62 65 63 61 75 73 65 20 77 65 20 63 6f e, because we co
1660: 75 6c 64 20 6f 74 68 65 72 77 69 73 65 20 65 6e uld otherwise en
1670: 64 20 75 70 0a 09 70 75 6c 6c 69 6e 67 20 61 6e d up..pulling an
1680: 20 65 72 72 6f 72 20 6f 66 66 20 74 68 65 20 73 error off the s
1690: 74 61 63 6b 20 74 68 61 74 20 64 69 64 6e 27 74 tack that didn't
16a0: 20 62 65 6c 6f 6e 67 20 74 6f 20 75 73 2e 20 20 belong to us.
16b0: 41 6c 73 6f 0a 09 63 6c 65 61 6e 75 70 20 75 70 Also..cleanup up
16c0: 20 65 78 63 65 73 73 69 76 65 20 75 73 65 20 6f excessive use o
16d0: 66 20 67 6f 74 6f 73 2e 0a 0a 32 30 30 30 2d 30 f gotos...2000-0
16e0: 37 2d 32 30 20 20 4a 65 66 66 20 48 6f 62 62 73 7-20 Jeff Hobbs
16f0: 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 <hobbs@scripti
1700: 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 cs.com>...* test
1710: 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 63 6f s/tlsIO.test: co
1720: 72 72 65 63 74 65 64 20 76 61 72 69 6f 75 73 20 rrected various
1730: 74 65 73 74 73 20 74 6f 20 62 65 20 63 6f 72 72 tests to be corr
1740: 65 63 74 20 66 6f 72 20 54 4c 53 0a 09 73 74 61 ect for TLS..sta
1750: 63 6b 65 64 20 63 68 61 6e 6e 65 6c 73 20 28 61 cked channels (a
1760: 73 20 6f 70 70 6f 73 65 64 20 74 6f 20 74 68 65 s opposed to the
1770: 20 73 74 61 6e 64 61 72 64 20 73 6f 63 6b 65 74 standard socket
1780: 73 20 74 68 65 20 74 65 73 74 0a 09 73 75 69 74 s the test..suit
1790: 65 20 77 61 73 20 61 64 6f 70 74 65 64 20 66 72 e was adopted fr
17a0: 6f 6d 29 2e 20 20 4b 65 79 20 64 69 66 66 65 72 om). Key differ
17b0: 65 6e 63 65 73 20 61 72 65 20 74 68 61 74 20 54 ences are that T
17c0: 4c 53 20 63 61 6e 6e 6f 74 0a 09 6f 70 65 72 61 LS cannot..opera
17d0: 74 65 20 69 6e 20 6f 6e 65 20 70 72 6f 63 65 73 te in one proces
17e0: 73 20 77 69 74 68 6f 75 74 20 61 6c 6c 20 63 68 s without all ch
17f0: 61 6e 6e 65 6c 73 20 62 65 69 6e 67 20 6e 6f 6e annels being non
1800: 2d 62 6c 6f 63 6b 69 6e 67 2c 20 6f 72 0a 09 74 -blocking, or..t
1810: 68 65 20 68 61 6e 64 73 68 61 6b 65 20 77 69 6c he handshake wil
1820: 6c 20 62 6c 6f 63 6b 2c 20 61 6e 64 20 68 61 6e l block, and han
1830: 64 73 68 61 6b 69 6e 67 20 6d 75 73 74 20 62 65 dshaking must be
1840: 20 66 6f 72 63 65 64 20 69 6e 20 73 6f 6d 65 0a forced in some.
1850: 09 63 61 73 65 73 2e 20 20 41 6c 73 6f 2c 20 68 .cases. Also, h
1860: 61 6e 64 73 68 61 6b 65 73 20 64 6f 6e 27 74 20 andshakes don't
1870: 73 65 65 6d 20 74 6f 20 63 6f 6d 70 6c 65 74 65 seem to complete
1880: 20 75 6e 6c 65 73 73 20 74 68 65 20 63 6c 69 65 unless the clie
1890: 6e 74 0a 09 68 61 73 20 70 6c 61 63 65 64 20 61 nt..has placed a
18a0: 74 20 6c 65 61 73 74 20 6f 6e 65 20 62 79 74 65 t least one byte
18b0: 20 66 6f 72 20 74 68 65 20 73 65 72 76 65 72 20 for the server
18c0: 74 6f 20 72 65 61 64 20 69 6e 20 74 68 65 20 63 to read in the c
18d0: 68 61 6e 6e 65 6c 2e 0a 0a 09 2a 20 74 65 73 74 hannel....* test
18e0: 73 2f 72 65 6d 6f 74 65 2e 74 63 6c 3a 20 63 6f s/remote.tcl: co
18f0: 72 72 65 63 74 65 64 20 74 68 65 20 66 69 6e 64 rrected the find
1900: 69 6e 67 20 6f 66 20 74 65 73 74 73 20 63 65 72 ing of tests cer
1910: 74 69 66 69 63 61 74 65 73 0a 0a 09 2a 20 74 6c tificates...* tl
1920: 73 49 4f 2e 63 20 28 54 6c 73 43 6c 6f 73 65 50 sIO.c (TlsCloseP
1930: 72 6f 63 29 3a 20 72 65 6d 6f 76 65 64 20 64 65 roc): removed de
1940: 6c 65 74 69 6e 67 20 6f 66 20 74 69 6d 65 72 20 leting of timer
1950: 68 61 6e 64 6c 65 72 20 61 73 0a 09 74 68 61 74 handler as..that
1960: 20 69 73 20 68 61 6e 64 6c 65 64 20 62 79 20 54 is handled by T
1970: 6c 73 5f 43 6c 65 61 6e 2e 0a 0a 09 2a 20 74 6c ls_Clean....* tl
1980: 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 5f 61 63 63 s.tcl (tls::_acc
1990: 65 70 74 29 3a 20 63 6f 72 72 65 63 74 65 64 20 ept): corrected
19a0: 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 5f 61 63 the internal _ac
19b0: 63 65 70 74 20 74 6f 0a 09 74 72 69 63 6b 6c 65 cept to..trickle
19c0: 20 63 61 6c 6c 62 61 63 6b 20 65 72 72 6f 72 73 callback errors
19d0: 20 74 6f 20 74 68 65 20 75 73 65 72 2e 0a 0a 09 to the user....
19e0: 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 6d * Makefile.in: m
19f0: 61 64 65 20 74 68 65 20 69 6e 73 74 61 6c 6c 2d ade the install-
1a00: 62 69 6e 61 72 69 65 73 20 74 61 72 67 65 74 20 binaries target
1a10: 72 65 67 65 6e 65 72 61 74 65 20 74 68 65 0a 09 regenerate the..
1a20: 70 6b 67 49 6e 64 65 78 2e 74 63 6c 20 63 6f 72 pkgIndex.tcl cor
1a30: 72 65 63 74 6c 79 2e 20 20 54 68 65 20 74 65 73 rectly. The tes
1a40: 74 20 74 61 72 67 65 74 20 70 72 6f 62 61 62 6c t target probabl
1a50: 79 20 73 68 6f 75 6c 64 6e 27 74 20 73 63 72 65 y shouldn't scre
1a60: 77 0a 09 69 74 20 75 70 2c 20 62 75 74 20 74 68 w..it up, but th
1a70: 69 73 20 69 73 20 74 6f 20 62 65 20 6f 6e 20 74 is is to be on t
1a80: 68 65 20 73 61 66 65 20 73 69 64 65 2e 0a 0a 32 he safe side...2
1a90: 30 30 30 2d 30 37 2d 31 37 20 20 4a 65 66 66 20 000-07-17 Jeff
1aa0: 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 Hobbs <hobbs@sc
1ab0: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a riptics.com>...*
1ac0: 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c 2e 69 6e pkgIndex.tcl.in
1ad0: 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 :..* configure.i
1ae0: 6e 3a 20 75 70 64 61 74 65 64 20 76 65 72 73 69 n: updated versi
1af0: 6f 6e 20 74 6f 20 31 2e 34 0a 0a 32 30 30 30 2d on to 1.4..2000-
1b00: 30 37 2d 31 33 20 20 4a 65 66 66 20 48 6f 62 62 07-13 Jeff Hobb
1b10: 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 s <hobbs@script
1b20: 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73 ics.com>...* tes
1b30: 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 65 ts/tlsIO.test: e
1b40: 6e 61 62 6c 65 64 20 74 65 73 74 73 20 32 2e 31 nabled tests 2.1
1b50: 30 2c 20 37 2e 5b 31 32 34 35 5d 20 28 74 68 65 0, 7.[1245] (the
1b60: 72 65 20 69 73 20 6e 6f 20 33 29 2c 0a 09 77 68 re is no 3),..wh
1b70: 69 63 68 20 6e 6f 77 20 70 61 73 73 2e 20 20 41 ich now pass. A
1b80: 64 64 65 64 20 73 6f 6d 65 20 63 6f 6d 6d 65 6e dded some commen
1b90: 74 73 20 74 6f 20 6f 74 68 65 72 20 66 61 69 6c ts to other fail
1ba0: 69 6e 67 20 74 65 73 74 73 2e 0a 0a 32 30 30 30 ing tests...2000
1bb0: 2d 30 37 2d 31 31 20 20 4a 65 66 66 20 48 6f 62 -07-11 Jeff Hob
1bc0: 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 bs <hobbs@scrip
1bd0: 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c tics.com>...* tl
1be0: 73 49 4f 2e 63 3a 20 63 68 61 6e 67 65 64 20 61 sIO.c: changed a
1bf0: 6c 6c 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 70 ll the channel p
1c00: 72 6f 63 73 20 74 6f 20 73 74 61 72 74 20 77 69 rocs to start wi
1c10: 74 68 20 54 6c 73 2a 20 66 6f 72 0a 09 62 65 74 th Tls* for..bet
1c20: 74 65 72 20 70 61 72 69 74 79 20 77 68 65 6e 20 ter parity when
1c30: 63 6f 6d 70 61 72 69 6e 67 20 77 69 74 68 20 54 comparing with T
1c40: 72 61 6e 73 66 6f 72 6d 20 63 68 61 6e 6e 65 6c ransform channel
1c50: 20 70 72 6f 63 73 2e 0a 09 52 65 77 72 6f 74 65 procs...Rewrote
1c60: 20 54 6c 73 57 61 74 63 68 50 72 6f 63 2c 20 61 TlsWatchProc, a
1c70: 64 64 65 64 20 54 6c 73 4e 6f 74 69 66 79 50 72 dded TlsNotifyPr
1c80: 6f 63 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 oc according to
1c90: 74 68 65 20 6e 65 77 0a 09 63 68 61 6e 6e 65 6c the new..channel
1ca0: 20 64 65 73 69 67 6e 2c 20 77 68 69 63 68 20 61 design, which a
1cb0: 6c 73 6f 20 6c 65 61 76 65 73 20 54 6c 73 43 68 lso leaves TlsCh
1cc0: 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 20 75 6e 75 annelHandler unu
1cd0: 73 65 64 2e 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e sed....* tlsBIO.
1ce0: 63 20 28 42 69 6f 43 74 72 6c 29 3a 20 63 68 61 c (BioCtrl): cha
1cf0: 6e 67 65 64 20 42 49 4f 5f 43 54 52 4c 5f 46 4c nged BIO_CTRL_FL
1d00: 55 53 48 20 63 61 73 65 20 74 6f 20 75 73 65 0a USH case to use.
1d10: 09 54 63 6c 5f 57 72 69 74 65 52 61 77 20 69 6e .Tcl_WriteRaw in
1d20: 73 74 65 61 64 20 6f 66 20 54 63 6c 5f 46 6c 75 stead of Tcl_Flu
1d30: 73 68 20 28 74 6f 20 6f 70 65 72 61 74 65 20 6f sh (to operate o
1d40: 6e 20 63 6f 72 72 65 63 74 20 63 68 61 6e 6e 65 n correct channe
1d50: 6c 0a 09 69 6e 20 74 68 65 20 73 74 61 63 6b 20 l..in the stack
1d60: 69 6e 73 74 65 61 64 20 6f 66 20 73 74 61 72 74 instead of start
1d70: 69 6e 67 20 61 74 20 74 68 65 20 74 6f 70 20 61 ing at the top a
1d80: 67 61 69 6e 29 2e 20 20 57 6f 75 6c 64 0a 09 6f gain). Would..o
1d90: 74 68 65 72 77 69 73 65 20 63 61 75 73 65 20 61 therwise cause a
1da0: 20 72 65 63 75 72 73 69 76 65 20 73 74 61 63 6b recursive stack
1db0: 20 62 6f 6d 62 20 77 68 65 6e 20 69 6d 70 6c 69 bomb when impli
1dc0: 63 69 74 20 68 61 6e 64 73 68 61 6b 69 6e 67 0a cit handshaking.
1dd0: 09 74 6f 6f 6b 20 65 66 66 65 63 74 2e 0a 0a 09 .took effect....
1de0: 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 * tests/tlsIO.te
1df0: 73 74 3a 20 72 65 6d 6f 76 65 64 20 63 68 61 6e st: removed chan
1e00: 67 65 73 20 6d 61 64 65 20 74 6f 20 74 65 73 74 ges made to test
1e10: 20 73 75 69 74 65 20 28 61 6c 6c 20 74 65 73 74 suite (all test
1e20: 73 0a 09 74 68 61 74 20 72 61 6e 20 62 65 66 6f s..that ran befo
1e30: 72 65 20 6e 6f 77 20 70 61 73 73 20 63 6f 72 72 re now pass corr
1e40: 65 63 74 6c 79 29 2c 20 61 6e 64 20 63 68 61 6e ectly), and chan
1e50: 67 65 64 20 73 6f 6d 65 20 61 63 63 65 70 74 20 ged some accept
1e60: 70 72 6f 63 0a 09 61 72 67 73 20 74 6f 20 72 65 proc..args to re
1e70: 66 6c 65 63 74 20 74 68 61 74 20 61 20 73 6f 63 flect that a soc
1e80: 6b 20 69 73 20 61 6e 20 61 72 67 2c 20 6e 6f 74 k is an arg, not
1e90: 20 61 20 66 69 6c 65 2e 0a 0a 32 30 30 30 2d 30 a file...2000-0
1ea0: 37 2d 31 30 20 20 4a 65 66 66 20 48 6f 62 62 73 7-10 Jeff Hobbs
1eb0: 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 <hobbs@scripti
1ec0: 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 42 cs.com>...* tlsB
1ed0: 49 4f 2e 63 20 28 42 69 6f 57 72 69 74 65 2c 20 IO.c (BioWrite,
1ee0: 42 69 6f 52 65 61 64 29 3a 20 63 68 61 6e 67 65 BioRead): change
1ef0: 64 20 54 63 6c 5f 52 65 61 64 2f 57 72 69 74 65 d Tcl_Read/Write
1f00: 20 74 6f 0a 09 54 63 6c 5f 52 65 61 64 52 61 77 to..Tcl_ReadRaw
1f10: 2f 54 63 6c 57 72 69 74 65 52 61 77 2e 0a 0a 09 /TclWriteRaw....
1f20: 2a 20 74 6c 73 2e 63 3a 20 61 64 64 65 64 20 75 * tls.c: added u
1f30: 73 65 20 6f 66 20 54 63 6c 5f 47 65 74 54 6f 70 se of Tcl_GetTop
1f40: 43 68 61 6e 6e 65 6c 20 61 66 74 65 72 20 54 63 Channel after Tc
1f50: 6c 5f 47 65 74 43 68 61 6e 6e 65 6c 20 61 6e 64 l_GetChannel and
1f60: 0a 09 67 6f 74 20 72 65 74 75 72 6e 20 76 61 6c ..got return val
1f70: 75 65 20 66 72 6f 6d 20 54 63 6c 5f 53 74 61 63 ue from Tcl_Stac
1f80: 6b 43 68 61 6e 6e 65 6c 2e 0a 0a 09 2a 20 74 65 kChannel....* te
1f90: 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 sts/tlsIO.test:
1fa0: 61 64 64 65 64 20 73 6f 6d 65 20 68 61 6e 64 73 added some hands
1fb0: 68 61 6b 69 6e 67 20 74 68 61 74 20 73 68 6f 75 haking that shou
1fc0: 6c 64 6e 27 74 20 62 65 0a 09 6e 65 63 65 73 73 ldn't be..necess
1fd0: 61 72 79 2c 20 62 75 74 20 77 65 20 63 72 61 73 ary, but we cras
1fe0: 68 20 6f 74 68 65 72 77 69 73 65 20 28 6e 65 65 h otherwise (nee
1ff0: 64 73 20 6d 6f 72 65 20 74 65 73 74 69 6e 67 29 ds more testing)
2000: 2e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 61 ....* tlsIO.c: a
2010: 64 64 65 64 20 73 75 70 70 6f 72 74 20 66 6f 72 dded support for
2020: 20 22 63 6f 72 72 65 63 74 65 64 22 20 73 74 61 "corrected" sta
2030: 63 6b 65 64 20 63 68 61 6e 6e 65 6c 73 2e 20 20 cked channels.
2040: 41 6c 6c 0a 09 74 68 65 20 61 62 6f 76 65 20 63 All..the above c
2050: 68 61 6e 6e 65 6c 73 20 61 72 65 20 69 6e 20 54 hannels are in T
2060: 43 4c 5f 43 48 41 4e 4e 45 4c 5f 56 45 52 53 49 CL_CHANNEL_VERSI
2070: 4f 4e 5f 32 20 23 69 66 64 65 66 73 2e 0a 0a 32 ON_2 #ifdefs...2
2080: 30 30 30 2d 30 36 2d 30 35 20 20 53 63 6f 74 74 000-06-05 Scott
2090: 20 53 74 61 6e 74 6f 6e 20 20 3c 73 74 61 6e 74 Stanton <stant
20a0: 6f 6e 40 61 6a 75 62 61 73 6f 6c 75 74 69 6f 6e on@ajubasolution
20b0: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 4d 61 6b 65 66 s.com>...* Makef
20c0: 69 6c 65 2e 69 6e 3a 20 46 69 78 65 64 20 62 72 ile.in: Fixed br
20d0: 6f 6b 65 6e 20 74 65 73 74 20 74 61 72 67 65 74 oken test target
20e0: 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 20 ....* tlsInt.h:
20f0: 0a 09 2a 20 74 6c 73 2e 63 3a 20 43 6c 65 61 6e ..* tls.c: Clean
2100: 65 64 20 75 70 20 64 65 63 6c 61 72 61 74 69 6f ed up declaratio
2110: 6e 73 20 6f 66 20 54 6c 73 5f 43 6c 65 61 6e 20 ns of Tls_Clean
2120: 74 6f 20 61 76 6f 69 64 20 65 72 72 6f 72 73 20 to avoid errors
2130: 6f 6e 0a 09 57 69 6e 64 6f 77 73 20 28 6c 69 6e on..Windows (lin
2140: 74 29 2e 0a 0a 32 30 30 30 2d 30 36 2d 30 35 20 t)...2000-06-05
2150: 20 42 72 65 6e 74 20 57 65 6c 63 68 20 3c 77 65 Brent Welch <we
2160: 6c 63 68 40 61 6a 75 62 61 73 6f 6c 75 74 69 6f lch@ajubasolutio
2170: 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e ns.com>...* tls.
2180: 63 2c 20 74 6c 73 49 4f 2e 63 3a 20 20 53 70 6c c, tlsIO.c: Spl
2190: 69 74 20 54 6c 73 5f 46 72 65 65 20 69 6e 74 6f it Tls_Free into
21a0: 20 54 6c 73 5f 43 6c 65 61 6e 2c 20 77 68 69 63 Tls_Clean, whic
21b0: 68 20 64 6f 65 73 0a 09 74 68 65 20 53 53 4c 20 h does..the SSL
21c0: 63 6c 65 61 6e 75 70 2c 20 61 6e 64 20 74 68 65 cleanup, and the
21d0: 20 54 63 6c 5f 46 72 65 65 20 63 61 6c 6c 2e 20 Tcl_Free call.
21e0: 20 49 74 20 69 73 20 69 6d 70 6f 72 74 61 6e 74 It is important
21f0: 20 74 6f 20 73 68 75 74 64 6f 77 6e 0a 09 74 68 to shutdown..th
2200: 65 20 53 53 4c 20 73 74 61 74 65 20 22 73 79 6e e SSL state "syn
2210: 63 68 72 6f 6e 6f 75 73 6c 79 22 20 64 75 72 69 chronously" duri
2220: 6e 67 20 61 20 73 74 61 63 6b 65 64 20 66 6c 75 ng a stacked flu
2230: 73 68 2e 0a 0a 32 30 30 30 2d 30 36 2d 30 31 20 sh...2000-06-01
2240: 20 53 63 6f 74 74 20 53 74 61 6e 74 6f 6e 20 20 Scott Stanton
2250: 3c 73 74 61 6e 74 6f 6e 40 61 6a 75 62 61 73 6f <stanton@ajubaso
2260: 6c 75 74 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a lutions.com>...*
2270: 20 74 6c 73 49 4f 2e 63 3a 20 52 65 73 74 6f 72 tlsIO.c: Restor
2280: 65 64 20 63 61 6c 6c 20 74 6f 20 54 63 6c 5f 4e ed call to Tcl_N
2290: 6f 74 69 66 79 43 68 61 6e 6e 65 6c 20 66 72 6f otifyChannel fro
22a0: 6d 20 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 m ChannelHandler
22b0: 0a 09 74 6f 20 65 6e 73 75 72 65 20 74 68 61 74 ..to ensure that
22c0: 20 65 76 65 6e 74 73 20 70 72 6f 70 61 67 61 74 events propagat
22d0: 65 20 66 72 6f 6d 20 74 68 65 20 6c 6f 77 65 72 e from the lower
22e0: 20 64 72 69 76 65 72 2e 20 20 54 68 69 73 20 6d driver. This m
22f0: 61 79 0a 09 72 65 73 75 6c 74 20 69 6e 20 61 6e ay..result in an
2300: 20 69 6e 66 69 6e 69 74 65 20 6c 6f 6f 70 20 69 infinite loop i
2310: 6e 20 73 6f 6d 65 20 63 61 73 65 73 2c 20 73 6f n some cases, so
2320: 20 74 68 69 73 20 69 73 20 6e 6f 74 20 61 20 74 this is not a t
2330: 6f 74 61 6c 0a 09 66 69 78 2e 20 20 54 68 69 73 otal..fix. This
2340: 20 6d 61 79 20 62 65 20 73 75 66 66 69 63 69 65 may be sufficie
2350: 6e 74 20 66 6f 72 20 6e 6f 77 2c 20 68 6f 77 65 nt for now, howe
2360: 76 65 72 2e 20 5b 42 75 67 3a 20 35 36 32 33 5d ver. [Bug: 5623]
2370: 0a 0a 32 30 30 30 2d 30 36 2d 30 31 20 20 53 63 ..2000-06-01 Sc
2380: 6f 74 74 20 53 74 61 6e 74 6f 6e 20 20 3c 73 74 ott Stanton <st
2390: 61 6e 74 6f 6e 40 73 63 72 69 70 74 69 63 73 2e anton@scriptics.
23a0: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 com>...* tlsIO.c
23b0: 3a 20 52 65 73 74 6f 72 65 20 74 68 65 20 70 72 : Restore the pr
23c0: 65 76 69 6f 75 73 20 76 65 72 73 69 6f 6e 2e 20 evious version.
23d0: 20 46 69 78 65 64 20 74 68 65 20 43 6c 6f 73 65 Fixed the Close
23e0: 50 72 6f 63 20 73 6f 0a 09 69 74 20 75 6e 72 65 Proc so..it unre
23f0: 67 69 73 74 65 72 73 20 74 68 65 20 63 68 61 6e gisters the chan
2400: 6e 65 6c 20 68 61 6e 64 6c 65 72 20 6f 6e 20 74 nel handler on t
2410: 68 65 20 73 75 70 65 72 63 65 64 65 64 20 63 68 he superceded ch
2420: 61 6e 6e 65 6c 0a 09 69 6e 73 74 65 61 64 20 6f annel..instead o
2430: 66 20 74 68 65 20 75 70 70 65 72 20 63 68 61 6e f the upper chan
2440: 6e 65 6c 2e 20 41 6c 73 6f 20 72 65 6d 6f 76 65 nel. Also remove
2450: 64 20 74 68 65 20 63 61 6c 6c 20 74 6f 0a 09 54 d the call to..T
2460: 63 6c 5f 4e 6f 74 69 66 79 43 68 61 6e 6e 65 6c cl_NotifyChannel
2470: 20 69 6e 20 74 68 65 20 43 68 61 6e 6e 65 6c 48 in the ChannelH
2480: 61 6e 64 6c 65 72 20 62 65 63 61 75 73 65 20 74 andler because t
2490: 68 69 73 20 77 69 6c 6c 20 72 65 73 75 6c 74 0a his will result.
24a0: 09 69 6e 20 61 6e 20 69 6e 66 69 6e 69 74 65 20 .in an infinite
24b0: 6c 6f 6f 70 20 69 66 20 64 61 74 61 20 69 73 20 loop if data is
24c0: 65 76 65 72 20 62 75 66 66 65 72 65 64 20 69 6e ever buffered in
24d0: 20 74 68 65 20 42 49 4f 0a 09 73 74 72 75 63 74 the BIO..struct
24e0: 75 72 65 2e 20 5b 42 75 67 3a 20 35 36 32 33 5d ure. [Bug: 5623]
24f0: 0a 0a 32 30 30 30 2d 30 35 2d 33 31 20 20 42 72 ..2000-05-31 Br
2500: 65 6e 74 20 57 65 6c 63 68 20 3c 77 65 6c 63 68 ent Welch <welch
2510: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a @scriptics.com>.
2520: 0a 09 2a 20 74 6c 73 2e 63 3a 20 43 68 61 6e 67 ..* tls.c: Chang
2530: 65 20 74 68 65 20 43 68 61 6e 6e 65 6c 48 61 6e e the ChannelHan
2540: 64 6c 65 72 20 74 6f 20 62 65 20 72 65 67 69 73 dler to be regis
2550: 74 65 72 65 64 20 6f 6e 20 74 68 65 20 6d 61 69 tered on the mai
2560: 6e 0a 09 63 68 61 6e 6e 65 6c 20 61 73 20 6f 70 n..channel as op
2570: 70 73 65 64 20 74 6f 20 74 68 65 20 22 70 61 72 psed to the "par
2580: 65 6e 74 22 2c 20 6f 72 20 73 75 70 65 72 63 65 ent", or superce
2590: 65 64 65 64 2c 20 63 68 61 6e 6e 65 6c 2e 20 20 eded, channel.
25a0: 54 68 69 73 0a 09 69 73 20 62 65 63 61 75 73 65 This..is because
25b0: 20 74 68 65 20 73 6f 63 6b 65 74 20 64 72 69 76 the socket driv
25c0: 65 72 20 6e 6f 74 69 66 69 65 73 20 74 68 65 20 er notifies the
25d0: 6d 61 69 6e 20 63 68 61 6e 6e 65 6c 2c 20 61 6e main channel, an
25e0: 64 20 74 68 65 72 65 0a 09 61 72 65 20 74 69 6d d there..are tim
25f0: 65 73 20 77 69 74 68 20 74 68 65 20 6d 61 69 6e es with the main
2600: 20 63 68 61 6e 6e 65 6c 20 67 65 74 73 20 63 6c channel gets cl
2610: 6f 73 65 64 2c 20 62 75 74 20 74 68 65 20 73 75 osed, but the su
2620: 70 65 72 63 65 64 65 64 0a 09 6f 6e 65 20 69 73 perceded..one is
2630: 20 6e 6f 74 20 79 65 74 20 63 6c 6f 73 65 64 2e not yet closed.
2640: 20 20 49 66 20 74 68 65 20 63 68 61 6e 6e 65 6c If the channel
2650: 20 68 61 6e 64 6c 65 72 20 67 65 74 73 20 74 72 handler gets tr
2660: 69 67 67 65 72 65 64 20 69 6e 0a 09 74 68 69 73 iggered in..this
2670: 20 68 61 6c 66 2d 6f 70 65 6e 20 73 74 61 74 65 half-open state
2680: 20 69 74 20 69 73 20 61 73 73 6f 63 69 61 74 65 it is associate
2690: 64 20 77 69 74 68 20 74 68 65 20 73 75 70 65 72 d with the super
26a0: 63 65 65 64 65 64 0a 09 63 68 61 6e 6e 65 64 6c ceeded..channedl
26b0: 2c 20 62 75 74 20 75 73 65 73 20 69 74 73 20 70 , but uses its p
26c0: 72 69 76 61 74 65 20 70 6f 69 6e 74 65 72 20 74 rivate pointer t
26d0: 6f 20 74 68 65 20 6d 61 69 6e 20 63 68 61 6e 6e o the main chann
26e0: 65 6c 2c 20 77 68 69 63 68 0a 09 69 73 20 6d 6f el, which..is mo
26f0: 73 74 6c 79 20 64 65 73 74 72 6f 79 65 64 2e 20 stly destroyed.
2700: 20 45 6c 69 6d 69 6e 61 74 65 64 20 74 68 65 20 Eliminated the
2710: 72 65 64 75 6e 64 61 6e 74 20 63 61 6c 6c 20 74 redundant call t
2720: 6f 0a 09 54 63 6c 5f 4e 6f 74 69 66 79 43 68 61 o..Tcl_NotifyCha
2730: 6e 6e 65 6c 20 66 72 6f 6d 20 54 6c 73 57 61 74 nnel from TlsWat
2740: 63 68 50 72 6f 63 2e 20 5b 42 75 67 3a 20 35 36 chProc. [Bug: 56
2750: 32 33 5d 0a 23].