Artifact
3fa890a8afd115c7890334cfe9e93010eee4fd65:
0000: 32 30 30 35 2d 30 32 2d 30 38 20 20 4a 65 66 66 2005-02-08 Jeff
0010: 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 Hobbs <jeffh@A
0020: 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a ctiveState.com>.
0030: 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 2c ..* Makefile.in,
0040: 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d tclconfig/tcl.m
0050: 34 3a 20 75 70 64 61 74 65 20 74 6f 20 54 45 41 4: update to TEA
0060: 20 33 2e 32 0a 09 2a 20 63 6f 6e 66 69 67 75 72 3.2..* configur
0070: 65 2c 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a e, configure.in:
0080: 20 0a 0a 32 30 30 34 2d 31 32 2d 32 33 20 20 50 ..2004-12-23 P
0090: 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 at Thoyts <patt
00a0: 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 hoyts@users.sour
00b0: 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a ceforge.net>...*
00c0: 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 20 20 Makefile.in:
00d0: 20 20 20 52 65 6d 6f 76 65 64 20 73 70 75 72 69 Removed spuri
00e0: 6f 75 73 20 63 6f 70 79 69 6e 67 20 6f 66 20 74 ous copying of t
00f0: 6c 73 2e 74 63 6c 20 69 6e 74 6f 20 74 68 65 0a ls.tcl into the.
0100: 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .
0110: 20 20 20 20 20 62 75 69 6c 64 20 64 69 72 65 63 build direc
0120: 74 6f 72 79 2e 0a 0a 32 30 30 34 2d 31 32 2d 32 tory...2004-12-2
0130: 32 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 2 Pat Thoyts <
0140: 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e patthoyts@users.
0150: 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e sourceforge.net>
0160: 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 ...* configure.i
0170: 6e 3a 20 20 20 20 20 49 6e 63 72 65 6d 65 6e 74 n: Increment
0180: 65 64 20 6d 69 6e 6f 72 20 76 65 72 73 69 6f 6e ed minor version
0190: 20 74 6f 20 31 2e 35 2e 31 0a 09 2a 20 63 6f 6e to 1.5.1..* con
01a0: 66 69 67 75 72 65 3a 20 20 20 20 20 20 20 20 0a figure: .
01b0: 0a 32 30 30 34 2d 31 32 2d 31 37 20 20 50 61 74 .2004-12-17 Pat
01c0: 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f Thoyts <pattho
01d0: 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 yts@users.source
01e0: 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 77 forge.net>...* w
01f0: 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 20 in/makefile.vc:
0200: 20 41 64 64 65 64 20 74 68 65 20 4d 53 56 43 20 Added the MSVC
0210: 62 75 69 6c 64 20 73 79 73 74 65 6d 20 28 66 72 build system (fr
0220: 6f 6d 20 74 68 65 20 54 63 6c 0a 09 2a 20 77 69 om the Tcl..* wi
0230: 6e 2f 72 75 6c 65 73 2e 76 63 3a 20 20 20 20 20 n/rules.vc:
0240: 73 61 6d 70 6c 65 65 78 74 65 6e 73 69 6f 6e 29 sampleextension)
0250: 2e 0a 09 2a 20 77 69 6e 2f 6e 6d 61 6b 65 68 6c ...* win/nmakehl
0260: 70 2e 63 3a 0a 09 2a 20 77 69 6e 2f 74 6c 73 2e p.c:..* win/tls.
0270: 72 63 20 20 20 20 20 20 20 20 41 64 64 65 64 20 rc Added
0280: 57 69 6e 64 6f 77 73 20 72 65 73 6f 75 72 63 65 Windows resource
0290: 20 66 69 6c 65 2e 0a 09 0a 09 2a 20 74 6c 73 2e file.....* tls.
02a0: 74 63 6c 3a 20 20 20 20 20 20 20 20 20 20 46 72 tcl: Fr
02b0: 6f 6d 20 70 61 74 63 68 20 23 39 34 38 31 35 35 om patch #948155
02c0: 2c 20 61 64 64 65 64 20 73 75 70 70 6f 72 74 20 , added support
02d0: 66 6f 72 0a 09 20 20 20 20 20 20 20 20 20 20 20 for..
02e0: 20 20 20 20 20 20 20 20 20 61 6c 74 65 72 6e 61 alterna
02f0: 74 65 20 73 6f 63 6b 65 74 20 63 6f 6d 6d 61 6e te socket comman
0300: 64 73 2e 0a 09 2a 20 74 6c 73 2e 63 3a 20 20 20 ds...* tls.c:
0310: 20 20 20 20 20 20 20 20 20 51 75 69 65 74 65 6e Quieten
0320: 20 73 6f 6d 65 20 4d 53 56 43 20 77 61 72 6e 69 some MSVC warni
0330: 6e 67 73 2e 20 50 72 65 66 65 72 20 63 6b 61 6c ngs. Prefer ckal
0340: 6c 6f 63 0a 09 20 20 20 20 20 20 20 20 20 20 20 loc..
0350: 20 20 20 20 20 20 20 20 20 6f 76 65 72 20 54 63 over Tc
0360: 6c 5f 41 6c 6c 6f 63 2e 20 28 44 61 76 69 64 20 l_Alloc. (David
0370: 47 72 61 76 65 72 61 75 78 29 2e 0a 0a 32 30 30 Graveraux)...200
0380: 34 2d 30 36 2d 32 39 20 20 50 61 74 20 54 68 6f 4-06-29 Pat Tho
0390: 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 yts <patthoyts@
03a0: 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 users.sourceforg
03b0: 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 6c 73 2e 63 e.net>...* tls.c
03c0: 3a 20 20 20 20 20 20 20 20 20 20 20 20 46 69 78 : Fix
03d0: 75 70 20 74 6f 20 62 75 69 6c 64 20 61 67 61 69 up to build agai
03e0: 6e 73 74 20 74 63 6c 20 38 2e 33 2e 33 2e 20 48 nst tcl 8.3.3. H
03f0: 61 6e 64 6c 65 0a 09 2a 20 74 6c 73 49 4f 2e 63 andle..* tlsIO.c
0400: 3a 20 20 20 20 20 20 20 20 20 20 38 2e 34 20 63 : 8.4 c
0410: 6f 6e 73 74 69 66 69 63 61 74 69 6f 6e 2e 0a 0a onstification...
0420: 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 20 20 20 20 .* tlsInt.h:
0430: 20 20 20 20 20 41 64 64 65 64 20 68 65 61 64 65 Added heade
0440: 72 73 20 72 65 71 75 69 72 65 64 20 77 69 74 68 rs required with
0450: 20 4d 53 56 43 20 6f 6e 20 57 69 6e 33 32 2e 0a MSVC on Win32..
0460: 09 2a 20 74 6c 73 58 35 30 39 2e 63 3a 20 20 20 .* tlsX509.c:
0470: 20 20 20 20 20 75 6e 64 65 66 20 6d 69 6e 20 61 undef min a
0480: 6e 64 20 6d 61 78 20 69 66 20 64 65 66 69 6e 65 nd max if define
0490: 64 20 28 77 69 6e 33 32 29 2e 0a 0a 09 2a 20 4d d (win32)....* M
04a0: 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 20 20 20 20 akefile.in:
04b0: 20 46 69 78 65 64 20 74 6f 20 62 75 69 6c 64 20 Fixed to build
04c0: 6f 6e 20 77 69 6e 33 32 20 75 73 69 6e 67 20 6d on win32 using m
04d0: 73 79 73 20 77 69 74 68 0a 09 2a 20 61 63 6c 6f sys with..* aclo
04e0: 63 61 6c 2e 6d 34 3a 20 20 20 20 20 20 20 4d 53 cal.m4: MS
04f0: 56 43 2e 20 41 6c 73 6f 20 66 69 78 65 64 20 74 VC. Also fixed t
0500: 68 65 20 74 65 73 74 20 74 61 72 67 65 74 2e 0a he test target..
0510: 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a .* configure.in:
0520: 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 20 ..* configure:
0530: 20 20 20 20 20 20 52 65 67 65 6e 65 72 61 74 65 Regenerate
0540: 64 2e 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 67 2f d...* tclconfig/
0550: 74 63 6c 2e 6d 34 3a 20 55 70 64 61 74 65 64 20 tcl.m4: Updated
0560: 74 6f 20 6d 6f 73 74 20 72 65 63 65 6e 74 20 76 to most recent v
0570: 65 72 73 69 6f 6e 2e 0a 0a 32 30 30 34 2d 30 33 ersion...2004-03
0580: 2d 32 33 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c -23 Dan Razzell
0590: 20 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66 <research@starf
05a0: 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 09 ishsystems.ca>..
05b0: 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 74 6c 73 42 * tls.c:..* tlsB
05c0: 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 IO.c:..* tlsIO.c
05d0: 3a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 09 46 :..* tlsInt.h:.F
05e0: 69 78 65 64 20 74 79 70 65 20 6d 61 74 63 68 20 ixed type match
05f0: 77 61 72 6e 69 6e 67 73 2e 0a 0a 32 30 30 34 2d warnings...2004-
0600: 30 33 2d 31 39 20 20 4a 65 66 66 20 48 6f 62 62 03-19 Jeff Hobb
0610: 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 s <jeffh@Active
0620: 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 State.com>...* t
0630: 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a ls.c (Tls_Init):
0640: 20 20 20 72 65 70 6c 61 63 65 64 20 6f 6c 64 65 replaced olde
0650: 72 20 54 45 41 20 63 6f 6e 66 69 67 20 77 69 74 r TEA config wit
0660: 68 20 6e 65 77 65 72 0a 09 2a 20 63 6f 6e 66 69 h newer..* confi
0670: 67 2f 2a 20 28 72 65 6d 6f 76 65 64 29 3a 0a 09 g/* (removed):..
0680: 2a 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c 2e 69 * pkgIndex.tcl.i
0690: 6e 2c 20 73 74 72 6e 63 61 73 65 63 6d 70 2e 63 n, strncasecmp.c
06a0: 20 28 72 65 6d 6f 76 65 64 29 3a 0a 09 2a 20 4d (removed):..* M
06b0: 61 6b 65 66 69 6c 65 2e 69 6e 2c 20 61 63 6c 6f akefile.in, aclo
06c0: 63 61 6c 2e 6d 34 2c 20 63 6f 6e 66 69 67 75 72 cal.m4, configur
06d0: 65 2c 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a e, configure.in:
06e0: 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 67 2f 52 45 ..* tclconfig/RE
06f0: 41 44 4d 45 2e 74 78 74 2c 20 74 63 6c 63 6f 6e ADME.txt, tclcon
0700: 66 69 67 2f 69 6e 73 74 61 6c 6c 2d 73 68 2c 20 fig/install-sh,
0710: 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 tclconfig/tcl.m4
0720: 3a 0a 0a 32 30 30 34 2d 30 33 2d 31 37 20 20 44 :..2004-03-17 D
0730: 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 an Razzell <rese
0740: 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 arch@starfishsys
0750: 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 6c 73 tems.ca>...* tls
0760: 58 35 30 39 2e 63 3a 09 41 64 64 20 73 75 70 70 X509.c:.Add supp
0770: 6f 72 74 20 66 6f 72 20 6c 6f 6e 67 20 73 65 72 ort for long ser
0780: 69 61 6c 20 6e 75 6d 62 65 72 73 20 70 65 72 20 ial numbers per
0790: 52 46 43 20 33 32 38 30 2e 0a 09 09 09 46 6f 72 RFC 3280.....For
07a0: 6d 61 74 20 69 73 20 6e 6f 77 20 68 65 78 61 64 mat is now hexad
07b0: 65 63 69 6d 61 6c 2e 20 0a 09 09 09 5b 52 65 71 ecimal. ....[Req
07c0: 75 65 73 74 20 23 39 31 35 33 31 33 5d 0a 09 09 uest #915313]...
07d0: 09 43 6f 72 72 65 63 74 6c 79 20 63 6f 6e 76 65 .Correctly conve
07e0: 72 74 20 63 65 72 74 69 66 69 63 61 74 65 20 44 rt certificate D
07f0: 69 73 74 69 6e 67 75 69 73 68 65 64 20 4e 61 6d istinguished Nam
0800: 65 73 0a 09 09 09 74 6f 20 54 63 6c 20 73 74 72 es....to Tcl str
0810: 69 6e 67 20 72 65 70 72 65 73 65 6e 74 61 74 69 ing representati
0820: 6f 6e 2e 20 20 45 6c 69 6d 69 6e 61 74 65 73 20 on. Eliminates
0830: 75 73 65 20 6f 66 0a 09 09 09 64 65 70 72 65 63 use of....deprec
0840: 61 74 65 64 20 4f 70 65 6e 53 53 4c 20 66 75 6e ated OpenSSL fun
0850: 63 74 69 6f 6e 2e 20 20 46 6f 72 6d 61 74 20 69 ction. Format i
0860: 73 20 6e 6f 77 20 63 6f 6d 70 6c 69 61 6e 74 0a s now compliant.
0870: 09 09 09 77 69 74 68 20 52 46 43 20 32 32 35 33 ...with RFC 2253
0880: 2e 20 20 5b 52 65 71 75 65 73 74 20 23 39 31 35 . [Request #915
0890: 33 31 35 5d 0a 0a 32 30 30 34 2d 30 32 2d 31 37 315]..2004-02-17
08a0: 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 Dan Razzell <r
08b0: 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68 esearch@starfish
08c0: 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 54 4c systems.ca>...TL
08d0: 53 20 31 2e 35 2e 30 20 52 45 4c 45 41 53 45 0a S 1.5.0 RELEASE.
08e0: 0a 32 30 30 34 2d 30 32 2d 31 32 20 20 44 61 6e .2004-02-12 Dan
08f0: 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 72 Razzell.<resear
0900: 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74 65 ch@starfishsyste
0910: 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 6c 73 2e 63 ms.ca>...* tls.c
0920: 3a 09 41 6c 6c 6f 77 20 76 65 72 69 66 79 20 63 :.Allow verify c
0930: 61 6c 6c 62 61 63 6b 20 74 6f 20 72 65 74 75 72 allback to retur
0940: 6e 20 65 6d 70 74 79 20 72 65 73 75 6c 74 2e 0a n empty result..
0950: 09 2a 20 74 6c 73 2e 68 74 6d 3a 09 44 6f 63 75 .* tls.htm:.Docu
0960: 6d 65 6e 74 20 63 61 6c 6c 62 61 63 6b 20 62 65 ment callback be
0970: 68 61 76 69 6f 72 73 2e 0a 0a 32 30 30 34 2d 30 haviors...2004-0
0980: 32 2d 31 31 20 20 44 61 6e 20 52 61 7a 7a 65 6c 2-11 Dan Razzel
0990: 6c 09 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 l.<research@star
09a0: 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a fishsystems.ca>.
09b0: 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e ..* tests/tlsIO.
09c0: 74 65 73 74 3a 0a 09 2a 20 72 65 6d 6f 74 65 2e test:..* remote.
09d0: 74 63 6c 3a 09 43 6f 6d 70 6c 65 74 65 20 70 72 tcl:.Complete pr
09e0: 69 76 61 74 65 20 6b 65 79 20 6e 61 6d 65 20 63 ivate key name c
09f0: 68 61 6e 67 65 73 20 66 72 6f 6d 20 32 30 30 31 hanges from 2001
0a00: 2d 30 36 2d 32 31 2e 0a 0a 32 30 30 34 2d 30 32 -06-21...2004-02
0a10: 2d 30 33 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c -03 Dan Razzell
0a20: 20 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66 <research@starf
0a30: 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a ishsystems.ca>..
0a40: 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 09 .* Makefile.in:.
0a50: 52 65 6d 6f 76 65 64 20 63 69 72 63 75 6c 61 72 Removed circular
0a60: 20 64 65 70 65 6e 64 65 6e 63 79 2e 0a 09 2a 20 dependency...*
0a70: 74 6c 73 49 6e 74 2e 68 3a 09 4d 61 6b 65 20 66 tlsInt.h:.Make f
0a80: 75 6e 63 74 69 6f 6e 20 64 65 63 6c 61 72 61 74 unction declarat
0a90: 69 6f 6e 73 20 65 78 70 6c 69 63 69 74 2e 0a 09 ions explicit...
0aa0: 2a 20 74 6c 73 2e 63 3a 09 46 69 78 20 74 79 70 * tls.c:.Fix typ
0ab0: 65 20 6d 61 74 63 68 20 61 6e 64 20 75 6e 75 73 e match and unus
0ac0: 65 64 20 76 61 72 69 61 62 6c 65 20 77 61 72 6e ed variable warn
0ad0: 69 6e 67 73 2e 0a 09 2a 20 74 6c 73 42 49 4f 2e ings...* tlsBIO.
0ae0: 63 3a 09 46 69 78 20 74 79 70 65 20 6d 61 74 63 c:.Fix type matc
0af0: 68 20 77 61 72 6e 69 6e 67 2e 0a 0a 32 30 30 33 h warning...2003
0b00: 2d 31 32 2d 31 35 20 20 44 61 6e 20 52 61 7a 7a -12-15 Dan Razz
0b10: 65 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 73 74 ell.<research@st
0b20: 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 arfishsystems.ca
0b30: 3e 0a 0a 09 2a 20 70 6b 67 49 6e 64 65 78 2e 74 >...* pkgIndex.t
0b40: 63 6c 2e 69 6e 3a 0a 09 2a 20 74 6c 73 2e 68 74 cl.in:..* tls.ht
0b50: 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 m:..* tests/tlsI
0b60: 4f 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 20 O.test: updated
0b70: 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e 35 2e 0a version to 1.5..
0b80: 0a 32 30 30 33 2d 31 30 2d 30 37 20 20 44 61 6e .2003-10-07 Dan
0b90: 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 72 Razzell.<resear
0ba0: 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74 65 ch@starfishsyste
0bb0: 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 65 73 74 73 ms.ca>...* tests
0bc0: 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20 75 /ciphers.test: u
0bd0: 70 64 61 74 65 64 20 6c 69 73 74 20 6f 66 20 74 pdated list of t
0be0: 65 73 74 65 64 20 63 69 70 68 65 72 73 20 74 6f ested ciphers to
0bf0: 20 63 6f 72 72 65 73 70 6f 6e 64 0a 09 2a 20 77 correspond..* w
0c00: 69 74 68 20 74 68 6f 73 65 20 61 76 61 69 6c 61 ith those availa
0c10: 62 6c 65 20 66 72 6f 6d 20 4f 70 65 6e 53 53 4c ble from OpenSSL
0c20: 2e 20 5b 52 65 71 75 65 73 74 20 23 38 31 31 39 . [Request #8119
0c30: 38 31 5d 0a 0a 32 30 30 33 2d 31 30 2d 30 37 20 81]..2003-10-07
0c40: 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 65 Dan Razzell <re
0c50: 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 search@starfishs
0c60: 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 ystems.ca>...* t
0c70: 6c 73 2e 63 3a 20 61 64 64 65 64 20 43 4f 4e 53 ls.c: added CONS
0c80: 54 20 77 69 74 68 20 69 6e 74 65 6e 74 20 73 69 T with intent si
0c90: 6d 69 6c 61 72 20 74 6f 20 74 68 6f 73 65 20 66 milar to those f
0ca0: 72 6f 6d 20 32 30 30 32 2d 30 32 2d 30 34 2e 0a rom 2002-02-04..
0cb0: 09 5b 52 65 71 75 65 73 74 20 23 38 31 31 39 31 .[Request #81191
0cc0: 31 5d 0a 0a 32 30 30 33 2d 30 37 2d 30 37 20 20 1]..2003-07-07
0cd0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 Jeff Hobbs <jef
0ce0: 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 fh@ActiveState.c
0cf0: 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 om>...* tls.c (T
0d00: 6c 73 5f 49 6e 69 74 29 3a 20 20 20 61 64 64 65 ls_Init): adde
0d10: 64 20 74 6c 73 3a 3a 6d 69 73 63 20 63 6f 6d 6d d tls::misc comm
0d20: 61 6e 64 20 70 72 6f 76 69 64 65 64 20 62 79 0a and provided by.
0d30: 09 2a 20 74 6c 73 58 35 30 39 2e 63 3a 20 20 20 .* tlsX509.c:
0d40: 20 20 20 20 20 20 20 57 6f 6a 63 69 65 63 68 20 Wojciech
0d50: 4b 6f 63 6a 61 6e 20 28 77 6f 6a 63 69 65 63 68 Kocjan (wojciech
0d60: 20 6b 6f 63 6a 61 6e 2e 6f 72 67 29 0a 09 2a 20 kocjan.org)..*
0d70: 74 65 73 74 73 2f 6b 65 79 74 65 73 74 31 2e 74 tests/keytest1.t
0d80: 63 6c 3a 20 74 6f 20 65 78 70 6f 73 65 20 6d 6f cl: to expose mo
0d90: 72 65 20 6c 6f 77 2d 6c 65 76 65 6c 20 53 53 4c re low-level SSL
0da0: 20 63 6f 6d 6d 61 6e 64 73 0a 09 2a 20 74 65 73 commands..* tes
0db0: 74 73 2f 6b 65 79 74 65 73 74 32 2e 74 63 6c 3a ts/keytest2.tcl:
0dc0: 0a 0a 32 30 30 33 2d 30 35 2d 31 35 20 20 44 61 ..2003-05-15 Da
0dd0: 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 n Razzell.<resea
0de0: 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74 rch@starfishsyst
0df0: 65 6d 73 2e 63 61 3e 20 0a 0a 09 2a 20 74 6c 73 ems.ca> ...* tls
0e00: 2e 74 63 6c 3a 0a 09 2a 20 74 6c 73 49 6e 74 2e .tcl:..* tlsInt.
0e10: 68 3a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64 64 h:..* tls.c: add
0e20: 20 73 75 70 70 6f 72 74 20 66 6f 72 20 62 69 6e support for bin
0e30: 64 69 6e 67 20 61 20 70 61 73 73 77 6f 72 64 20 ding a password
0e40: 63 61 6c 6c 62 61 63 6b 20 74 6f 20 74 68 65 20 callback to the
0e50: 73 6f 63 6b 65 74 2e 0a 09 4e 6f 77 20 65 61 63 socket...Now eac
0e60: 68 20 73 6f 63 6b 65 74 20 63 61 6e 20 68 61 76 h socket can hav
0e70: 65 20 69 74 73 20 6f 77 6e 20 63 6f 6d 6d 61 6e e its own comman
0e80: 64 20 61 6e 64 20 70 61 73 73 77 6f 72 64 20 63 d and password c
0e90: 61 6c 6c 62 61 63 6b 73 20 69 6e 73 74 65 61 64 allbacks instead
0ea0: 0a 09 6f 66 20 62 65 69 6e 67 20 66 6f 72 63 65 ..of being force
0eb0: 64 20 74 6f 20 68 61 76 65 20 61 6c 6c 20 70 61 d to have all pa
0ec0: 73 73 77 6f 72 64 20 6d 61 6e 61 67 65 6d 65 6e ssword managemen
0ed0: 74 20 70 61 73 73 20 74 68 72 6f 75 67 68 20 61 t pass through a
0ee0: 20 63 6f 6d 6d 6f 6e 0a 09 70 72 6f 63 65 64 75 common..procedu
0ef0: 72 65 2e 20 20 54 68 65 20 63 6f 6d 6d 6f 6e 20 re. The common
0f00: 70 61 73 73 77 6f 72 64 20 70 72 6f 63 65 64 75 password procedu
0f10: 72 65 20 69 73 20 72 65 74 61 69 6e 65 64 20 66 re is retained f
0f20: 6f 72 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 or compatibility
0f30: 0a 09 62 75 74 20 69 74 73 20 75 73 65 20 73 68 ..but its use sh
0f40: 6f 75 6c 64 20 62 65 20 44 45 50 52 45 43 41 54 ould be DEPRECAT
0f50: 45 44 2e 0a 09 41 64 64 20 76 65 72 73 69 6f 6e ED...Add version
0f60: 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 72 65 74 75 command to retu
0f70: 72 6e 20 4f 70 65 6e 53 53 4c 20 76 65 72 73 69 rn OpenSSL versi
0f80: 6f 6e 20 73 74 72 69 6e 67 2e 0a 09 52 65 6d 6f on string...Remo
0f90: 76 65 20 75 6e 73 74 61 62 6c 65 20 77 6f 72 6b ve unstable work
0fa0: 61 72 6f 75 6e 64 73 20 6e 65 65 64 65 64 20 66 arounds needed f
0fb0: 6f 72 20 76 65 72 69 66 79 20 69 6e 20 6f 62 73 or verify in obs
0fc0: 6f 6c 65 74 65 20 76 65 72 73 69 6f 6e 73 20 6f olete versions o
0fd0: 66 0a 09 4f 70 65 6e 53 53 4c 2e 0a 09 46 69 78 f..OpenSSL...Fix
0fe0: 20 6d 65 6d 6f 72 79 20 6c 65 61 6b 2e 20 5b 52 memory leak. [R
0ff0: 65 71 75 65 73 74 20 23 36 34 30 36 36 30 5d 0a equest #640660].
1000: 09 4d 6f 72 65 20 63 61 73 74 73 20 74 6f 20 65 .More casts to e
1010: 6c 69 6d 69 6e 61 74 65 20 63 6f 6d 70 69 6c 65 liminate compile
1020: 72 20 77 61 72 6e 69 6e 67 73 2e 0a 0a 09 2a 20 r warnings....*
1030: 74 6c 73 2e 68 74 6d 3a 20 64 6f 63 75 6d 65 6e tls.htm: documen
1040: 74 20 70 61 73 73 77 6f 72 64 20 63 61 6c 6c 62 t password callb
1050: 61 63 6b 2e 0a 09 43 6f 72 72 65 63 74 20 74 65 ack...Correct te
1060: 63 68 6e 69 63 61 6c 20 61 6e 64 20 74 79 70 6f chnical and typo
1070: 67 72 61 70 68 69 63 20 65 72 72 6f 72 73 2e 0a graphic errors..
1080: 0a 09 2a 20 52 45 41 44 4d 45 2e 74 78 74 3a 20 ..* README.txt:
1090: 69 64 65 6e 74 69 66 79 20 76 65 72 73 69 6f 6e identify version
10a0: 73 20 6f 66 20 4f 70 65 6e 53 53 4c 20 77 68 69 s of OpenSSL whi
10b0: 63 68 20 66 69 78 20 6b 6e 6f 77 6e 20 70 72 6f ch fix known pro
10c0: 62 6c 65 6d 73 2e 0a 09 47 65 6e 65 72 61 6c 20 blems...General
10d0: 77 61 72 6e 69 6e 67 20 6f 66 20 73 65 63 75 72 warning of secur
10e0: 69 74 79 20 70 72 6f 62 6c 65 6d 73 20 69 6e 20 ity problems in
10f0: 6f 6c 64 65 72 20 76 65 72 73 69 6f 6e 73 20 6f older versions o
1100: 66 20 4f 70 65 6e 53 53 4c 2e 0a 0a 32 30 30 32 f OpenSSL...2002
1110: 2d 30 32 2d 30 34 20 20 4a 65 66 66 20 48 6f 62 -02-04 Jeff Hob
1120: 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 bs <jeffh@Activ
1130: 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 eState.com>...*
1140: 74 6c 73 2e 68 74 6d 3a 0a 09 2a 20 74 6c 73 2e tls.htm:..* tls.
1150: 63 3a 20 61 64 64 65 64 20 73 75 70 70 6f 72 74 c: added support
1160: 20 66 6f 72 20 6c 6f 63 61 6c 20 63 65 72 74 69 for local certi
1170: 66 69 63 61 74 65 20 73 74 61 74 75 73 20 63 68 ficate status ch
1180: 65 63 6b 2c 20 61 73 20 77 65 6c 6c 0a 09 61 73 eck, as well..as
1190: 20 72 65 74 75 72 6e 69 6e 67 20 74 68 65 20 23 returning the #
11a0: 20 6f 66 20 62 69 74 73 20 69 6e 20 74 68 65 20 of bits in the
11b0: 73 65 73 73 69 6f 6e 20 6b 65 79 2e 20 5b 50 61 session key. [Pa
11c0: 74 63 68 20 23 35 30 35 36 39 38 5d 20 28 72 6f tch #505698] (ro
11d0: 73 65 29 0a 0a 09 2a 20 74 6c 73 2e 63 3a 0a 09 se)...* tls.c:..
11e0: 2a 20 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74 6c * tlsIO.c:..* tl
11f0: 73 42 49 4f 2e 63 3a 20 61 64 64 65 64 20 43 4f sBIO.c: added CO
1200: 4e 53 54 73 20 74 6f 20 73 61 74 69 73 66 79 20 NSTs to satisfy
1210: 54 63 6c 20 38 2e 34 20 73 6f 75 72 63 65 73 2e Tcl 8.4 sources.
1220: 20 20 54 68 69 73 20 6d 61 79 0a 09 67 69 76 65 This may..give
1230: 20 77 61 72 6e 69 6e 67 73 20 77 68 65 6e 20 63 warnings when c
1240: 6f 6d 70 69 6c 65 64 20 61 67 61 69 6e 73 74 20 ompiled against
1250: 38 2e 33 2c 20 62 75 74 20 74 68 65 79 20 63 61 8.3, but they ca
1260: 6e 20 62 65 20 69 67 6e 6f 72 65 64 2e 0a 0a 09 n be ignored....
1270: 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c 65 43 6c * tests/simpleCl
1280: 69 65 6e 74 2e 74 63 6c 3a 0a 09 2a 20 74 65 73 ient.tcl:..* tes
1290: 74 73 2f 73 69 6d 70 6c 65 53 65 72 76 65 72 2e ts/simpleServer.
12a0: 74 63 6c 3a 20 70 6f 69 6e 74 20 74 6f 20 75 70 tcl: point to up
12b0: 64 61 74 65 64 20 63 6c 69 65 6e 74 2f 73 65 72 dated client/ser
12c0: 76 65 72 20 6b 65 79 20 66 69 6c 65 73 2e 0a 0a ver key files...
12d0: 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 .* tests/tlsIO.t
12e0: 65 73 74 3a 0a 09 2a 20 74 65 73 74 73 2f 63 69 est:..* tests/ci
12f0: 70 68 65 72 73 2e 74 65 73 74 3a 20 75 70 64 61 phers.test: upda
1300: 74 65 64 20 74 6f 20 6c 6f 61 64 20 74 6c 73 20 ted to load tls
1310: 66 72 6f 6d 20 62 75 69 6c 64 20 64 69 72 2e 0a from build dir..
1320: 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a ..* Makefile.in:
1330: 20 72 65 6d 6f 76 65 64 20 73 74 72 6e 63 61 73 removed strncas
1340: 65 63 6d 70 20 66 72 6f 6d 20 64 65 66 61 75 6c ecmp from defaul
1350: 74 20 6f 62 6a 65 63 74 20 73 65 74 2e 20 20 54 t object set. T
1360: 68 69 73 0a 09 69 73 20 6f 6e 6c 79 20 6e 65 65 his..is only nee
1370: 64 65 64 20 6f 6e 20 74 68 65 20 4d 61 63 2c 20 ded on the Mac,
1380: 61 6e 64 20 54 63 6c 20 73 74 75 62 73 20 70 72 and Tcl stubs pr
1390: 6f 76 69 64 65 73 20 69 74 2e 0a 0a 09 2a 20 63 ovides it....* c
13a0: 6f 6e 66 69 67 75 72 65 3a 20 72 65 67 65 6e 27 onfigure: regen'
13b0: 65 64 2e 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 ed...* configure
13c0: 2e 69 6e 3a 20 75 70 64 61 74 65 64 20 74 6f 20 .in: updated to
13d0: 31 2e 35 2e 30 20 66 6f 72 20 6e 65 78 74 20 72 1.5.0 for next r
13e0: 65 6c 65 61 73 65 2e 0a 09 43 68 61 6e 67 65 64 elease...Changed
13f0: 20 64 65 66 61 75 6c 74 20 6f 70 65 6e 73 73 6c default openssl
1400: 20 6c 6f 63 61 74 69 6f 6e 20 74 6f 20 2f 75 73 location to /us
1410: 72 2f 6c 6f 63 61 6c 2f 73 73 6c 20 28 74 68 69 r/local/ssl (thi
1420: 73 20 69 73 20 77 68 65 72 65 0a 09 6f 70 65 6e s is where..open
1430: 73 73 6c 20 30 2e 39 2e 36 63 20 69 6e 73 74 61 ssl 0.9.6c insta
1440: 6c 6c 73 20 62 79 20 64 65 66 61 75 6c 74 29 2e lls by default).
1450: 0a 09 43 68 61 6e 67 65 64 20 74 6f 20 75 73 65 ..Changed to use
1460: 20 70 75 62 6c 69 63 20 54 63 6c 20 68 65 61 64 public Tcl head
1470: 65 72 73 20 28 70 72 69 76 61 74 65 20 6e 6f 74 ers (private not
1480: 20 6e 65 65 64 65 64 29 2e 0a 0a 32 30 30 31 2d needed)...2001-
1490: 30 36 2d 32 31 20 20 4a 65 66 66 20 48 6f 62 62 06-21 Jeff Hobb
14a0: 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 s <jeffh@Active
14b0: 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 54 4c 53 State.com>...TLS
14c0: 20 31 2e 34 2e 31 20 52 45 4c 45 41 53 45 0a 0a 1.4.1 RELEASE..
14d0: 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 61 64 .* configure: ad
14e0: 64 65 64 20 63 6f 6e 66 69 67 75 72 65 20 74 6f ded configure to
14f0: 20 43 56 53 0a 09 2a 20 63 6f 6e 66 69 67 75 72 CVS..* configur
1500: 65 2e 69 6e 3a 20 6d 6f 76 65 64 20 74 6f 20 70 e.in: moved to p
1510: 61 74 63 68 6c 65 76 65 6c 20 31 2e 34 2e 31 0a atchlevel 1.4.1.
1520: 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a ..* Makefile.in:
1530: 20 63 6f 72 72 65 63 74 65 64 20 27 64 69 73 74 corrected 'dist
1540: 27 20 74 61 72 67 65 74 0a 0a 09 2a 20 74 65 73 ' target...* tes
1550: 74 73 2f 63 65 72 74 73 2f 66 69 6c 65 2e 73 72 ts/certs/file.sr
1560: 6c 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 l:..* tests/cert
1570: 73 2f 63 61 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 s/ca.pem:..* tes
1580: 74 73 2f 63 65 72 74 73 2f 63 6c 69 65 6e 74 2e ts/certs/client.
1590: 6b 65 79 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 key:..* tests/ce
15a0: 72 74 73 2f 63 6c 69 65 6e 74 2e 70 65 6d 3a 0a rts/client.pem:.
15b0: 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63 .* tests/certs/c
15c0: 6c 69 65 6e 74 2e 72 65 71 3a 0a 09 2a 20 74 65 lient.req:..* te
15d0: 73 74 73 2f 63 65 72 74 73 2f 70 72 69 76 6b 65 sts/certs/privke
15e0: 79 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 74 73 2f y.pem:..* tests/
15f0: 63 65 72 74 73 2f 73 65 72 76 65 72 2e 6b 65 79 certs/server.key
1600: 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 :..* tests/certs
1610: 2f 73 65 72 76 65 72 2e 70 65 6d 3a 0a 09 2a 20 /server.pem:..*
1620: 74 65 73 74 73 2f 63 65 72 74 73 2f 73 65 72 76 tests/certs/serv
1630: 65 72 2e 72 65 71 3a 0a 09 2a 20 74 65 73 74 73 er.req:..* tests
1640: 2f 63 65 72 74 73 2f 63 61 63 65 72 74 2e 70 65 /certs/cacert.pe
1650: 6d 3a 20 72 65 70 6c 61 63 65 64 20 62 79 20 6e m: replaced by n
1660: 65 77 20 63 61 2e 70 65 6d 0a 09 2a 20 74 65 73 ew ca.pem..* tes
1670: 74 73 2f 63 65 72 74 73 2f 73 6b 65 79 2e 70 65 ts/certs/skey.pe
1680: 6d 3a 20 72 65 70 6c 61 63 65 64 20 62 79 20 6e m: replaced by n
1690: 65 77 20 73 65 72 76 65 72 2e 6b 65 79 0a 09 2a ew server.key..*
16a0: 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63 6b 65 tests/certs/cke
16b0: 79 2e 70 65 6d 3a 20 72 65 70 6c 61 63 65 64 20 y.pem: replaced
16c0: 62 79 20 6e 65 77 20 63 6c 69 65 6e 74 2e 6b 65 by new client.ke
16d0: 79 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 y..* tests/certs
16e0: 2f 52 45 41 44 4d 45 2e 74 78 74 3a 20 6e 65 77 /README.txt: new
16f0: 20 73 65 74 20 6f 66 20 74 65 73 74 20 63 65 72 set of test cer
1700: 74 69 66 69 63 61 74 65 73 20 77 69 74 68 20 73 tificates with s
1710: 6f 6d 65 0a 09 52 45 41 44 4d 45 20 69 6e 66 6f ome..README info
1720: 20 6f 6e 20 74 68 65 69 72 20 67 65 6e 65 72 61 on their genera
1730: 74 69 6f 6e 2e 0a 0a 09 2a 20 74 65 73 74 73 2f tion....* tests/
1740: 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20 75 70 ciphers.test: up
1750: 64 61 74 65 64 20 63 69 70 68 65 72 73 20 65 78 dated ciphers ex
1760: 70 65 63 74 65 64 20 77 69 74 68 20 64 65 66 61 pected with defa
1770: 75 6c 74 0a 09 6f 70 65 6e 73 73 6c 20 62 75 69 ult..openssl bui
1780: 6c 64 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 63 ld....* tests/tc
1790: 6c 49 4f 2e 74 65 73 74 3a 20 75 70 64 61 74 65 lIO.test: update
17a0: 64 20 74 6f 20 75 73 65 20 6e 65 77 20 6e 61 6d d to use new nam
17b0: 65 73 20 66 6f 72 20 63 65 72 74 73 2f 6b 65 79 es for certs/key
17c0: 73 2e 0a 0a 32 30 30 31 2d 30 33 2d 31 34 20 20 s...2001-03-14
17d0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 Jeff Hobbs <jef
17e0: 66 68 40 67 69 6d 6c 65 74 2e 61 63 74 69 76 65 fh@gimlet.active
17f0: 73 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 state.com>...* t
1800: 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a ls.c (Tls_Init):
1810: 20 61 64 64 20 64 6f 2f 77 68 69 6c 65 20 66 6f add do/while fo
1820: 72 20 72 61 6e 64 6f 6d 20 6e 75 6d 62 65 72 20 r random number
1830: 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 0a 09 initialization..
1840: 74 6f 20 77 6f 72 6b 20 61 72 6f 75 6e 64 20 73 to work around s
1850: 6f 6d 65 20 4f 53 65 73 20 71 75 69 72 6b 73 2e ome OSes quirks.
1860: 20 20 28 52 61 6c 70 68 2e 42 69 6c 6c 65 73 40 (Ralph.Billes@
1870: 74 65 6c 74 65 63 68 2e 63 6f 6d 2e 61 75 29 0a teltech.com.au).
1880: 0a 32 30 30 30 2d 30 39 2d 30 37 20 20 4a 65 66 .2000-09-07 Jef
1890: 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 f Hobbs <hobbs@
18a0: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a scriptics.com>..
18b0: 09 2a 20 74 6c 73 49 4f 2e 63 20 28 54 6c 73 5f .* tlsIO.c (Tls_
18c0: 43 68 61 6e 6e 65 6c 54 79 70 65 29 3a 20 73 65 ChannelType): se
18d0: 74 20 74 79 70 65 4e 61 6d 65 20 66 69 65 6c 64 t typeName field
18e0: 20 6f 66 20 63 68 61 6e 6e 65 6c 20 74 79 70 65 of channel type
18f0: 20 74 6f 0a 09 22 74 6c 73 22 20 28 74 68 69 73 to.."tls" (this
1900: 20 67 6f 74 20 6c 6f 73 74 20 69 6e 20 6d 6f 76 got lost in mov
1910: 65 20 74 6f 20 64 79 6e 61 6d 69 63 20 76 65 72 e to dynamic ver
1920: 73 69 6f 6e 20 63 6f 6d 70 61 74 61 62 69 6c 69 sion compatabili
1930: 74 79 0a 09 63 68 65 63 6b 69 6e 67 29 2e 0a 0a ty..checking)...
1940: 32 30 30 30 2d 30 38 2d 32 33 20 20 4a 65 66 66 2000-08-23 Jeff
1950: 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 Hobbs <hobbs@s
1960: 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 criptics.com>...
1970: 54 4c 53 20 31 2e 34 20 52 45 4c 45 41 53 45 44 TLS 1.4 RELEASED
1980: 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e ...* Makefile.in
1990: 20 28 64 69 73 74 29 3a 20 63 72 65 61 74 65 20 (dist): create
19a0: 64 69 73 74 20 74 61 72 67 65 74 20 66 6f 72 20 dist target for
19b0: 61 72 63 68 69 76 65 20 64 69 73 74 72 69 62 75 archive distribu
19c0: 74 69 6f 6e 73 0a 0a 09 2a 20 74 65 73 74 73 2f tions...* tests/
19d0: 74 6c 73 49 4f 2e 74 65 73 74 20 28 74 6c 73 49 tlsIO.test (tlsI
19e0: 4f 2d 38 2e 31 29 3a 20 61 64 64 65 64 20 61 20 O-8.1): added a
19f0: 64 65 6c 61 79 20 6f 6e 20 74 68 65 20 61 63 63 delay on the acc
1a00: 65 70 74 20 63 6c 6f 73 65 0a 09 74 6f 20 6d 61 ept close..to ma
1a10: 6b 65 20 74 68 65 20 74 65 73 74 20 77 6f 72 6b ke the test work
1a20: 20 77 69 74 68 20 4f 70 65 6e 53 53 4c 20 6f 6e with OpenSSL on
1a30: 20 57 69 6e 64 6f 77 73 20 28 64 6f 65 73 6e 27 Windows (doesn'
1a40: 74 20 61 66 66 65 63 74 0a 09 6f 74 68 65 72 20 t affect..other
1a50: 62 75 69 6c 64 73 29 2e 0a 0a 09 2a 20 74 6c 73 builds)....* tls
1a60: 2e 68 74 6d 3a 20 75 70 64 61 74 65 64 20 77 69 .htm: updated wi
1a70: 74 68 20 6e 6f 74 65 73 20 66 6f 72 20 31 2e 34 th notes for 1.4
1a80: 2e 0a 0a 32 30 30 30 2d 30 38 2d 32 31 20 20 4a ...2000-08-21 J
1a90: 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 eff Hobbs <hobb
1aa0: 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e s@scriptics.com>
1ab0: 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f ...* tests/tlsIO
1ac0: 2e 74 65 73 74 3a 20 72 65 71 75 69 72 65 20 61 .test: require a
1ad0: 74 20 6c 65 61 73 74 20 74 6c 73 31 2e 34 20 69 t least tls1.4 i
1ae0: 6e 20 74 65 73 74 20 73 75 69 74 65 2e 0a 0a 32 n test suite...2
1af0: 30 30 30 2d 30 38 2d 31 38 20 20 4a 65 66 66 20 000-08-18 Jeff
1b00: 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 Hobbs <hobbs@sc
1b10: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a riptics.com>...*
1b20: 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 tls.c (Tls_Init
1b30: 29 3a 20 61 64 64 65 64 20 63 61 6c 6c 20 74 6f ): added call to
1b40: 20 52 41 4e 44 5f 73 65 65 64 20 74 6f 20 73 65 RAND_seed to se
1b50: 65 64 20 74 68 65 20 53 53 4c 20 72 61 6e 64 6f ed the SSL rando
1b60: 6d 0a 09 6e 75 6d 62 65 72 20 67 65 6e 65 72 61 m..number genera
1b70: 74 6f 72 2e 20 20 57 69 74 68 6f 75 74 20 74 68 tor. Without th
1b80: 69 73 2c 20 4f 70 65 6e 53 53 4c 20 30 2e 39 2e is, OpenSSL 0.9.
1b90: 35 20 63 68 6f 6b 65 73 2c 20 61 6e 64 20 69 6e 5 chokes, and in
1ba0: 20 61 6e 79 0a 09 63 61 73 65 20 69 74 20 69 73 any..case it is
1bb0: 20 61 20 62 69 67 20 73 65 63 75 72 69 74 79 20 a big security
1bc0: 68 6f 6c 65 20 74 6f 20 64 6f 20 77 69 74 68 6f hole to do witho
1bd0: 75 74 20 69 74 2e 0a 0a 09 2a 20 63 6f 6e 66 69 ut it....* confi
1be0: 67 75 72 65 2e 69 6e 20 28 4f 50 45 4e 53 53 4c gure.in (OPENSSL
1bf0: 29 3a 20 61 64 64 65 64 20 4e 4f 5f 49 44 45 41 ): added NO_IDEA
1c00: 20 61 6e 64 20 4e 4f 5f 52 43 35 20 64 65 66 69 and NO_RC5 defi
1c10: 6e 65 73 20 62 79 0a 09 64 65 66 61 75 6c 74 20 nes by..default
1c20: 77 68 65 6e 20 63 6f 6d 70 69 6c 69 6e 67 20 77 when compiling w
1c30: 69 74 68 20 4f 70 65 6e 53 53 4c 2e 0a 0a 09 2a ith OpenSSL....*
1c40: 20 74 6c 73 49 6e 74 2e 68 3a 20 61 64 64 65 64 tlsInt.h: added
1c50: 20 65 72 72 2e 68 20 69 6e 63 6c 75 64 65 0a 0a err.h include..
1c60: 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a 09 2a 20 .* tlsBIO.c:..*
1c70: 74 6c 73 49 4f 2e 63 3a 20 63 6f 72 72 65 63 74 tlsIO.c: correct
1c80: 65 64 20 70 65 64 61 6e 74 69 63 20 63 61 73 74 ed pedantic cast
1c90: 20 65 72 72 6f 72 73 2e 0a 0a 32 30 30 30 2d 30 errors...2000-0
1ca0: 38 2d 31 36 20 20 4a 65 66 66 20 48 6f 62 62 73 8-16 Jeff Hobbs
1cb0: 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 <hobbs@scripti
1cc0: 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 cs.com>...* test
1cd0: 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20 s/ciphers.test:
1ce0: 69 6d 70 72 6f 76 65 64 20 61 62 69 6c 69 74 79 improved ability
1cf0: 20 74 6f 20 63 68 61 6e 67 65 20 63 6f 6e 73 74 to change const
1d00: 72 61 69 6e 74 0a 09 73 65 74 74 69 6e 67 20 66 raint..setting f
1d10: 6f 72 20 77 68 65 74 68 65 72 20 75 73 65 72 20 or whether user
1d20: 63 6f 6d 70 69 6c 65 64 20 61 67 61 69 6e 73 74 compiled against
1d30: 20 52 53 41 20 6f 72 20 4f 70 65 6e 53 53 4c 20 RSA or OpenSSL
1d40: 6c 69 62 73 2e 0a 0a 09 2a 20 74 6c 73 2e 63 20 libs....* tls.c
1d50: 28 54 6c 73 5f 49 6e 69 74 29 3a 20 63 6f 72 72 (Tls_Init): corr
1d60: 65 63 74 65 64 20 69 6e 74 65 72 70 72 65 74 61 ected interpreta
1d70: 74 69 6f 6e 20 6f 66 20 76 65 72 73 69 6f 6e 20 tion of version
1d80: 6e 75 6d 62 65 72 0a 09 28 70 61 74 63 68 6c 65 number..(patchle
1d90: 76 65 6c 20 61 6e 64 20 72 65 6c 65 61 73 65 2f vel and release/
1da0: 73 65 72 69 61 6c 20 77 65 72 65 20 73 77 61 70 serial were swap
1db0: 70 65 64 29 2e 0a 0a 32 30 30 30 2d 30 38 2d 31 ped)...2000-08-1
1dc0: 35 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 5 Jeff Hobbs <
1dd0: 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e hobbs@scriptics.
1de0: 63 6f 6d 3e 0a 0a 09 2a 20 52 45 41 44 4d 45 2e com>...* README.
1df0: 74 78 74 3a 20 61 64 64 65 64 20 6e 6f 74 65 73 txt: added notes
1e00: 20 61 62 6f 75 74 20 6e 65 65 64 20 74 6f 20 75 about need to u
1e10: 73 65 20 38 2e 32 2e 30 2b 2e 0a 0a 09 2a 20 74 se 8.2.0+....* t
1e20: 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 74 6c 73 2e lsInt.h:..* tls.
1e30: 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 63 c:..* tlsIO.c: c
1e40: 6f 72 72 65 63 74 65 64 20 73 74 72 75 63 74 75 orrected structu
1e50: 72 65 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f re initializatio
1e60: 6e 20 74 6f 20 77 6f 72 6b 20 77 68 65 6e 0a 09 n to work when..
1e70: 63 6f 6d 70 69 6c 69 6e 67 20 77 69 74 68 20 38 compiling with 8
1e80: 2e 32 2e 20 20 4e 6f 77 20 63 6f 6d 70 69 6c 65 .2. Now compile
1e90: 73 20 77 69 74 68 20 38 2e 32 2b 20 61 6e 64 20 s with 8.2+ and
1ea0: 74 65 73 74 65 64 20 74 6f 20 77 6f 72 6b 0a 09 tested to work..
1eb0: 77 69 74 68 20 38 2e 32 2b 20 61 6e 64 20 64 79 with 8.2+ and dy
1ec0: 6e 61 6d 69 63 61 6c 6c 79 20 61 64 6a 75 73 74 namically adjust
1ed0: 20 74 6f 20 74 68 65 20 76 65 72 73 69 6f 6e 20 to the version
1ee0: 6f 66 20 54 63 6c 20 69 74 20 77 61 73 0a 09 6c of Tcl it was..l
1ef0: 6f 61 64 65 64 20 69 6e 74 6f 2e 20 20 54 4c 53 oaded into. TLS
1f00: 20 77 69 6c 6c 20 66 61 69 6c 20 74 68 65 20 74 will fail the t
1f10: 65 73 74 20 73 75 69 74 65 20 77 69 74 68 20 54 est suite with T
1f20: 63 6c 20 38 2e 32 2d 38 2e 33 2e 31 2e 0a 0a 09 cl 8.2-8.3.1....
1f30: 2a 20 74 65 73 74 73 2f 61 6c 6c 2e 74 63 6c 3a * tests/all.tcl:
1f40: 20 61 64 64 65 64 20 63 61 74 63 68 20 61 72 6f added catch aro
1f50: 75 6e 64 20 3a 3a 74 63 6c 74 65 73 74 3a 3a 6e und ::tcltest::n
1f60: 6f 72 6d 61 6c 69 7a 65 50 61 74 68 0a 09 62 65 ormalizePath..be
1f70: 63 61 75 73 65 20 69 74 20 64 6f 65 73 6e 27 74 cause it doesn't
1f80: 20 65 78 69 73 74 20 69 6e 20 70 72 65 2d 38 2e exist in pre-8.
1f90: 33 20 74 63 6c 74 65 73 74 2e 0a 0a 09 2a 20 74 3 tcltest....* t
1fa0: 65 73 74 73 2f 73 69 6d 70 6c 65 43 6c 69 65 6e ests/simpleClien
1fb0: 74 2e 74 63 6c 3a 20 0a 09 2a 20 74 65 73 74 73 t.tcl: ..* tests
1fc0: 2f 73 69 6d 70 6c 65 53 65 72 76 65 72 2e 74 63 /simpleServer.tc
1fd0: 6c 3a 20 61 64 64 65 64 20 73 69 6d 70 6c 65 20 l: added simple
1fe0: 63 6c 69 65 6e 74 2f 73 65 72 76 65 72 20 74 65 client/server te
1ff0: 73 74 20 73 63 72 69 70 74 73 0a 09 74 68 61 74 st scripts..that
2000: 20 75 73 65 20 74 65 73 74 20 63 65 72 74 73 20 use test certs
2010: 61 6e 64 20 63 61 6e 20 64 6f 20 73 69 6d 70 6c and can do simpl
2020: 65 20 73 74 72 65 73 73 20 74 65 73 74 73 2e 0a e stress tests..
2030: 0a 32 30 30 30 2d 30 38 2d 31 34 20 20 4a 65 66 .2000-08-14 Jef
2040: 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 f Hobbs <hobbs@
2050: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a scriptics.com>..
2060: 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 .* tlsInt.h:..*
2070: 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 42 tlsIO.c:..* tlsB
2080: 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 2e 63 3a 20 IO.c:..* tls.c:
2090: 63 68 61 6e 67 65 64 20 61 72 6f 75 6e 64 20 74 changed around t
20a0: 6f 20 6f 6e 6c 79 20 77 6f 72 6b 69 6e 67 20 77 o only working w
20b0: 69 74 68 20 38 2e 32 2e 30 2b 20 28 38 2e 33 2e ith 8.2.0+ (8.3.
20c0: 32 2b 0a 09 70 72 65 66 65 72 72 65 64 29 2c 20 2+..preferred),
20d0: 77 69 74 68 20 72 75 6e 74 69 6d 65 20 63 68 65 with runtime che
20e0: 63 6b 73 20 66 6f 72 20 70 72 65 2d 20 61 6e 64 cks for pre- and
20f0: 20 70 6f 73 74 2d 69 6f 2d 72 65 77 72 69 74 65 post-io-rewrite
2100: 2e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 ....* tls.c (Tls
2110: 5f 49 6e 69 74 29 3a 20 63 68 61 6e 67 65 64 20 _Init): changed
2120: 69 74 20 74 6f 20 72 65 71 75 69 72 65 20 38 2e it to require 8.
2130: 33 2e 32 20 77 68 65 6e 20 54 63 6c 5f 49 6e 69 3.2 when Tcl_Ini
2140: 74 53 74 75 62 73 0a 09 77 61 73 20 63 61 6c 6c tStubs..was call
2150: 65 64 20 62 65 63 61 75 73 65 20 77 65 20 64 6f ed because we do
2160: 6e 27 74 20 77 61 6e 74 20 70 65 6f 70 6c 65 20 n't want people
2170: 75 73 69 6e 67 20 54 4c 53 20 77 69 74 68 20 74 using TLS with t
2180: 68 65 0a 09 6f 72 69 67 69 6e 61 6c 20 73 74 61 he..original sta
2190: 63 6b 65 64 20 63 68 61 6e 6e 65 6c 20 69 6d 70 cked channel imp
21a0: 6c 65 6d 65 6e 74 61 74 69 6f 6e 2e 0a 0a 32 30 lementation...20
21b0: 30 30 2d 30 37 2d 32 36 20 20 4a 65 66 66 20 48 00-07-26 Jeff H
21c0: 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 obbs <hobbs@scr
21d0: 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 iptics.com>...*
21e0: 6d 65 72 67 65 64 20 61 6c 6c 20 63 68 61 6e 67 merged all chang
21f0: 65 73 20 66 72 6f 6d 20 74 6c 73 2d 31 2d 33 2d es from tls-1-3-
2200: 69 6f 2d 72 65 77 72 69 74 65 20 62 61 63 6b 20 io-rewrite back
2210: 69 6e 74 6f 20 6d 61 69 6e 20 62 72 61 6e 63 68 into main branch
2220: 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f ...* tests/tlsIO
2230: 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 20 63 .test: updated c
2240: 6f 6d 6d 65 6e 74 73 2c 20 66 69 78 65 64 20 61 omments, fixed a
2250: 20 70 63 43 72 61 73 68 20 63 61 73 65 20 74 68 pcCrash case th
2260: 61 74 0a 09 77 61 73 20 64 75 65 20 74 6f 20 64 at..was due to d
2270: 65 62 75 67 20 61 73 73 65 72 74 69 6f 6e 20 69 ebug assertion i
2280: 6e 20 57 69 6e 64 6f 77 73 20 53 53 4c 2e 0a 0a n Windows SSL...
2290: 09 2a 20 74 6c 73 2e 63 20 28 49 6d 70 6f 72 74 .* tls.c (Import
22a0: 4f 62 6a 43 6d 64 29 3a 20 72 65 6d 6f 76 65 64 ObjCmd): removed
22b0: 20 75 6e 6e 65 63 65 73 73 61 72 79 20 75 73 65 unnecessary use
22c0: 20 6f 66 20 27 62 69 6f 27 20 61 72 67 2e 0a 09 of 'bio' arg...
22d0: 28 54 6c 73 5f 49 6e 69 74 29 3a 20 63 68 65 63 (Tls_Init): chec
22e0: 6b 20 72 65 74 75 72 6e 20 76 61 6c 75 65 20 6f k return value o
22f0: 66 20 53 53 4c 5f 6c 69 62 72 61 72 79 5f 69 6e f SSL_library_in
2300: 69 74 2e 20 20 41 6c 73 6f 20 6c 6f 74 73 20 6f it. Also lots o
2310: 66 0a 09 77 68 69 74 65 73 70 61 63 65 20 63 6c f..whitespace cl
2320: 65 61 6e 75 70 20 28 6d 6f 72 65 20 6c 69 6b 65 eanup (more like
2330: 20 54 63 6c 20 45 6e 67 20 73 74 79 6c 65 20 67 Tcl Eng style g
2340: 75 69 64 65 29 2c 20 62 75 74 20 6e 6f 74 20 61 uide), but not a
2350: 6c 6c 0a 09 63 6f 64 65 20 77 61 73 20 63 6c 65 ll..code was cle
2360: 61 6e 65 64 20 75 70 2e 0a 0a 09 2a 20 74 6c 73 aned up....* tls
2370: 42 49 4f 2e 63 3a 20 6d 69 6e 6f 72 20 77 68 69 BIO.c: minor whi
2380: 74 65 73 70 61 63 65 20 63 6c 65 61 6e 75 70 0a tespace cleanup.
2390: 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 6d 69 6e ..* tlsIO.c: min
23a0: 6f 72 20 77 68 69 74 65 73 70 61 63 65 20 63 6c or whitespace cl
23b0: 65 61 6e 75 70 2e 0a 09 28 54 6c 73 49 6e 70 75 eanup...(TlsInpu
23c0: 74 50 72 6f 63 2c 20 54 6c 73 4f 75 74 70 75 74 tProc, TlsOutput
23d0: 50 72 6f 63 29 3a 20 41 64 64 65 64 20 45 52 52 Proc): Added ERR
23e0: 5f 63 6c 65 61 72 5f 65 72 72 6f 72 20 62 65 66 _clear_error bef
23f0: 6f 72 65 20 63 61 6c 6c 73 0a 09 74 6f 20 42 49 ore calls..to BI
2400: 4f 5f 72 65 61 64 20 6f 72 20 42 49 4f 5f 77 72 O_read or BIO_wr
2410: 69 74 65 2c 20 62 65 63 61 75 73 65 20 77 65 20 ite, because we
2420: 63 6f 75 6c 64 20 6f 74 68 65 72 77 69 73 65 20 could otherwise
2430: 65 6e 64 20 75 70 0a 09 70 75 6c 6c 69 6e 67 20 end up..pulling
2440: 61 6e 20 65 72 72 6f 72 20 6f 66 66 20 74 68 65 an error off the
2450: 20 73 74 61 63 6b 20 74 68 61 74 20 64 69 64 6e stack that didn
2460: 27 74 20 62 65 6c 6f 6e 67 20 74 6f 20 75 73 2e 't belong to us.
2470: 20 20 41 6c 73 6f 0a 09 63 6c 65 61 6e 75 70 20 Also..cleanup
2480: 75 70 20 65 78 63 65 73 73 69 76 65 20 75 73 65 up excessive use
2490: 20 6f 66 20 67 6f 74 6f 73 2e 0a 0a 32 30 30 30 of gotos...2000
24a0: 2d 30 37 2d 32 30 20 20 4a 65 66 66 20 48 6f 62 -07-20 Jeff Hob
24b0: 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 bs <hobbs@scrip
24c0: 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 tics.com>...* te
24d0: 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 sts/tlsIO.test:
24e0: 63 6f 72 72 65 63 74 65 64 20 76 61 72 69 6f 75 corrected variou
24f0: 73 20 74 65 73 74 73 20 74 6f 20 62 65 20 63 6f s tests to be co
2500: 72 72 65 63 74 20 66 6f 72 20 54 4c 53 0a 09 73 rrect for TLS..s
2510: 74 61 63 6b 65 64 20 63 68 61 6e 6e 65 6c 73 20 tacked channels
2520: 28 61 73 20 6f 70 70 6f 73 65 64 20 74 6f 20 74 (as opposed to t
2530: 68 65 20 73 74 61 6e 64 61 72 64 20 73 6f 63 6b he standard sock
2540: 65 74 73 20 74 68 65 20 74 65 73 74 0a 09 73 75 ets the test..su
2550: 69 74 65 20 77 61 73 20 61 64 6f 70 74 65 64 20 ite was adopted
2560: 66 72 6f 6d 29 2e 20 20 4b 65 79 20 64 69 66 66 from). Key diff
2570: 65 72 65 6e 63 65 73 20 61 72 65 20 74 68 61 74 erences are that
2580: 20 54 4c 53 20 63 61 6e 6e 6f 74 0a 09 6f 70 65 TLS cannot..ope
2590: 72 61 74 65 20 69 6e 20 6f 6e 65 20 70 72 6f 63 rate in one proc
25a0: 65 73 73 20 77 69 74 68 6f 75 74 20 61 6c 6c 20 ess without all
25b0: 63 68 61 6e 6e 65 6c 73 20 62 65 69 6e 67 20 6e channels being n
25c0: 6f 6e 2d 62 6c 6f 63 6b 69 6e 67 2c 20 6f 72 0a on-blocking, or.
25d0: 09 74 68 65 20 68 61 6e 64 73 68 61 6b 65 20 77 .the handshake w
25e0: 69 6c 6c 20 62 6c 6f 63 6b 2c 20 61 6e 64 20 68 ill block, and h
25f0: 61 6e 64 73 68 61 6b 69 6e 67 20 6d 75 73 74 20 andshaking must
2600: 62 65 20 66 6f 72 63 65 64 20 69 6e 20 73 6f 6d be forced in som
2610: 65 0a 09 63 61 73 65 73 2e 20 20 41 6c 73 6f 2c e..cases. Also,
2620: 20 68 61 6e 64 73 68 61 6b 65 73 20 64 6f 6e 27 handshakes don'
2630: 74 20 73 65 65 6d 20 74 6f 20 63 6f 6d 70 6c 65 t seem to comple
2640: 74 65 20 75 6e 6c 65 73 73 20 74 68 65 20 63 6c te unless the cl
2650: 69 65 6e 74 0a 09 68 61 73 20 70 6c 61 63 65 64 ient..has placed
2660: 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 62 79 at least one by
2670: 74 65 20 66 6f 72 20 74 68 65 20 73 65 72 76 65 te for the serve
2680: 72 20 74 6f 20 72 65 61 64 20 69 6e 20 74 68 65 r to read in the
2690: 20 63 68 61 6e 6e 65 6c 2e 0a 0a 09 2a 20 74 65 channel....* te
26a0: 73 74 73 2f 72 65 6d 6f 74 65 2e 74 63 6c 3a 20 sts/remote.tcl:
26b0: 63 6f 72 72 65 63 74 65 64 20 74 68 65 20 66 69 corrected the fi
26c0: 6e 64 69 6e 67 20 6f 66 20 74 65 73 74 73 20 63 nding of tests c
26d0: 65 72 74 69 66 69 63 61 74 65 73 0a 0a 09 2a 20 ertificates...*
26e0: 74 6c 73 49 4f 2e 63 20 28 54 6c 73 43 6c 6f 73 tlsIO.c (TlsClos
26f0: 65 50 72 6f 63 29 3a 20 72 65 6d 6f 76 65 64 20 eProc): removed
2700: 64 65 6c 65 74 69 6e 67 20 6f 66 20 74 69 6d 65 deleting of time
2710: 72 20 68 61 6e 64 6c 65 72 20 61 73 0a 09 74 68 r handler as..th
2720: 61 74 20 69 73 20 68 61 6e 64 6c 65 64 20 62 79 at is handled by
2730: 20 54 6c 73 5f 43 6c 65 61 6e 2e 0a 0a 09 2a 20 Tls_Clean....*
2740: 74 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 5f 61 tls.tcl (tls::_a
2750: 63 63 65 70 74 29 3a 20 63 6f 72 72 65 63 74 65 ccept): correcte
2760: 64 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 5f d the internal _
2770: 61 63 63 65 70 74 20 74 6f 0a 09 74 72 69 63 6b accept to..trick
2780: 6c 65 20 63 61 6c 6c 62 61 63 6b 20 65 72 72 6f le callback erro
2790: 72 73 20 74 6f 20 74 68 65 20 75 73 65 72 2e 0a rs to the user..
27a0: 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a ..* Makefile.in:
27b0: 20 6d 61 64 65 20 74 68 65 20 69 6e 73 74 61 6c made the instal
27c0: 6c 2d 62 69 6e 61 72 69 65 73 20 74 61 72 67 65 l-binaries targe
27d0: 74 20 72 65 67 65 6e 65 72 61 74 65 20 74 68 65 t regenerate the
27e0: 0a 09 70 6b 67 49 6e 64 65 78 2e 74 63 6c 20 63 ..pkgIndex.tcl c
27f0: 6f 72 72 65 63 74 6c 79 2e 20 20 54 68 65 20 74 orrectly. The t
2800: 65 73 74 20 74 61 72 67 65 74 20 70 72 6f 62 61 est target proba
2810: 62 6c 79 20 73 68 6f 75 6c 64 6e 27 74 20 73 63 bly shouldn't sc
2820: 72 65 77 0a 09 69 74 20 75 70 2c 20 62 75 74 20 rew..it up, but
2830: 74 68 69 73 20 69 73 20 74 6f 20 62 65 20 6f 6e this is to be on
2840: 20 74 68 65 20 73 61 66 65 20 73 69 64 65 2e 0a the safe side..
2850: 0a 32 30 30 30 2d 30 37 2d 31 37 20 20 4a 65 66 .2000-07-17 Jef
2860: 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 f Hobbs <hobbs@
2870: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a scriptics.com>..
2880: 09 2a 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c 2e .* pkgIndex.tcl.
2890: 69 6e 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 in:..* configure
28a0: 2e 69 6e 3a 20 75 70 64 61 74 65 64 20 76 65 72 .in: updated ver
28b0: 73 69 6f 6e 20 74 6f 20 31 2e 34 0a 0a 32 30 30 sion to 1.4..200
28c0: 30 2d 30 37 2d 31 33 20 20 4a 65 66 66 20 48 6f 0-07-13 Jeff Ho
28d0: 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 bbs <hobbs@scri
28e0: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 ptics.com>...* t
28f0: 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a ests/tlsIO.test:
2900: 20 65 6e 61 62 6c 65 64 20 74 65 73 74 73 20 32 enabled tests 2
2910: 2e 31 30 2c 20 37 2e 5b 31 32 34 35 5d 20 28 74 .10, 7.[1245] (t
2920: 68 65 72 65 20 69 73 20 6e 6f 20 33 29 2c 0a 09 here is no 3),..
2930: 77 68 69 63 68 20 6e 6f 77 20 70 61 73 73 2e 20 which now pass.
2940: 20 41 64 64 65 64 20 73 6f 6d 65 20 63 6f 6d 6d Added some comm
2950: 65 6e 74 73 20 74 6f 20 6f 74 68 65 72 20 66 61 ents to other fa
2960: 69 6c 69 6e 67 20 74 65 73 74 73 2e 0a 0a 32 30 iling tests...20
2970: 30 30 2d 30 37 2d 31 31 20 20 4a 65 66 66 20 48 00-07-11 Jeff H
2980: 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 obbs <hobbs@scr
2990: 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 iptics.com>...*
29a0: 74 6c 73 49 4f 2e 63 3a 20 63 68 61 6e 67 65 64 tlsIO.c: changed
29b0: 20 61 6c 6c 20 74 68 65 20 63 68 61 6e 6e 65 6c all the channel
29c0: 20 70 72 6f 63 73 20 74 6f 20 73 74 61 72 74 20 procs to start
29d0: 77 69 74 68 20 54 6c 73 2a 20 66 6f 72 0a 09 62 with Tls* for..b
29e0: 65 74 74 65 72 20 70 61 72 69 74 79 20 77 68 65 etter parity whe
29f0: 6e 20 63 6f 6d 70 61 72 69 6e 67 20 77 69 74 68 n comparing with
2a00: 20 54 72 61 6e 73 66 6f 72 6d 20 63 68 61 6e 6e Transform chann
2a10: 65 6c 20 70 72 6f 63 73 2e 0a 09 52 65 77 72 6f el procs...Rewro
2a20: 74 65 20 54 6c 73 57 61 74 63 68 50 72 6f 63 2c te TlsWatchProc,
2a30: 20 61 64 64 65 64 20 54 6c 73 4e 6f 74 69 66 79 added TlsNotify
2a40: 50 72 6f 63 20 61 63 63 6f 72 64 69 6e 67 20 74 Proc according t
2a50: 6f 20 74 68 65 20 6e 65 77 0a 09 63 68 61 6e 6e o the new..chann
2a60: 65 6c 20 64 65 73 69 67 6e 2c 20 77 68 69 63 68 el design, which
2a70: 20 61 6c 73 6f 20 6c 65 61 76 65 73 20 54 6c 73 also leaves Tls
2a80: 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 20 75 ChannelHandler u
2a90: 6e 75 73 65 64 2e 0a 0a 09 2a 20 74 6c 73 42 49 nused....* tlsBI
2aa0: 4f 2e 63 20 28 42 69 6f 43 74 72 6c 29 3a 20 63 O.c (BioCtrl): c
2ab0: 68 61 6e 67 65 64 20 42 49 4f 5f 43 54 52 4c 5f hanged BIO_CTRL_
2ac0: 46 4c 55 53 48 20 63 61 73 65 20 74 6f 20 75 73 FLUSH case to us
2ad0: 65 0a 09 54 63 6c 5f 57 72 69 74 65 52 61 77 20 e..Tcl_WriteRaw
2ae0: 69 6e 73 74 65 61 64 20 6f 66 20 54 63 6c 5f 46 instead of Tcl_F
2af0: 6c 75 73 68 20 28 74 6f 20 6f 70 65 72 61 74 65 lush (to operate
2b00: 20 6f 6e 20 63 6f 72 72 65 63 74 20 63 68 61 6e on correct chan
2b10: 6e 65 6c 0a 09 69 6e 20 74 68 65 20 73 74 61 63 nel..in the stac
2b20: 6b 20 69 6e 73 74 65 61 64 20 6f 66 20 73 74 61 k instead of sta
2b30: 72 74 69 6e 67 20 61 74 20 74 68 65 20 74 6f 70 rting at the top
2b40: 20 61 67 61 69 6e 29 2e 20 20 57 6f 75 6c 64 0a again). Would.
2b50: 09 6f 74 68 65 72 77 69 73 65 20 63 61 75 73 65 .otherwise cause
2b60: 20 61 20 72 65 63 75 72 73 69 76 65 20 73 74 61 a recursive sta
2b70: 63 6b 20 62 6f 6d 62 20 77 68 65 6e 20 69 6d 70 ck bomb when imp
2b80: 6c 69 63 69 74 20 68 61 6e 64 73 68 61 6b 69 6e licit handshakin
2b90: 67 0a 09 74 6f 6f 6b 20 65 66 66 65 63 74 2e 0a g..took effect..
2ba0: 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e ..* tests/tlsIO.
2bb0: 74 65 73 74 3a 20 72 65 6d 6f 76 65 64 20 63 68 test: removed ch
2bc0: 61 6e 67 65 73 20 6d 61 64 65 20 74 6f 20 74 65 anges made to te
2bd0: 73 74 20 73 75 69 74 65 20 28 61 6c 6c 20 74 65 st suite (all te
2be0: 73 74 73 0a 09 74 68 61 74 20 72 61 6e 20 62 65 sts..that ran be
2bf0: 66 6f 72 65 20 6e 6f 77 20 70 61 73 73 20 63 6f fore now pass co
2c00: 72 72 65 63 74 6c 79 29 2c 20 61 6e 64 20 63 68 rrectly), and ch
2c10: 61 6e 67 65 64 20 73 6f 6d 65 20 61 63 63 65 70 anged some accep
2c20: 74 20 70 72 6f 63 0a 09 61 72 67 73 20 74 6f 20 t proc..args to
2c30: 72 65 66 6c 65 63 74 20 74 68 61 74 20 61 20 73 reflect that a s
2c40: 6f 63 6b 20 69 73 20 61 6e 20 61 72 67 2c 20 6e ock is an arg, n
2c50: 6f 74 20 61 20 66 69 6c 65 2e 0a 0a 32 30 30 30 ot a file...2000
2c60: 2d 30 37 2d 31 30 20 20 4a 65 66 66 20 48 6f 62 -07-10 Jeff Hob
2c70: 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 bs <hobbs@scrip
2c80: 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c tics.com>...* tl
2c90: 73 42 49 4f 2e 63 20 28 42 69 6f 57 72 69 74 65 sBIO.c (BioWrite
2ca0: 2c 20 42 69 6f 52 65 61 64 29 3a 20 63 68 61 6e , BioRead): chan
2cb0: 67 65 64 20 54 63 6c 5f 52 65 61 64 2f 57 72 69 ged Tcl_Read/Wri
2cc0: 74 65 20 74 6f 0a 09 54 63 6c 5f 52 65 61 64 52 te to..Tcl_ReadR
2cd0: 61 77 2f 54 63 6c 57 72 69 74 65 52 61 77 2e 0a aw/TclWriteRaw..
2ce0: 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64 64 65 64 ..* tls.c: added
2cf0: 20 75 73 65 20 6f 66 20 54 63 6c 5f 47 65 74 54 use of Tcl_GetT
2d00: 6f 70 43 68 61 6e 6e 65 6c 20 61 66 74 65 72 20 opChannel after
2d10: 54 63 6c 5f 47 65 74 43 68 61 6e 6e 65 6c 20 61 Tcl_GetChannel a
2d20: 6e 64 0a 09 67 6f 74 20 72 65 74 75 72 6e 20 76 nd..got return v
2d30: 61 6c 75 65 20 66 72 6f 6d 20 54 63 6c 5f 53 74 alue from Tcl_St
2d40: 61 63 6b 43 68 61 6e 6e 65 6c 2e 0a 0a 09 2a 20 ackChannel....*
2d50: 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 tests/tlsIO.test
2d60: 3a 20 61 64 64 65 64 20 73 6f 6d 65 20 68 61 6e : added some han
2d70: 64 73 68 61 6b 69 6e 67 20 74 68 61 74 20 73 68 dshaking that sh
2d80: 6f 75 6c 64 6e 27 74 20 62 65 0a 09 6e 65 63 65 ouldn't be..nece
2d90: 73 73 61 72 79 2c 20 62 75 74 20 77 65 20 63 72 ssary, but we cr
2da0: 61 73 68 20 6f 74 68 65 72 77 69 73 65 20 28 6e ash otherwise (n
2db0: 65 65 64 73 20 6d 6f 72 65 20 74 65 73 74 69 6e eeds more testin
2dc0: 67 29 2e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a g)....* tlsIO.c:
2dd0: 20 61 64 64 65 64 20 73 75 70 70 6f 72 74 20 66 added support f
2de0: 6f 72 20 22 63 6f 72 72 65 63 74 65 64 22 20 73 or "corrected" s
2df0: 74 61 63 6b 65 64 20 63 68 61 6e 6e 65 6c 73 2e tacked channels.
2e00: 20 20 41 6c 6c 0a 09 74 68 65 20 61 62 6f 76 65 All..the above
2e10: 20 63 68 61 6e 6e 65 6c 73 20 61 72 65 20 69 6e channels are in
2e20: 20 54 43 4c 5f 43 48 41 4e 4e 45 4c 5f 56 45 52 TCL_CHANNEL_VER
2e30: 53 49 4f 4e 5f 32 20 23 69 66 64 65 66 73 2e 0a SION_2 #ifdefs..
2e40: 0a 32 30 30 30 2d 30 36 2d 30 35 20 20 53 63 6f .2000-06-05 Sco
2e50: 74 74 20 53 74 61 6e 74 6f 6e 20 20 3c 73 74 61 tt Stanton <sta
2e60: 6e 74 6f 6e 40 61 6a 75 62 61 73 6f 6c 75 74 69 nton@ajubasoluti
2e70: 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 4d 61 6b ons.com>...* Mak
2e80: 65 66 69 6c 65 2e 69 6e 3a 20 46 69 78 65 64 20 efile.in: Fixed
2e90: 62 72 6f 6b 65 6e 20 74 65 73 74 20 74 61 72 67 broken test targ
2ea0: 65 74 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 et....* tlsInt.h
2eb0: 3a 20 0a 09 2a 20 74 6c 73 2e 63 3a 20 43 6c 65 : ..* tls.c: Cle
2ec0: 61 6e 65 64 20 75 70 20 64 65 63 6c 61 72 61 74 aned up declarat
2ed0: 69 6f 6e 73 20 6f 66 20 54 6c 73 5f 43 6c 65 61 ions of Tls_Clea
2ee0: 6e 20 74 6f 20 61 76 6f 69 64 20 65 72 72 6f 72 n to avoid error
2ef0: 73 20 6f 6e 0a 09 57 69 6e 64 6f 77 73 20 28 6c s on..Windows (l
2f00: 69 6e 74 29 2e 0a 0a 32 30 30 30 2d 30 36 2d 30 int)...2000-06-0
2f10: 35 20 20 42 72 65 6e 74 20 57 65 6c 63 68 20 3c 5 Brent Welch <
2f20: 77 65 6c 63 68 40 61 6a 75 62 61 73 6f 6c 75 74 welch@ajubasolut
2f30: 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c ions.com>...* tl
2f40: 73 2e 63 2c 20 74 6c 73 49 4f 2e 63 3a 20 20 53 s.c, tlsIO.c: S
2f50: 70 6c 69 74 20 54 6c 73 5f 46 72 65 65 20 69 6e plit Tls_Free in
2f60: 74 6f 20 54 6c 73 5f 43 6c 65 61 6e 2c 20 77 68 to Tls_Clean, wh
2f70: 69 63 68 20 64 6f 65 73 0a 09 74 68 65 20 53 53 ich does..the SS
2f80: 4c 20 63 6c 65 61 6e 75 70 2c 20 61 6e 64 20 74 L cleanup, and t
2f90: 68 65 20 54 63 6c 5f 46 72 65 65 20 63 61 6c 6c he Tcl_Free call
2fa0: 2e 20 20 49 74 20 69 73 20 69 6d 70 6f 72 74 61 . It is importa
2fb0: 6e 74 20 74 6f 20 73 68 75 74 64 6f 77 6e 0a 09 nt to shutdown..
2fc0: 74 68 65 20 53 53 4c 20 73 74 61 74 65 20 22 73 the SSL state "s
2fd0: 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 22 20 64 75 ynchronously" du
2fe0: 72 69 6e 67 20 61 20 73 74 61 63 6b 65 64 20 66 ring a stacked f
2ff0: 6c 75 73 68 2e 0a 0a 32 30 30 30 2d 30 36 2d 30 lush...2000-06-0
3000: 31 20 20 53 63 6f 74 74 20 53 74 61 6e 74 6f 6e 1 Scott Stanton
3010: 20 20 3c 73 74 61 6e 74 6f 6e 40 61 6a 75 62 61 <stanton@ajuba
3020: 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a solutions.com>..
3030: 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 52 65 73 74 .* tlsIO.c: Rest
3040: 6f 72 65 64 20 63 61 6c 6c 20 74 6f 20 54 63 6c ored call to Tcl
3050: 5f 4e 6f 74 69 66 79 43 68 61 6e 6e 65 6c 20 66 _NotifyChannel f
3060: 72 6f 6d 20 43 68 61 6e 6e 65 6c 48 61 6e 64 6c rom ChannelHandl
3070: 65 72 0a 09 74 6f 20 65 6e 73 75 72 65 20 74 68 er..to ensure th
3080: 61 74 20 65 76 65 6e 74 73 20 70 72 6f 70 61 67 at events propag
3090: 61 74 65 20 66 72 6f 6d 20 74 68 65 20 6c 6f 77 ate from the low
30a0: 65 72 20 64 72 69 76 65 72 2e 20 20 54 68 69 73 er driver. This
30b0: 20 6d 61 79 0a 09 72 65 73 75 6c 74 20 69 6e 20 may..result in
30c0: 61 6e 20 69 6e 66 69 6e 69 74 65 20 6c 6f 6f 70 an infinite loop
30d0: 20 69 6e 20 73 6f 6d 65 20 63 61 73 65 73 2c 20 in some cases,
30e0: 73 6f 20 74 68 69 73 20 69 73 20 6e 6f 74 20 61 so this is not a
30f0: 20 74 6f 74 61 6c 0a 09 66 69 78 2e 20 20 54 68 total..fix. Th
3100: 69 73 20 6d 61 79 20 62 65 20 73 75 66 66 69 63 is may be suffic
3110: 69 65 6e 74 20 66 6f 72 20 6e 6f 77 2c 20 68 6f ient for now, ho
3120: 77 65 76 65 72 2e 20 5b 42 75 67 3a 20 35 36 32 wever. [Bug: 562
3130: 33 5d 0a 0a 32 30 30 30 2d 30 36 2d 30 31 20 20 3]..2000-06-01
3140: 53 63 6f 74 74 20 53 74 61 6e 74 6f 6e 20 20 3c Scott Stanton <
3150: 73 74 61 6e 74 6f 6e 40 73 63 72 69 70 74 69 63 stanton@scriptic
3160: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f s.com>...* tlsIO
3170: 2e 63 3a 20 52 65 73 74 6f 72 65 20 74 68 65 20 .c: Restore the
3180: 70 72 65 76 69 6f 75 73 20 76 65 72 73 69 6f 6e previous version
3190: 2e 20 20 46 69 78 65 64 20 74 68 65 20 43 6c 6f . Fixed the Clo
31a0: 73 65 50 72 6f 63 20 73 6f 0a 09 69 74 20 75 6e seProc so..it un
31b0: 72 65 67 69 73 74 65 72 73 20 74 68 65 20 63 68 registers the ch
31c0: 61 6e 6e 65 6c 20 68 61 6e 64 6c 65 72 20 6f 6e annel handler on
31d0: 20 74 68 65 20 73 75 70 65 72 63 65 64 65 64 20 the superceded
31e0: 63 68 61 6e 6e 65 6c 0a 09 69 6e 73 74 65 61 64 channel..instead
31f0: 20 6f 66 20 74 68 65 20 75 70 70 65 72 20 63 68 of the upper ch
3200: 61 6e 6e 65 6c 2e 20 41 6c 73 6f 20 72 65 6d 6f annel. Also remo
3210: 76 65 64 20 74 68 65 20 63 61 6c 6c 20 74 6f 0a ved the call to.
3220: 09 54 63 6c 5f 4e 6f 74 69 66 79 43 68 61 6e 6e .Tcl_NotifyChann
3230: 65 6c 20 69 6e 20 74 68 65 20 43 68 61 6e 6e 65 el in the Channe
3240: 6c 48 61 6e 64 6c 65 72 20 62 65 63 61 75 73 65 lHandler because
3250: 20 74 68 69 73 20 77 69 6c 6c 20 72 65 73 75 6c this will resul
3260: 74 0a 09 69 6e 20 61 6e 20 69 6e 66 69 6e 69 74 t..in an infinit
3270: 65 20 6c 6f 6f 70 20 69 66 20 64 61 74 61 20 69 e loop if data i
3280: 73 20 65 76 65 72 20 62 75 66 66 65 72 65 64 20 s ever buffered
3290: 69 6e 20 74 68 65 20 42 49 4f 0a 09 73 74 72 75 in the BIO..stru
32a0: 63 74 75 72 65 2e 20 5b 42 75 67 3a 20 35 36 32 cture. [Bug: 562
32b0: 33 5d 0a 0a 32 30 30 30 2d 30 35 2d 33 31 20 20 3]..2000-05-31
32c0: 42 72 65 6e 74 20 57 65 6c 63 68 20 3c 77 65 6c Brent Welch <wel
32d0: 63 68 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d ch@scriptics.com
32e0: 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 43 68 61 >...* tls.c: Cha
32f0: 6e 67 65 20 74 68 65 20 43 68 61 6e 6e 65 6c 48 nge the ChannelH
3300: 61 6e 64 6c 65 72 20 74 6f 20 62 65 20 72 65 67 andler to be reg
3310: 69 73 74 65 72 65 64 20 6f 6e 20 74 68 65 20 6d istered on the m
3320: 61 69 6e 0a 09 63 68 61 6e 6e 65 6c 20 61 73 20 ain..channel as
3330: 6f 70 70 73 65 64 20 74 6f 20 74 68 65 20 22 70 oppsed to the "p
3340: 61 72 65 6e 74 22 2c 20 6f 72 20 73 75 70 65 72 arent", or super
3350: 63 65 65 64 65 64 2c 20 63 68 61 6e 6e 65 6c 2e ceeded, channel.
3360: 20 20 54 68 69 73 0a 09 69 73 20 62 65 63 61 75 This..is becau
3370: 73 65 20 74 68 65 20 73 6f 63 6b 65 74 20 64 72 se the socket dr
3380: 69 76 65 72 20 6e 6f 74 69 66 69 65 73 20 74 68 iver notifies th
3390: 65 20 6d 61 69 6e 20 63 68 61 6e 6e 65 6c 2c 20 e main channel,
33a0: 61 6e 64 20 74 68 65 72 65 0a 09 61 72 65 20 74 and there..are t
33b0: 69 6d 65 73 20 77 69 74 68 20 74 68 65 20 6d 61 imes with the ma
33c0: 69 6e 20 63 68 61 6e 6e 65 6c 20 67 65 74 73 20 in channel gets
33d0: 63 6c 6f 73 65 64 2c 20 62 75 74 20 74 68 65 20 closed, but the
33e0: 73 75 70 65 72 63 65 64 65 64 0a 09 6f 6e 65 20 superceded..one
33f0: 69 73 20 6e 6f 74 20 79 65 74 20 63 6c 6f 73 65 is not yet close
3400: 64 2e 20 20 49 66 20 74 68 65 20 63 68 61 6e 6e d. If the chann
3410: 65 6c 20 68 61 6e 64 6c 65 72 20 67 65 74 73 20 el handler gets
3420: 74 72 69 67 67 65 72 65 64 20 69 6e 0a 09 74 68 triggered in..th
3430: 69 73 20 68 61 6c 66 2d 6f 70 65 6e 20 73 74 61 is half-open sta
3440: 74 65 20 69 74 20 69 73 20 61 73 73 6f 63 69 61 te it is associa
3450: 74 65 64 20 77 69 74 68 20 74 68 65 20 73 75 70 ted with the sup
3460: 65 72 63 65 65 64 65 64 0a 09 63 68 61 6e 6e 65 erceeded..channe
3470: 64 6c 2c 20 62 75 74 20 75 73 65 73 20 69 74 73 dl, but uses its
3480: 20 70 72 69 76 61 74 65 20 70 6f 69 6e 74 65 72 private pointer
3490: 20 74 6f 20 74 68 65 20 6d 61 69 6e 20 63 68 61 to the main cha
34a0: 6e 6e 65 6c 2c 20 77 68 69 63 68 0a 09 69 73 20 nnel, which..is
34b0: 6d 6f 73 74 6c 79 20 64 65 73 74 72 6f 79 65 64 mostly destroyed
34c0: 2e 20 20 45 6c 69 6d 69 6e 61 74 65 64 20 74 68 . Eliminated th
34d0: 65 20 72 65 64 75 6e 64 61 6e 74 20 63 61 6c 6c e redundant call
34e0: 20 74 6f 0a 09 54 63 6c 5f 4e 6f 74 69 66 79 43 to..Tcl_NotifyC
34f0: 68 61 6e 6e 65 6c 20 66 72 6f 6d 20 54 6c 73 57 hannel from TlsW
3500: 61 74 63 68 50 72 6f 63 2e 20 5b 42 75 67 3a 20 atchProc. [Bug:
3510: 35 36 32 33 5d 0a 5623].