0000: 32 30 31 32 2d 30 37 2d 30 39 20 20 41 6e 64 72 2012-07-09 Andr
0010: 65 61 73 20 4b 75 70 72 69 65 73 20 20 3c 61 6e eas Kupries <an
0020: 64 72 65 61 73 6b 40 61 63 74 69 76 65 73 74 61 dreask@activesta
0030: 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 63 6f 6e 66 te.com>...* conf
0040: 69 67 75 72 65 2e 69 6e 3a 20 42 75 6d 70 20 74 igure.in: Bump t
0050: 6f 20 76 65 72 73 69 6f 6e 20 31 2e 36 2e 33 2e o version 1.6.3.
0060: 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 ..* win/makefile
0070: 2e 76 63 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 .vc:..* configur
0080: 65 3a 20 72 65 67 65 6e 20 77 69 74 68 20 61 63 e: regen with ac
0090: 2d 32 2e 35 39 0a 0a 09 2a 20 74 6c 73 2e 63 20 -2.59...* tls.c
00a0: 28 4d 69 73 63 4f 62 6a 43 6d 64 29 3a 20 46 69 (MiscObjCmd): Fi
00b0: 78 65 64 20 6e 6f 6e 2d 73 74 61 74 69 63 20 73 xed non-static s
00c0: 74 72 69 6e 67 20 61 72 72 61 79 20 75 73 65 64 tring array used
00d0: 20 69 6e 20 63 61 6c 6c 0a 09 20 20 6f 66 20 54 in call.. of T
00e0: 63 6c 5f 47 65 74 49 6e 64 65 78 46 72 6f 6d 4f cl_GetIndexFromO
00f0: 62 6a 28 29 2e 20 4d 65 6d 6f 72 79 20 73 6d 61 bj(). Memory sma
0100: 73 68 20 77 61 69 74 69 6e 67 20 74 6f 20 68 61 sh waiting to ha
0110: 70 70 65 6e 2e 20 54 68 61 6e 6b 73 0a 09 20 20 ppen. Thanks..
0120: 74 6f 20 42 72 69 61 6e 20 47 72 69 66 66 69 6e to Brian Griffin
0130: 20 66 6f 72 20 61 6c 65 72 74 69 6e 67 20 75 73 for alerting us
0140: 20 61 6c 6c 20 74 6f 20 74 68 65 20 70 72 6f 62 all to the prob
0150: 6c 65 6d 2e 20 0a 0a 32 30 31 32 2d 30 36 2d 30 lem. ..2012-06-0
0160: 31 20 20 41 6e 64 72 65 61 73 20 4b 75 70 72 69 1 Andreas Kupri
0170: 65 73 20 20 3c 61 6e 64 72 65 61 73 6b 40 61 63 es <andreask@ac
0180: 74 69 76 65 73 74 61 74 65 2e 63 6f 6d 3e 0a 0a tivestate.com>..
0190: 09 2a 20 74 6c 73 2e 63 3a 20 41 70 70 6c 69 65 .* tls.c: Applie
01a0: 64 20 4a 65 66 66 27 73 20 70 61 74 63 68 20 66 d Jeff's patch f
01b0: 72 6f 6d 0a 09 20 20 68 74 74 70 3a 2f 2f 77 77 rom.. http://ww
01c0: 77 2e 6d 61 69 6c 2d 61 72 63 68 69 76 65 2e 63 w.mail-archive.c
01d0: 6f 6d 2f 61 6f 6c 73 65 72 76 65 72 40 6c 69 73 om/aolserver@lis
01e0: 74 73 65 72 76 2e 61 6f 6c 2e 63 6f 6d 2f 6d 73 tserv.aol.com/ms
01f0: 67 31 32 33 35 36 2e 68 74 6d 6c 0a 0a 09 2a 20 g12356.html...*
0200: 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 42 75 configure.in: Bu
0210: 6d 70 20 74 6f 20 76 65 72 73 69 6f 6e 20 31 2e mp to version 1.
0220: 36 2e 32 2e 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 6.2...* win/make
0230: 66 69 6c 65 2e 76 63 3a 0a 09 2a 20 63 6f 6e 66 file.vc:..* conf
0240: 69 67 75 72 65 3a 20 72 65 67 65 6e 20 77 69 74 igure: regen wit
0250: 68 20 61 63 2d 32 2e 35 39 0a 09 0a 32 30 31 30 h ac-2.59...2010
0260: 2d 30 38 2d 31 31 20 20 4a 65 66 66 20 48 6f 62 -08-11 Jeff Hob
0270: 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 bs <jeffh@Activ
0280: 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 2a eState.com>...**
0290: 2a 20 54 4c 53 20 31 2e 36 2e 31 20 54 41 47 47 * TLS 1.6.1 TAGG
02a0: 45 44 20 2a 2a 2a 0a 0a 09 2a 20 63 6f 6e 66 69 ED ***...* confi
02b0: 67 75 72 65 3a 20 72 65 67 65 6e 20 77 69 74 68 gure: regen with
02c0: 20 61 63 2d 32 2e 35 39 0a 09 2a 20 77 69 6e 2f ac-2.59..* win/
02d0: 6d 61 6b 65 66 69 6c 65 2e 76 63 2c 20 63 6f 6e makefile.vc, con
02e0: 66 69 67 75 72 65 2e 69 6e 3a 20 62 75 6d 70 20 figure.in: bump
02f0: 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e 36 2e 31 version to 1.6.1
0300: 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 ..* tclconfig/tc
0310: 6c 2e 6d 34 3a 20 75 70 64 61 74 65 64 20 74 6f l.m4: updated to
0320: 20 54 45 41 20 33 2e 38 0a 0a 09 2a 20 74 6c 73 TEA 3.8...* tls
0330: 2e 63 20 28 53 74 61 74 75 73 4f 62 6a 43 6d 64 .c (StatusObjCmd
0340: 29 3a 20 6d 65 6d 6c 65 61 6b 3a 20 66 72 65 65 ): memleak: free
0350: 20 70 65 65 72 20 69 66 20 6c 6f 61 64 65 64 2e peer if loaded.
0360: 20 5b 42 75 67 20 33 30 34 31 39 32 35 5d 0a 0a [Bug 3041925]..
0370: 32 30 31 30 2d 30 37 2d 32 37 20 20 4a 65 66 66 2010-07-27 Jeff
0380: 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 Hobbs <jeffh@A
0390: 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a ctiveState.com>.
03a0: 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 ..* tls.tcl (tls
03b0: 3a 3a 73 6f 63 6b 65 74 29 3a 20 73 6f 6d 65 20 ::socket): some
03c0: 73 6f 63 6b 65 74 20 69 6d 70 6c 65 6d 65 6e 74 socket implement
03d0: 61 74 69 6f 6e 73 20 68 61 76 65 20 61 20 2d 74 ations have a -t
03e0: 79 70 65 0a 09 73 75 70 70 6f 72 74 20 28 65 2e ype..support (e.
03f0: 67 2e 20 66 6f 72 20 69 6e 65 74 36 29 2e 0a 0a g. for inet6)...
0400: 32 30 30 39 2d 30 34 2d 32 33 20 20 4a 65 66 66 2009-04-23 Jeff
0410: 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 Hobbs <jeffh@A
0420: 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a ctiveState.com>.
0430: 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 ..* tls.tcl (tls
0440: 3a 3a 69 6e 69 74 6c 69 62 29 3a 20 61 64 64 20 ::initlib): add
0450: 73 75 70 70 6f 72 74 20 66 6f 72 20 57 69 6e 64 support for Wind
0460: 6f 77 73 20 73 74 61 72 70 61 63 6b 0a 09 6f 70 ows starpack..op
0470: 65 72 61 74 69 6f 6e 20 74 68 61 74 20 75 6e 62 eration that unb
0480: 75 6e 64 6c 65 73 20 61 6e 79 20 63 6f 6e 73 74 undles any const
0490: 69 74 75 65 6e 74 20 6c 69 62 72 61 72 69 65 73 ituent libraries
04a0: 2e 20 5b 41 53 20 42 75 67 20 38 32 38 38 38 5d . [AS Bug 82888]
04b0: 0a 0a 32 30 30 38 2d 30 36 2d 31 38 20 20 50 61 ..2008-06-18 Pa
04c0: 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 t Thoyts <patth
04d0: 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 oyts@users.sourc
04e0: 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 eforge.net>...*
04f0: 74 65 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65 tests/ciphers.te
0500: 73 74 3a 20 46 69 78 20 66 6f 72 20 64 69 66 66 st: Fix for diff
0510: 65 72 65 6e 74 20 6f 70 65 6e 73 73 6c 20 76 65 erent openssl ve
0520: 72 73 69 6f 6e 73 2e 0a 09 2a 20 77 69 6e 2f 6d rsions...* win/m
0530: 61 6b 65 66 69 6c 65 2e 76 63 3a 20 20 20 20 55 akefile.vc: U
0540: 70 64 61 74 65 73 20 74 6f 20 73 75 70 70 6f 72 pdates to suppor
0550: 74 20 74 65 73 74 73 2e 0a 09 2a 20 77 69 6e 2f t tests...* win/
0560: 72 75 6c 65 73 2e 76 63 3a 0a 09 2a 20 77 69 6e rules.vc:..* win
0570: 2f 6e 6d 61 6b 65 68 6c 70 2e 63 3a 0a 0a 32 30 /nmakehlp.c:..20
0580: 30 38 2d 30 33 2d 31 39 20 20 4a 65 66 66 20 48 08-03-19 Jeff H
0590: 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 obbs <jeffh@Act
05a0: 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 iveState.com>...
05b0: 2a 2a 2a 20 54 4c 53 20 31 2e 36 20 54 41 47 47 *** TLS 1.6 TAGG
05c0: 45 44 20 2a 2a 2a 0a 0a 09 2a 20 4d 61 6b 65 66 ED ***...* Makef
05d0: 69 6c 65 2e 69 6e 20 28 64 69 73 74 29 3a 20 75 ile.in (dist): u
05e0: 70 64 61 74 65 20 74 6f 20 69 6e 63 6c 75 64 65 pdate to include
05f0: 20 77 69 6e 2f 20 61 6e 64 20 66 69 6c 65 2e 73 win/ and file.s
0600: 72 6c 0a 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 rl...* win/makef
0610: 69 6c 65 2e 76 63 3a 20 62 75 6d 70 20 76 65 72 ile.vc: bump ver
0620: 73 69 6f 6e 20 74 6f 20 31 2e 36 0a 09 2a 20 63 sion to 1.6..* c
0630: 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 75 73 65 onfigure.in: use
0640: 20 2d 4c 20 61 6e 64 20 2d 52 20 77 68 65 72 65 -L and -R where
0650: 20 6e 65 63 65 73 73 61 72 79 2e 20 5b 42 75 67 necessary. [Bug
0660: 20 31 37 34 32 38 35 39 5d 0a 0a 09 2a 20 61 63 1742859]...* ac
0670: 6c 6f 63 61 6c 2e 6d 34 3a 20 69 6d 70 72 6f 76 local.m4: improv
0680: 65 20 2d 2d 77 69 74 68 2d 73 73 6c 2d 64 69 72 e --with-ssl-dir
0690: 20 63 68 65 63 6b 2e 0a 0a 09 2a 20 74 65 73 74 check....* test
06a0: 73 2f 74 6c 73 49 4f 2e 74 65 73 74 20 28 74 6c s/tlsIO.test (tl
06b0: 73 49 4f 2d 31 34 2e 2a 29 3a 20 20 20 41 64 64 sIO-14.*): Add
06c0: 20 74 6c 73 3a 3a 75 6e 69 6d 70 6f 72 74 20 66 tls::unimport f
06d0: 6f 72 20 73 79 6d 6d 65 74 72 79 0a 09 2a 20 74 or symmetry..* t
06e0: 6c 73 2e 68 74 6d 2c 20 74 6c 73 2e 63 20 28 55 ls.htm, tls.c (U
06f0: 6e 69 6d 70 6f 72 74 4f 62 6a 43 6d 64 29 3a 20 nimportObjCmd):
0700: 74 6f 20 74 6c 73 3a 3a 69 6d 70 6f 72 74 2e 20 to tls::import.
0710: 5b 42 75 67 20 31 32 30 33 32 37 33 5d 0a 0a 09 [Bug 1203273]...
0720: 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 43 6c 65 * tls.c (Tls_Cle
0730: 61 6e 2c 20 49 6d 70 6f 72 74 4f 62 6a 43 6d 64 an, ImportObjCmd
0740: 29 3a 20 46 69 78 20 63 6c 65 61 6e 75 70 20 6d ): Fix cleanup m
0750: 65 6d 20 6c 65 61 6b 20 5b 42 75 67 20 31 34 31 em leak [Bug 141
0760: 34 30 34 35 5d 0a 09 55 73 65 20 62 65 74 74 65 4045]..Use bette
0770: 72 20 45 76 61 6c 20 41 50 49 73 2c 20 63 6c 65 r Eval APIs, cle
0780: 61 6e 65 72 20 54 63 6c 5f 4f 62 6a 2d 68 61 6e aner Tcl_Obj-han
0790: 64 6c 69 6e 67 2e 0a 0a 32 30 30 38 2d 30 33 2d dling...2008-03-
07a0: 31 39 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 19 Pat Thoyts
07b0: 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 <patthoyts@users
07c0: 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 .sourceforge.net
07d0: 3e 0a 0a 09 2a 20 77 69 6e 2f 4d 61 6b 65 66 69 >...* win/Makefi
07e0: 6c 65 2e 76 63 20 20 55 70 64 61 74 65 64 20 74 le.vc Updated t
07f0: 68 65 20 6e 6d 61 6b 65 20 62 75 69 6c 64 20 66 he nmake build f
0800: 69 6c 65 73 20 77 69 74 68 20 4d 53 56 43 39 20 iles with MSVC9
0810: 73 75 70 70 6f 72 74 0a 09 2a 20 77 69 6e 2f 72 support..* win/r
0820: 75 6c 65 73 2e 76 63 3a 20 20 20 20 61 6e 64 20 ules.vc: and
0830: 66 69 78 65 64 20 74 6f 20 72 75 6e 20 74 68 65 fixed to run the
0840: 20 74 65 73 74 2d 73 75 69 74 65 20 70 72 6f 70 test-suite prop
0850: 65 72 6c 79 2e 0a 09 2a 20 77 69 6e 2f 6e 6d 61 erly...* win/nma
0860: 6b 65 68 6c 70 2e 63 3a 0a 09 2a 20 74 6c 73 2e kehlp.c:..* tls.
0870: 74 63 6c 20 28 74 6c 73 3a 3a 69 6e 69 74 6c 69 tcl (tls::initli
0880: 62 29 3a 20 43 6f 72 72 65 63 74 65 64 20 6e 61 b): Corrected na
0890: 6d 65 73 70 61 63 65 20 68 61 6e 64 6c 69 6e 67 mespace handling
08a0: 2e 0a 09 2a 20 74 6c 73 2e 63 3a 20 41 70 70 6c ...* tls.c: Appl
08b0: 69 65 64 20 23 31 38 39 30 32 32 33 20 74 6f 20 ied #1890223 to
08c0: 66 69 78 20 68 61 6e 64 73 68 61 6b 65 20 6f 6e fix handshake on
08d0: 20 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e 67 20 73 6f non-blocking so
08e0: 63 6b 65 74 73 0a 0a 32 30 30 38 2d 30 33 2d 31 ckets..2008-03-1
08f0: 37 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 7 Jeff Hobbs <
0900: 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 74 jeffh@ActiveStat
0910: 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 74 e.com>...* tls.t
0920: 63 6c 20 28 74 6c 73 3a 3a 69 6e 69 74 6c 69 62 cl (tls::initlib
0930: 29 3a 20 20 20 20 20 6c 6f 61 64 20 74 6c 73 2e ): load tls.
0940: 74 63 6c 20 66 69 72 73 74 20 61 6e 64 20 63 61 tcl first and ca
0950: 6c 6c 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 ll..* Makefile.i
0960: 6e 20 28 70 6b 67 49 6e 64 65 78 2e 74 63 6c 29 n (pkgIndex.tcl)
0970: 3a 20 74 6c 73 3a 3a 69 6e 69 74 6c 69 62 20 74 : tls::initlib t
0980: 6f 20 6c 6f 61 64 20 6c 69 62 72 61 72 79 20 74 o load library t
0990: 6f 0a 09 68 61 6e 64 6c 65 20 63 77 64 20 63 68 o..handle cwd ch
09a0: 61 6e 67 65 73 2e 20 5b 42 75 67 20 31 38 38 38 anges. [Bug 1888
09b0: 31 31 33 5d 0a 0a 32 30 30 37 2d 30 39 2d 30 36 113]..2007-09-06
09c0: 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 Pat Thoyts <p
09d0: 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 atthoyts@users.s
09e0: 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a ourceforge.net>.
09f0: 0a 09 2a 20 74 6c 73 2e 63 3a 20 20 20 20 20 20 ..* tls.c:
0a00: 20 20 20 20 20 53 69 6c 65 6e 63 65 20 36 34 20 Silence 64
0a10: 62 69 74 20 69 6e 74 65 67 65 72 20 63 6f 6e 76 bit integer conv
0a20: 65 72 73 69 6f 6e 20 77 61 72 6e 69 6e 67 73 0a ersion warnings.
0a30: 09 2a 20 77 69 6e 2f 6e 6d 61 6b 65 68 6c 70 2e .* win/nmakehlp.
0a40: 63 3a 20 20 55 70 64 61 74 65 20 62 75 69 6c 64 c: Update build
0a50: 20 73 79 73 74 65 6d 20 74 6f 20 73 75 70 70 6f system to suppo
0a60: 72 74 20 41 4d 44 36 34 20 74 61 72 67 65 74 0a rt AMD64 target.
0a70: 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e .* win/makefile.
0a80: 76 63 3a 20 77 69 74 68 20 4d 53 56 43 38 0a 09 vc: with MSVC8..
0a90: 2a 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63 3a 0a * win/rules.vc:.
0aa0: 0a 32 30 30 37 2d 30 36 2d 32 32 20 20 4a 65 66 .2007-06-22 Jef
0ab0: 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 f Hobbs <jeffh@
0ac0: 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e ActiveState.com>
0ad0: 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 20 28 54 6c ...* tlsIO.c (Tl
0ae0: 73 49 6e 70 75 74 50 72 6f 63 2c 20 54 6c 73 4f sInputProc, TlsO
0af0: 75 74 70 75 74 50 72 6f 63 2c 20 54 6c 73 57 61 utputProc, TlsWa
0b00: 74 63 68 50 72 6f 63 29 3a 20 0a 09 2a 20 74 6c tchProc): ..* tl
0b10: 73 2e 63 20 28 56 65 72 69 66 79 43 61 6c 6c 62 s.c (VerifyCallb
0b20: 61 63 6b 29 3a 20 61 64 64 20 61 6e 20 73 74 61 ack): add an sta
0b30: 74 65 20 66 6c 61 67 20 69 6e 20 74 68 65 20 76 te flag in the v
0b40: 65 72 69 66 79 20 63 61 6c 6c 62 61 63 6b 0a 09 erify callback..
0b50: 74 68 61 74 20 70 72 65 76 65 6e 74 73 20 70 6f that prevents po
0b60: 73 73 69 62 6c 79 20 72 65 63 75 72 73 69 6f 6e ssibly recursion
0b70: 20 28 6f 6e 20 27 75 70 64 61 74 65 27 29 2e 20 (on 'update').
0b80: 5b 42 75 67 20 31 36 35 32 33 38 30 5d 0a 0a 09 [Bug 1652380]...
0b90: 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72 73 2e * tests/ciphers.
0ba0: 74 65 73 74 3a 20 72 65 77 6f 72 6b 65 64 20 74 test: reworked t
0bb0: 6f 20 6d 61 6b 65 20 74 65 73 74 20 6f 75 74 70 o make test outp
0bc0: 75 74 20 63 6c 65 61 6e 65 72 20 74 6f 0a 09 75 ut cleaner to..u
0bd0: 6e 64 65 72 73 74 61 6e 64 20 6d 69 73 73 69 6e nderstand missin
0be0: 67 20 63 69 70 68 65 72 73 20 28 69 66 20 61 6e g ciphers (if an
0bf0: 79 29 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e y)...* Makefile.
0c00: 69 6e 2c 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 in, tclconfig/tc
0c10: 6c 2e 6d 34 3a 20 75 70 64 61 74 65 20 74 6f 20 l.m4: update to
0c20: 54 45 41 20 33 2e 36 0a 09 2a 20 63 6f 6e 66 69 TEA 3.6..* confi
0c30: 67 75 72 65 2c 20 63 6f 6e 66 69 67 75 72 65 2e gure, configure.
0c40: 69 6e 3a 20 20 20 20 20 20 20 75 73 69 6e 67 20 in: using
0c50: 61 75 74 6f 63 6f 6e 66 2d 32 2e 35 39 0a 0a 32 autoconf-2.59..2
0c60: 30 30 37 2d 30 32 2d 32 38 20 20 50 61 74 20 54 007-02-28 Pat T
0c70: 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 hoyts <patthoyt
0c80: 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f s@users.sourcefo
0c90: 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 77 69 6e rge.net>...* win
0ca0: 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 20 52 65 /makefile.vc: Re
0cb0: 62 61 73 65 20 74 68 65 20 44 4c 4c 20 73 65 6e base the DLL sen
0cc0: 73 69 62 6c 79 2e 20 41 64 64 69 74 69 6f 6e 61 sibly. Additiona
0cd0: 6c 20 6c 69 62 73 20 66 6f 72 20 0a 09 73 74 61 l libs for ..sta
0ce0: 74 69 63 20 6c 69 6e 6b 20 6f 66 20 6f 70 65 6e tic link of open
0cf0: 73 73 6c 2e 0a 09 2a 20 74 6c 73 2e 74 63 6c 3a ssl...* tls.tcl:
0d00: 20 62 75 67 20 23 31 35 37 39 38 33 37 20 2d 20 bug #1579837 -
0d10: 54 49 50 20 32 37 38 20 62 75 67 20 28 70 6f 73 TIP 278 bug (pos
0d20: 73 69 62 6c 79 29 20 2d 20 66 69 78 65 64 2e 0a sibly) - fixed..
0d30: 0a 32 30 30 36 2d 30 33 2d 33 30 20 20 50 61 74 .2006-03-30 Pat
0d40: 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f Thoyts <pattho
0d50: 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 yts@users.source
0d60: 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 forge.net>...* t
0d70: 63 6c 63 6f 6e 66 69 67 2f 2a 3a 20 20 55 70 64 clconfig/*: Upd
0d80: 61 74 65 64 20 74 6f 20 54 45 41 20 33 2e 35 20 ated to TEA 3.5
0d90: 69 6e 20 72 65 73 70 6f 6e 73 65 20 74 6f 20 62 in response to b
0da0: 75 67 20 31 34 36 30 34 39 31 0a 09 2a 20 63 6f ug 1460491..* co
0db0: 6e 66 69 67 75 72 65 2a 3a 20 20 20 52 65 67 65 nfigure*: Rege
0dc0: 6e 65 72 61 74 65 64 20 63 6f 6e 66 69 67 75 72 nerated configur
0dd0: 65 2e 0a 0a 32 30 30 35 2d 30 32 2d 30 38 20 20 e...2005-02-08
0de0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 Jeff Hobbs <jef
0df0: 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 fh@ActiveState.c
0e00: 6f 6d 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 om>...* Makefile
0e10: 2e 69 6e 2c 20 74 63 6c 63 6f 6e 66 69 67 2f 74 .in, tclconfig/t
0e20: 63 6c 2e 6d 34 3a 20 75 70 64 61 74 65 20 74 6f cl.m4: update to
0e30: 20 54 45 41 20 33 2e 32 0a 09 2a 20 63 6f 6e 66 TEA 3.2..* conf
0e40: 69 67 75 72 65 2c 20 63 6f 6e 66 69 67 75 72 65 igure, configure
0e50: 2e 69 6e 3a 20 20 20 20 20 20 20 75 73 69 6e 67 .in: using
0e60: 20 61 75 74 6f 63 6f 6e 66 2d 32 2e 35 39 0a 0a autoconf-2.59..
0e70: 32 30 30 34 2d 31 32 2d 32 33 20 20 50 61 74 20 2004-12-23 Pat
0e80: 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 Thoyts <patthoy
0e90: 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 ts@users.sourcef
0ea0: 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 4d 61 orge.net>...* Ma
0eb0: 6b 65 66 69 6c 65 2e 69 6e 3a 20 20 20 20 20 20 kefile.in:
0ec0: 52 65 6d 6f 76 65 64 20 73 70 75 72 69 6f 75 73 Removed spurious
0ed0: 20 63 6f 70 79 69 6e 67 20 6f 66 20 74 6c 73 2e copying of tls.
0ee0: 74 63 6c 20 69 6e 74 6f 20 74 68 65 0a 09 20 20 tcl into the..
0ef0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0f00: 20 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72 build director
0f10: 79 2e 0a 0a 32 30 30 34 2d 31 32 2d 32 32 20 20 y...2004-12-22
0f20: 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74 Pat Thoyts <pat
0f30: 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75 thoyts@users.sou
0f40: 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 rceforge.net>...
0f50: 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 * configure.in:
0f60: 20 20 20 20 49 6e 63 72 65 6d 65 6e 74 65 64 20 Incremented
0f70: 6d 69 6e 6f 72 20 76 65 72 73 69 6f 6e 20 74 6f minor version to
0f80: 20 31 2e 35 2e 31 0a 09 2a 20 63 6f 6e 66 69 67 1.5.1..* config
0f90: 75 72 65 3a 20 20 20 20 20 20 20 20 0a 0a 32 30 ure: ..20
0fa0: 30 34 2d 31 32 2d 31 37 20 20 50 61 74 20 54 68 04-12-17 Pat Th
0fb0: 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 oyts <patthoyts
0fc0: 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 @users.sourcefor
0fd0: 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 77 69 6e 2f ge.net>...* win/
0fe0: 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 20 20 41 64 makefile.vc: Ad
0ff0: 64 65 64 20 74 68 65 20 4d 53 56 43 20 62 75 69 ded the MSVC bui
1000: 6c 64 20 73 79 73 74 65 6d 20 28 66 72 6f 6d 20 ld system (from
1010: 74 68 65 20 54 63 6c 0a 09 2a 20 77 69 6e 2f 72 the Tcl..* win/r
1020: 75 6c 65 73 2e 76 63 3a 20 20 20 20 20 73 61 6d ules.vc: sam
1030: 70 6c 65 65 78 74 65 6e 73 69 6f 6e 29 2e 0a 09 pleextension)...
1040: 2a 20 77 69 6e 2f 6e 6d 61 6b 65 68 6c 70 2e 63 * win/nmakehlp.c
1050: 3a 0a 09 2a 20 77 69 6e 2f 74 6c 73 2e 72 63 20 :..* win/tls.rc
1060: 20 20 20 20 20 20 20 41 64 64 65 64 20 57 69 6e Added Win
1070: 64 6f 77 73 20 72 65 73 6f 75 72 63 65 20 66 69 dows resource fi
1080: 6c 65 2e 0a 09 0a 09 2a 20 74 6c 73 2e 74 63 6c le.....* tls.tcl
1090: 3a 20 20 20 20 20 20 20 20 20 20 46 72 6f 6d 20 : From
10a0: 70 61 74 63 68 20 23 39 34 38 31 35 35 2c 20 61 patch #948155, a
10b0: 64 64 65 64 20 73 75 70 70 6f 72 74 20 66 6f 72 dded support for
10c0: 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..
10d0: 20 20 20 20 20 20 61 6c 74 65 72 6e 61 74 65 20 alternate
10e0: 73 6f 63 6b 65 74 20 63 6f 6d 6d 61 6e 64 73 2e socket commands.
10f0: 0a 09 2a 20 74 6c 73 2e 63 3a 20 20 20 20 20 20 ..* tls.c:
1100: 20 20 20 20 20 20 51 75 69 65 74 65 6e 20 73 6f Quieten so
1110: 6d 65 20 4d 53 56 43 20 77 61 72 6e 69 6e 67 73 me MSVC warnings
1120: 2e 20 50 72 65 66 65 72 20 63 6b 61 6c 6c 6f 63 . Prefer ckalloc
1130: 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..
1140: 20 20 20 20 20 20 6f 76 65 72 20 54 63 6c 5f 41 over Tcl_A
1150: 6c 6c 6f 63 2e 20 28 44 61 76 69 64 20 47 72 61 lloc. (David Gra
1160: 76 65 72 61 75 78 29 2e 0a 0a 32 30 30 34 2d 30 veraux)...2004-0
1170: 36 2d 32 39 20 20 50 61 74 20 54 68 6f 79 74 73 6-29 Pat Thoyts
1180: 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 <patthoyts@use
1190: 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e rs.sourceforge.n
11a0: 65 74 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 20 et>...* tls.c:
11b0: 20 20 20 20 20 20 20 20 20 20 46 69 78 75 70 20 Fixup
11c0: 74 6f 20 62 75 69 6c 64 20 61 67 61 69 6e 73 74 to build against
11d0: 20 74 63 6c 20 38 2e 33 2e 33 2e 20 48 61 6e 64 tcl 8.3.3. Hand
11e0: 6c 65 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 20 le..* tlsIO.c:
11f0: 20 20 20 20 20 20 20 20 38 2e 34 20 63 6f 6e 73 8.4 cons
1200: 74 69 66 69 63 61 74 69 6f 6e 2e 0a 0a 09 2a 20 tification....*
1210: 74 6c 73 49 6e 74 2e 68 3a 20 20 20 20 20 20 20 tlsInt.h:
1220: 20 20 41 64 64 65 64 20 68 65 61 64 65 72 73 20 Added headers
1230: 72 65 71 75 69 72 65 64 20 77 69 74 68 20 4d 53 required with MS
1240: 56 43 20 6f 6e 20 57 69 6e 33 32 2e 0a 09 2a 20 VC on Win32...*
1250: 74 6c 73 58 35 30 39 2e 63 3a 20 20 20 20 20 20 tlsX509.c:
1260: 20 20 75 6e 64 65 66 20 6d 69 6e 20 61 6e 64 20 undef min and
1270: 6d 61 78 20 69 66 20 64 65 66 69 6e 65 64 20 28 max if defined (
1280: 77 69 6e 33 32 29 2e 0a 0a 09 2a 20 4d 61 6b 65 win32)....* Make
1290: 66 69 6c 65 2e 69 6e 3a 20 20 20 20 20 20 46 69 file.in: Fi
12a0: 78 65 64 20 74 6f 20 62 75 69 6c 64 20 6f 6e 20 xed to build on
12b0: 77 69 6e 33 32 20 75 73 69 6e 67 20 6d 73 79 73 win32 using msys
12c0: 20 77 69 74 68 0a 09 2a 20 61 63 6c 6f 63 61 6c with..* aclocal
12d0: 2e 6d 34 3a 20 20 20 20 20 20 20 4d 53 56 43 2e .m4: MSVC.
12e0: 20 41 6c 73 6f 20 66 69 78 65 64 20 74 68 65 20 Also fixed the
12f0: 74 65 73 74 20 74 61 72 67 65 74 2e 0a 09 2a 20 test target...*
1300: 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 0a 09 2a configure.in:..*
1310: 20 63 6f 6e 66 69 67 75 72 65 3a 20 20 20 20 20 configure:
1320: 20 20 20 52 65 67 65 6e 65 72 61 74 65 64 2e 0a Regenerated..
1330: 09 2a 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c .* tclconfig/tcl
1340: 2e 6d 34 3a 20 55 70 64 61 74 65 64 20 74 6f 20 .m4: Updated to
1350: 6d 6f 73 74 20 72 65 63 65 6e 74 20 76 65 72 73 most recent vers
1360: 69 6f 6e 2e 0a 0a 32 30 30 34 2d 30 33 2d 32 33 ion...2004-03-23
1370: 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 Dan Razzell <r
1380: 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68 esearch@starfish
1390: 73 79 73 74 65 6d 73 2e 63 61 3e 0a 09 2a 20 74 systems.ca>..* t
13a0: 6c 73 2e 63 3a 0a 09 2a 20 74 6c 73 42 49 4f 2e ls.c:..* tlsBIO.
13b0: 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 0a 09 c:..* tlsIO.c:..
13c0: 2a 20 74 6c 73 49 6e 74 2e 68 3a 09 46 69 78 65 * tlsInt.h:.Fixe
13d0: 64 20 74 79 70 65 20 6d 61 74 63 68 20 77 61 72 d type match war
13e0: 6e 69 6e 67 73 2e 0a 0a 32 30 30 34 2d 30 33 2d nings...2004-03-
13f0: 31 39 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 19 Jeff Hobbs
1400: 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 <jeffh@ActiveSta
1410: 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e te.com>...* tls.
1420: 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 20 20 c (Tls_Init):
1430: 72 65 70 6c 61 63 65 64 20 6f 6c 64 65 72 20 54 replaced older T
1440: 45 41 20 63 6f 6e 66 69 67 20 77 69 74 68 20 6e EA config with n
1450: 65 77 65 72 0a 09 2a 20 63 6f 6e 66 69 67 2f 2a ewer..* config/*
1460: 20 28 72 65 6d 6f 76 65 64 29 3a 0a 09 2a 20 70 (removed):..* p
1470: 6b 67 49 6e 64 65 78 2e 74 63 6c 2e 69 6e 2c 20 kgIndex.tcl.in,
1480: 73 74 72 6e 63 61 73 65 63 6d 70 2e 63 20 28 72 strncasecmp.c (r
1490: 65 6d 6f 76 65 64 29 3a 0a 09 2a 20 4d 61 6b 65 emoved):..* Make
14a0: 66 69 6c 65 2e 69 6e 2c 20 61 63 6c 6f 63 61 6c file.in, aclocal
14b0: 2e 6d 34 2c 20 63 6f 6e 66 69 67 75 72 65 2c 20 .m4, configure,
14c0: 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 0a 09 2a configure.in:..*
14d0: 20 74 63 6c 63 6f 6e 66 69 67 2f 52 45 41 44 4d tclconfig/READM
14e0: 45 2e 74 78 74 2c 20 74 63 6c 63 6f 6e 66 69 67 E.txt, tclconfig
14f0: 2f 69 6e 73 74 61 6c 6c 2d 73 68 2c 20 74 63 6c /install-sh, tcl
1500: 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a 0a 0a config/tcl.m4:..
1510: 32 30 30 34 2d 30 33 2d 31 37 20 20 44 61 6e 20 2004-03-17 Dan
1520: 52 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 Razzell <researc
1530: 68 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d h@starfishsystem
1540: 73 2e 63 61 3e 0a 0a 09 2a 20 74 6c 73 58 35 30 s.ca>...* tlsX50
1550: 39 2e 63 3a 09 41 64 64 20 73 75 70 70 6f 72 74 9.c:.Add support
1560: 20 66 6f 72 20 6c 6f 6e 67 20 73 65 72 69 61 6c for long serial
1570: 20 6e 75 6d 62 65 72 73 20 70 65 72 20 52 46 43 numbers per RFC
1580: 20 33 32 38 30 2e 0a 09 09 09 46 6f 72 6d 61 74 3280.....Format
1590: 20 69 73 20 6e 6f 77 20 68 65 78 61 64 65 63 69 is now hexadeci
15a0: 6d 61 6c 2e 20 0a 09 09 09 5b 52 65 71 75 65 73 mal. ....[Reques
15b0: 74 20 23 39 31 35 33 31 33 5d 0a 09 09 09 43 6f t #915313]....Co
15c0: 72 72 65 63 74 6c 79 20 63 6f 6e 76 65 72 74 20 rrectly convert
15d0: 63 65 72 74 69 66 69 63 61 74 65 20 44 69 73 74 certificate Dist
15e0: 69 6e 67 75 69 73 68 65 64 20 4e 61 6d 65 73 0a inguished Names.
15f0: 09 09 09 74 6f 20 54 63 6c 20 73 74 72 69 6e 67 ...to Tcl string
1600: 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e 2e representation.
1610: 20 20 45 6c 69 6d 69 6e 61 74 65 73 20 75 73 65 Eliminates use
1620: 20 6f 66 0a 09 09 09 64 65 70 72 65 63 61 74 65 of....deprecate
1630: 64 20 4f 70 65 6e 53 53 4c 20 66 75 6e 63 74 69 d OpenSSL functi
1640: 6f 6e 2e 20 20 46 6f 72 6d 61 74 20 69 73 20 6e on. Format is n
1650: 6f 77 20 63 6f 6d 70 6c 69 61 6e 74 0a 09 09 09 ow compliant....
1660: 77 69 74 68 20 52 46 43 20 32 32 35 33 2e 20 20 with RFC 2253.
1670: 5b 52 65 71 75 65 73 74 20 23 39 31 35 33 31 35 [Request #915315
1680: 5d 0a 0a 32 30 30 34 2d 30 32 2d 31 37 20 20 44 ]..2004-02-17 D
1690: 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 an Razzell <rese
16a0: 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 arch@starfishsys
16b0: 74 65 6d 73 2e 63 61 3e 0a 0a 09 54 4c 53 20 31 tems.ca>...TLS 1
16c0: 2e 35 2e 30 20 52 45 4c 45 41 53 45 0a 0a 32 30 .5.0 RELEASE..20
16d0: 30 34 2d 30 32 2d 31 32 20 20 44 61 6e 20 52 61 04-02-12 Dan Ra
16e0: 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 zzell.<research@
16f0: 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e starfishsystems.
1700: 63 61 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 09 41 ca>...* tls.c:.A
1710: 6c 6c 6f 77 20 76 65 72 69 66 79 20 63 61 6c 6c llow verify call
1720: 62 61 63 6b 20 74 6f 20 72 65 74 75 72 6e 20 65 back to return e
1730: 6d 70 74 79 20 72 65 73 75 6c 74 2e 0a 09 2a 20 mpty result...*
1740: 74 6c 73 2e 68 74 6d 3a 09 44 6f 63 75 6d 65 6e tls.htm:.Documen
1750: 74 20 63 61 6c 6c 62 61 63 6b 20 62 65 68 61 76 t callback behav
1760: 69 6f 72 73 2e 0a 0a 32 30 30 34 2d 30 32 2d 31 iors...2004-02-1
1770: 31 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 1 Dan Razzell.<
1780: 72 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73 research@starfis
1790: 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a hsystems.ca>...*
17a0: 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 tests/tlsIO.tes
17b0: 74 3a 0a 09 2a 20 72 65 6d 6f 74 65 2e 74 63 6c t:..* remote.tcl
17c0: 3a 09 43 6f 6d 70 6c 65 74 65 20 70 72 69 76 61 :.Complete priva
17d0: 74 65 20 6b 65 79 20 6e 61 6d 65 20 63 68 61 6e te key name chan
17e0: 67 65 73 20 66 72 6f 6d 20 32 30 30 31 2d 30 36 ges from 2001-06
17f0: 2d 32 31 2e 0a 0a 32 30 30 34 2d 30 32 2d 30 33 -21...2004-02-03
1800: 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 Dan Razzell <r
1810: 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68 esearch@starfish
1820: 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 systems.ca>...*
1830: 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 09 52 65 6d Makefile.in:.Rem
1840: 6f 76 65 64 20 63 69 72 63 75 6c 61 72 20 64 65 oved circular de
1850: 70 65 6e 64 65 6e 63 79 2e 0a 09 2a 20 74 6c 73 pendency...* tls
1860: 49 6e 74 2e 68 3a 09 4d 61 6b 65 20 66 75 6e 63 Int.h:.Make func
1870: 74 69 6f 6e 20 64 65 63 6c 61 72 61 74 69 6f 6e tion declaration
1880: 73 20 65 78 70 6c 69 63 69 74 2e 0a 09 2a 20 74 s explicit...* t
1890: 6c 73 2e 63 3a 09 46 69 78 20 74 79 70 65 20 6d ls.c:.Fix type m
18a0: 61 74 63 68 20 61 6e 64 20 75 6e 75 73 65 64 20 atch and unused
18b0: 76 61 72 69 61 62 6c 65 20 77 61 72 6e 69 6e 67 variable warning
18c0: 73 2e 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 09 s...* tlsBIO.c:.
18d0: 46 69 78 20 74 79 70 65 20 6d 61 74 63 68 20 77 Fix type match w
18e0: 61 72 6e 69 6e 67 2e 0a 0a 32 30 30 33 2d 31 32 arning...2003-12
18f0: 2d 31 35 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c -15 Dan Razzell
1900: 09 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66 .<research@starf
1910: 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a ishsystems.ca>..
1920: 09 2a 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c 2e .* pkgIndex.tcl.
1930: 69 6e 3a 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 0a in:..* tls.htm:.
1940: 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 .* tests/tlsIO.t
1950: 65 73 74 3a 20 75 70 64 61 74 65 64 20 76 65 72 est: updated ver
1960: 73 69 6f 6e 20 74 6f 20 31 2e 35 2e 0a 0a 32 30 sion to 1.5...20
1970: 30 33 2d 31 30 2d 30 37 20 20 44 61 6e 20 52 61 03-10-07 Dan Ra
1980: 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 zzell.<research@
1990: 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e starfishsystems.
19a0: 63 61 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 63 69 ca>...* tests/ci
19b0: 70 68 65 72 73 2e 74 65 73 74 3a 20 75 70 64 61 phers.test: upda
19c0: 74 65 64 20 6c 69 73 74 20 6f 66 20 74 65 73 74 ted list of test
19d0: 65 64 20 63 69 70 68 65 72 73 20 74 6f 20 63 6f ed ciphers to co
19e0: 72 72 65 73 70 6f 6e 64 0a 09 2a 20 77 69 74 68 rrespond..* with
19f0: 20 74 68 6f 73 65 20 61 76 61 69 6c 61 62 6c 65 those available
1a00: 20 66 72 6f 6d 20 4f 70 65 6e 53 53 4c 2e 20 5b from OpenSSL. [
1a10: 52 65 71 75 65 73 74 20 23 38 31 31 39 38 31 5d Request #811981]
1a20: 0a 0a 32 30 30 33 2d 31 30 2d 30 37 20 20 44 61 ..2003-10-07 Da
1a30: 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 n Razzell <resea
1a40: 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74 rch@starfishsyst
1a50: 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 6c 73 2e ems.ca>...* tls.
1a60: 63 3a 20 61 64 64 65 64 20 43 4f 4e 53 54 20 77 c: added CONST w
1a70: 69 74 68 20 69 6e 74 65 6e 74 20 73 69 6d 69 6c ith intent simil
1a80: 61 72 20 74 6f 20 74 68 6f 73 65 20 66 72 6f 6d ar to those from
1a90: 20 32 30 30 32 2d 30 32 2d 30 34 2e 0a 09 5b 52 2002-02-04...[R
1aa0: 65 71 75 65 73 74 20 23 38 31 31 39 31 31 5d 0a equest #811911].
1ab0: 0a 32 30 30 33 2d 30 37 2d 30 37 20 20 4a 65 66 .2003-07-07 Jef
1ac0: 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 f Hobbs <jeffh@
1ad0: 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e ActiveState.com>
1ae0: 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f ...* tls.c (Tls_
1af0: 49 6e 69 74 29 3a 20 20 20 61 64 64 65 64 20 74 Init): added t
1b00: 6c 73 3a 3a 6d 69 73 63 20 63 6f 6d 6d 61 6e 64 ls::misc command
1b10: 20 70 72 6f 76 69 64 65 64 20 62 79 0a 09 2a 20 provided by..*
1b20: 74 6c 73 58 35 30 39 2e 63 3a 20 20 20 20 20 20 tlsX509.c:
1b30: 20 20 20 20 57 6f 6a 63 69 65 63 68 20 4b 6f 63 Wojciech Koc
1b40: 6a 61 6e 20 28 77 6f 6a 63 69 65 63 68 20 6b 6f jan (wojciech ko
1b50: 63 6a 61 6e 2e 6f 72 67 29 0a 09 2a 20 74 65 73 cjan.org)..* tes
1b60: 74 73 2f 6b 65 79 74 65 73 74 31 2e 74 63 6c 3a ts/keytest1.tcl:
1b70: 20 74 6f 20 65 78 70 6f 73 65 20 6d 6f 72 65 20 to expose more
1b80: 6c 6f 77 2d 6c 65 76 65 6c 20 53 53 4c 20 63 6f low-level SSL co
1b90: 6d 6d 61 6e 64 73 0a 09 2a 20 74 65 73 74 73 2f mmands..* tests/
1ba0: 6b 65 79 74 65 73 74 32 2e 74 63 6c 3a 0a 0a 32 keytest2.tcl:..2
1bb0: 30 30 33 2d 30 35 2d 31 35 20 20 44 61 6e 20 52 003-05-15 Dan R
1bc0: 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63 68 azzell.<research
1bd0: 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 @starfishsystems
1be0: 2e 63 61 3e 20 0a 0a 09 2a 20 74 6c 73 2e 74 63 .ca> ...* tls.tc
1bf0: 6c 3a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a l:..* tlsInt.h:.
1c00: 09 2a 20 74 6c 73 2e 63 3a 20 61 64 64 20 73 75 .* tls.c: add su
1c10: 70 70 6f 72 74 20 66 6f 72 20 62 69 6e 64 69 6e pport for bindin
1c20: 67 20 61 20 70 61 73 73 77 6f 72 64 20 63 61 6c g a password cal
1c30: 6c 62 61 63 6b 20 74 6f 20 74 68 65 20 73 6f 63 lback to the soc
1c40: 6b 65 74 2e 0a 09 4e 6f 77 20 65 61 63 68 20 73 ket...Now each s
1c50: 6f 63 6b 65 74 20 63 61 6e 20 68 61 76 65 20 69 ocket can have i
1c60: 74 73 20 6f 77 6e 20 63 6f 6d 6d 61 6e 64 20 61 ts own command a
1c70: 6e 64 20 70 61 73 73 77 6f 72 64 20 63 61 6c 6c nd password call
1c80: 62 61 63 6b 73 20 69 6e 73 74 65 61 64 0a 09 6f backs instead..o
1c90: 66 20 62 65 69 6e 67 20 66 6f 72 63 65 64 20 74 f being forced t
1ca0: 6f 20 68 61 76 65 20 61 6c 6c 20 70 61 73 73 77 o have all passw
1cb0: 6f 72 64 20 6d 61 6e 61 67 65 6d 65 6e 74 20 70 ord management p
1cc0: 61 73 73 20 74 68 72 6f 75 67 68 20 61 20 63 6f ass through a co
1cd0: 6d 6d 6f 6e 0a 09 70 72 6f 63 65 64 75 72 65 2e mmon..procedure.
1ce0: 20 20 54 68 65 20 63 6f 6d 6d 6f 6e 20 70 61 73 The common pas
1cf0: 73 77 6f 72 64 20 70 72 6f 63 65 64 75 72 65 20 sword procedure
1d00: 69 73 20 72 65 74 61 69 6e 65 64 20 66 6f 72 20 is retained for
1d10: 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 0a 09 62 compatibility..b
1d20: 75 74 20 69 74 73 20 75 73 65 20 73 68 6f 75 6c ut its use shoul
1d30: 64 20 62 65 20 44 45 50 52 45 43 41 54 45 44 2e d be DEPRECATED.
1d40: 0a 09 41 64 64 20 76 65 72 73 69 6f 6e 20 63 6f ..Add version co
1d50: 6d 6d 61 6e 64 20 74 6f 20 72 65 74 75 72 6e 20 mmand to return
1d60: 4f 70 65 6e 53 53 4c 20 76 65 72 73 69 6f 6e 20 OpenSSL version
1d70: 73 74 72 69 6e 67 2e 0a 09 52 65 6d 6f 76 65 20 string...Remove
1d80: 75 6e 73 74 61 62 6c 65 20 77 6f 72 6b 61 72 6f unstable workaro
1d90: 75 6e 64 73 20 6e 65 65 64 65 64 20 66 6f 72 20 unds needed for
1da0: 76 65 72 69 66 79 20 69 6e 20 6f 62 73 6f 6c 65 verify in obsole
1db0: 74 65 20 76 65 72 73 69 6f 6e 73 20 6f 66 0a 09 te versions of..
1dc0: 4f 70 65 6e 53 53 4c 2e 0a 09 46 69 78 20 6d 65 OpenSSL...Fix me
1dd0: 6d 6f 72 79 20 6c 65 61 6b 2e 20 5b 52 65 71 75 mory leak. [Requ
1de0: 65 73 74 20 23 36 34 30 36 36 30 5d 0a 09 4d 6f est #640660]..Mo
1df0: 72 65 20 63 61 73 74 73 20 74 6f 20 65 6c 69 6d re casts to elim
1e00: 69 6e 61 74 65 20 63 6f 6d 70 69 6c 65 72 20 77 inate compiler w
1e10: 61 72 6e 69 6e 67 73 2e 0a 0a 09 2a 20 74 6c 73 arnings....* tls
1e20: 2e 68 74 6d 3a 20 64 6f 63 75 6d 65 6e 74 20 70 .htm: document p
1e30: 61 73 73 77 6f 72 64 20 63 61 6c 6c 62 61 63 6b assword callback
1e40: 2e 0a 09 43 6f 72 72 65 63 74 20 74 65 63 68 6e ...Correct techn
1e50: 69 63 61 6c 20 61 6e 64 20 74 79 70 6f 67 72 61 ical and typogra
1e60: 70 68 69 63 20 65 72 72 6f 72 73 2e 0a 0a 09 2a phic errors....*
1e70: 20 52 45 41 44 4d 45 2e 74 78 74 3a 20 69 64 65 README.txt: ide
1e80: 6e 74 69 66 79 20 76 65 72 73 69 6f 6e 73 20 6f ntify versions o
1e90: 66 20 4f 70 65 6e 53 53 4c 20 77 68 69 63 68 20 f OpenSSL which
1ea0: 66 69 78 20 6b 6e 6f 77 6e 20 70 72 6f 62 6c 65 fix known proble
1eb0: 6d 73 2e 0a 09 47 65 6e 65 72 61 6c 20 77 61 72 ms...General war
1ec0: 6e 69 6e 67 20 6f 66 20 73 65 63 75 72 69 74 79 ning of security
1ed0: 20 70 72 6f 62 6c 65 6d 73 20 69 6e 20 6f 6c 64 problems in old
1ee0: 65 72 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 4f er versions of O
1ef0: 70 65 6e 53 53 4c 2e 0a 0a 32 30 30 32 2d 30 32 penSSL...2002-02
1f00: 2d 30 34 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -04 Jeff Hobbs
1f10: 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 <jeffh@ActiveSt
1f20: 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 ate.com>...* tls
1f30: 2e 68 74 6d 3a 0a 09 2a 20 74 6c 73 2e 63 3a 20 .htm:..* tls.c:
1f40: 61 64 64 65 64 20 73 75 70 70 6f 72 74 20 66 6f added support fo
1f50: 72 20 6c 6f 63 61 6c 20 63 65 72 74 69 66 69 63 r local certific
1f60: 61 74 65 20 73 74 61 74 75 73 20 63 68 65 63 6b ate status check
1f70: 2c 20 61 73 20 77 65 6c 6c 0a 09 61 73 20 72 65 , as well..as re
1f80: 74 75 72 6e 69 6e 67 20 74 68 65 20 23 20 6f 66 turning the # of
1f90: 20 62 69 74 73 20 69 6e 20 74 68 65 20 73 65 73 bits in the ses
1fa0: 73 69 6f 6e 20 6b 65 79 2e 20 5b 50 61 74 63 68 sion key. [Patch
1fb0: 20 23 35 30 35 36 39 38 5d 20 28 72 6f 73 65 29 #505698] (rose)
1fc0: 0a 0a 09 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 74 ...* tls.c:..* t
1fd0: 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 42 49 lsIO.c:..* tlsBI
1fe0: 4f 2e 63 3a 20 61 64 64 65 64 20 43 4f 4e 53 54 O.c: added CONST
1ff0: 73 20 74 6f 20 73 61 74 69 73 66 79 20 54 63 6c s to satisfy Tcl
2000: 20 38 2e 34 20 73 6f 75 72 63 65 73 2e 20 20 54 8.4 sources. T
2010: 68 69 73 20 6d 61 79 0a 09 67 69 76 65 20 77 61 his may..give wa
2020: 72 6e 69 6e 67 73 20 77 68 65 6e 20 63 6f 6d 70 rnings when comp
2030: 69 6c 65 64 20 61 67 61 69 6e 73 74 20 38 2e 33 iled against 8.3
2040: 2c 20 62 75 74 20 74 68 65 79 20 63 61 6e 20 62 , but they can b
2050: 65 20 69 67 6e 6f 72 65 64 2e 0a 0a 09 2a 20 74 e ignored....* t
2060: 65 73 74 73 2f 73 69 6d 70 6c 65 43 6c 69 65 6e ests/simpleClien
2070: 74 2e 74 63 6c 3a 0a 09 2a 20 74 65 73 74 73 2f t.tcl:..* tests/
2080: 73 69 6d 70 6c 65 53 65 72 76 65 72 2e 74 63 6c simpleServer.tcl
2090: 3a 20 70 6f 69 6e 74 20 74 6f 20 75 70 64 61 74 : point to updat
20a0: 65 64 20 63 6c 69 65 6e 74 2f 73 65 72 76 65 72 ed client/server
20b0: 20 6b 65 79 20 66 69 6c 65 73 2e 0a 0a 09 2a 20 key files....*
20c0: 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 tests/tlsIO.test
20d0: 3a 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 68 65 :..* tests/ciphe
20e0: 72 73 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 rs.test: updated
20f0: 20 74 6f 20 6c 6f 61 64 20 74 6c 73 20 66 72 6f to load tls fro
2100: 6d 20 62 75 69 6c 64 20 64 69 72 2e 0a 0a 09 2a m build dir....*
2110: 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 72 65 Makefile.in: re
2120: 6d 6f 76 65 64 20 73 74 72 6e 63 61 73 65 63 6d moved strncasecm
2130: 70 20 66 72 6f 6d 20 64 65 66 61 75 6c 74 20 6f p from default o
2140: 62 6a 65 63 74 20 73 65 74 2e 20 20 54 68 69 73 bject set. This
2150: 0a 09 69 73 20 6f 6e 6c 79 20 6e 65 65 64 65 64 ..is only needed
2160: 20 6f 6e 20 74 68 65 20 4d 61 63 2c 20 61 6e 64 on the Mac, and
2170: 20 54 63 6c 20 73 74 75 62 73 20 70 72 6f 76 69 Tcl stubs provi
2180: 64 65 73 20 69 74 2e 0a 0a 09 2a 20 63 6f 6e 66 des it....* conf
2190: 69 67 75 72 65 3a 20 72 65 67 65 6e 27 65 64 2e igure: regen'ed.
21a0: 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e ..* configure.in
21b0: 3a 20 75 70 64 61 74 65 64 20 74 6f 20 31 2e 35 : updated to 1.5
21c0: 2e 30 20 66 6f 72 20 6e 65 78 74 20 72 65 6c 65 .0 for next rele
21d0: 61 73 65 2e 0a 09 43 68 61 6e 67 65 64 20 64 65 ase...Changed de
21e0: 66 61 75 6c 74 20 6f 70 65 6e 73 73 6c 20 6c 6f fault openssl lo
21f0: 63 61 74 69 6f 6e 20 74 6f 20 2f 75 73 72 2f 6c cation to /usr/l
2200: 6f 63 61 6c 2f 73 73 6c 20 28 74 68 69 73 20 69 ocal/ssl (this i
2210: 73 20 77 68 65 72 65 0a 09 6f 70 65 6e 73 73 6c s where..openssl
2220: 20 30 2e 39 2e 36 63 20 69 6e 73 74 61 6c 6c 73 0.9.6c installs
2230: 20 62 79 20 64 65 66 61 75 6c 74 29 2e 0a 09 43 by default)...C
2240: 68 61 6e 67 65 64 20 74 6f 20 75 73 65 20 70 75 hanged to use pu
2250: 62 6c 69 63 20 54 63 6c 20 68 65 61 64 65 72 73 blic Tcl headers
2260: 20 28 70 72 69 76 61 74 65 20 6e 6f 74 20 6e 65 (private not ne
2270: 65 64 65 64 29 2e 0a 0a 32 30 30 31 2d 30 36 2d eded)...2001-06-
2280: 32 31 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 21 Jeff Hobbs
2290: 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 <jeffh@ActiveSta
22a0: 74 65 2e 63 6f 6d 3e 0a 0a 09 54 4c 53 20 31 2e te.com>...TLS 1.
22b0: 34 2e 31 20 52 45 4c 45 41 53 45 0a 0a 09 2a 20 4.1 RELEASE...*
22c0: 63 6f 6e 66 69 67 75 72 65 3a 20 61 64 64 65 64 configure: added
22d0: 20 63 6f 6e 66 69 67 75 72 65 20 74 6f 20 43 56 configure to CV
22e0: 53 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 S..* configure.i
22f0: 6e 3a 20 6d 6f 76 65 64 20 74 6f 20 70 61 74 63 n: moved to patc
2300: 68 6c 65 76 65 6c 20 31 2e 34 2e 31 0a 0a 09 2a hlevel 1.4.1...*
2310: 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 63 6f Makefile.in: co
2320: 72 72 65 63 74 65 64 20 27 64 69 73 74 27 20 74 rrected 'dist' t
2330: 61 72 67 65 74 0a 0a 09 2a 20 74 65 73 74 73 2f arget...* tests/
2340: 63 65 72 74 73 2f 66 69 6c 65 2e 73 72 6c 3a 0a certs/file.srl:.
2350: 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63 .* tests/certs/c
2360: 61 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 74 73 2f a.pem:..* tests/
2370: 63 65 72 74 73 2f 63 6c 69 65 6e 74 2e 6b 65 79 certs/client.key
2380: 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 :..* tests/certs
2390: 2f 63 6c 69 65 6e 74 2e 70 65 6d 3a 0a 09 2a 20 /client.pem:..*
23a0: 74 65 73 74 73 2f 63 65 72 74 73 2f 63 6c 69 65 tests/certs/clie
23b0: 6e 74 2e 72 65 71 3a 0a 09 2a 20 74 65 73 74 73 nt.req:..* tests
23c0: 2f 63 65 72 74 73 2f 70 72 69 76 6b 65 79 2e 70 /certs/privkey.p
23d0: 65 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 em:..* tests/cer
23e0: 74 73 2f 73 65 72 76 65 72 2e 6b 65 79 3a 0a 09 ts/server.key:..
23f0: 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 73 65 * tests/certs/se
2400: 72 76 65 72 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 rver.pem:..* tes
2410: 74 73 2f 63 65 72 74 73 2f 73 65 72 76 65 72 2e ts/certs/server.
2420: 72 65 71 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 req:..* tests/ce
2430: 72 74 73 2f 63 61 63 65 72 74 2e 70 65 6d 3a 20 rts/cacert.pem:
2440: 72 65 70 6c 61 63 65 64 20 62 79 20 6e 65 77 20 replaced by new
2450: 63 61 2e 70 65 6d 0a 09 2a 20 74 65 73 74 73 2f ca.pem..* tests/
2460: 63 65 72 74 73 2f 73 6b 65 79 2e 70 65 6d 3a 20 certs/skey.pem:
2470: 72 65 70 6c 61 63 65 64 20 62 79 20 6e 65 77 20 replaced by new
2480: 73 65 72 76 65 72 2e 6b 65 79 0a 09 2a 20 74 65 server.key..* te
2490: 73 74 73 2f 63 65 72 74 73 2f 63 6b 65 79 2e 70 sts/certs/ckey.p
24a0: 65 6d 3a 20 72 65 70 6c 61 63 65 64 20 62 79 20 em: replaced by
24b0: 6e 65 77 20 63 6c 69 65 6e 74 2e 6b 65 79 0a 09 new client.key..
24c0: 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 52 45 * tests/certs/RE
24d0: 41 44 4d 45 2e 74 78 74 3a 20 6e 65 77 20 73 65 ADME.txt: new se
24e0: 74 20 6f 66 20 74 65 73 74 20 63 65 72 74 69 66 t of test certif
24f0: 69 63 61 74 65 73 20 77 69 74 68 20 73 6f 6d 65 icates with some
2500: 0a 09 52 45 41 44 4d 45 20 69 6e 66 6f 20 6f 6e ..README info on
2510: 20 74 68 65 69 72 20 67 65 6e 65 72 61 74 69 6f their generatio
2520: 6e 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 n....* tests/cip
2530: 68 65 72 73 2e 74 65 73 74 3a 20 75 70 64 61 74 hers.test: updat
2540: 65 64 20 63 69 70 68 65 72 73 20 65 78 70 65 63 ed ciphers expec
2550: 74 65 64 20 77 69 74 68 20 64 65 66 61 75 6c 74 ted with default
2560: 0a 09 6f 70 65 6e 73 73 6c 20 62 75 69 6c 64 2e ..openssl build.
2570: 0a 0a 09 2a 20 74 65 73 74 73 2f 74 63 6c 49 4f ...* tests/tclIO
2580: 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 20 74 .test: updated t
2590: 6f 20 75 73 65 20 6e 65 77 20 6e 61 6d 65 73 20 o use new names
25a0: 66 6f 72 20 63 65 72 74 73 2f 6b 65 79 73 2e 0a for certs/keys..
25b0: 0a 32 30 30 31 2d 30 33 2d 31 34 20 20 4a 65 66 .2001-03-14 Jef
25c0: 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 f Hobbs <jeffh@
25d0: 67 69 6d 6c 65 74 2e 61 63 74 69 76 65 73 74 61 gimlet.activesta
25e0: 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e te.com>...* tls.
25f0: 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 61 64 c (Tls_Init): ad
2600: 64 20 64 6f 2f 77 68 69 6c 65 20 66 6f 72 20 72 d do/while for r
2610: 61 6e 64 6f 6d 20 6e 75 6d 62 65 72 20 69 6e 69 andom number ini
2620: 74 69 61 6c 69 7a 61 74 69 6f 6e 0a 09 74 6f 20 tialization..to
2630: 77 6f 72 6b 20 61 72 6f 75 6e 64 20 73 6f 6d 65 work around some
2640: 20 4f 53 65 73 20 71 75 69 72 6b 73 2e 20 20 28 OSes quirks. (
2650: 52 61 6c 70 68 2e 42 69 6c 6c 65 73 40 74 65 6c Ralph.Billes@tel
2660: 74 65 63 68 2e 63 6f 6d 2e 61 75 29 0a 0a 32 30 tech.com.au)..20
2670: 30 30 2d 30 39 2d 30 37 20 20 4a 65 66 66 20 48 00-09-07 Jeff H
2680: 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 obbs <hobbs@scr
2690: 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 iptics.com>...*
26a0: 74 6c 73 49 4f 2e 63 20 28 54 6c 73 5f 43 68 61 tlsIO.c (Tls_Cha
26b0: 6e 6e 65 6c 54 79 70 65 29 3a 20 73 65 74 20 74 nnelType): set t
26c0: 79 70 65 4e 61 6d 65 20 66 69 65 6c 64 20 6f 66 ypeName field of
26d0: 20 63 68 61 6e 6e 65 6c 20 74 79 70 65 20 74 6f channel type to
26e0: 0a 09 22 74 6c 73 22 20 28 74 68 69 73 20 67 6f .."tls" (this go
26f0: 74 20 6c 6f 73 74 20 69 6e 20 6d 6f 76 65 20 74 t lost in move t
2700: 6f 20 64 79 6e 61 6d 69 63 20 76 65 72 73 69 6f o dynamic versio
2710: 6e 20 63 6f 6d 70 61 74 61 62 69 6c 69 74 79 0a n compatability.
2720: 09 63 68 65 63 6b 69 6e 67 29 2e 0a 0a 32 30 30 .checking)...200
2730: 30 2d 30 38 2d 32 33 20 20 4a 65 66 66 20 48 6f 0-08-23 Jeff Ho
2740: 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 bbs <hobbs@scri
2750: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 54 4c 53 ptics.com>...TLS
2760: 20 31 2e 34 20 52 45 4c 45 41 53 45 44 0a 0a 09 1.4 RELEASED...
2770: 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 20 28 64 * Makefile.in (d
2780: 69 73 74 29 3a 20 63 72 65 61 74 65 20 64 69 73 ist): create dis
2790: 74 20 74 61 72 67 65 74 20 66 6f 72 20 61 72 63 t target for arc
27a0: 68 69 76 65 20 64 69 73 74 72 69 62 75 74 69 6f hive distributio
27b0: 6e 73 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 ns...* tests/tls
27c0: 49 4f 2e 74 65 73 74 20 28 74 6c 73 49 4f 2d 38 IO.test (tlsIO-8
27d0: 2e 31 29 3a 20 61 64 64 65 64 20 61 20 64 65 6c .1): added a del
27e0: 61 79 20 6f 6e 20 74 68 65 20 61 63 63 65 70 74 ay on the accept
27f0: 20 63 6c 6f 73 65 0a 09 74 6f 20 6d 61 6b 65 20 close..to make
2800: 74 68 65 20 74 65 73 74 20 77 6f 72 6b 20 77 69 the test work wi
2810: 74 68 20 4f 70 65 6e 53 53 4c 20 6f 6e 20 57 69 th OpenSSL on Wi
2820: 6e 64 6f 77 73 20 28 64 6f 65 73 6e 27 74 20 61 ndows (doesn't a
2830: 66 66 65 63 74 0a 09 6f 74 68 65 72 20 62 75 69 ffect..other bui
2840: 6c 64 73 29 2e 0a 0a 09 2a 20 74 6c 73 2e 68 74 lds)....* tls.ht
2850: 6d 3a 20 75 70 64 61 74 65 64 20 77 69 74 68 20 m: updated with
2860: 6e 6f 74 65 73 20 66 6f 72 20 31 2e 34 2e 0a 0a notes for 1.4...
2870: 32 30 30 30 2d 30 38 2d 32 31 20 20 4a 65 66 66 2000-08-21 Jeff
2880: 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 Hobbs <hobbs@s
2890: 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 criptics.com>...
28a0: 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 * tests/tlsIO.te
28b0: 73 74 3a 20 72 65 71 75 69 72 65 20 61 74 20 6c st: require at l
28c0: 65 61 73 74 20 74 6c 73 31 2e 34 20 69 6e 20 74 east tls1.4 in t
28d0: 65 73 74 20 73 75 69 74 65 2e 0a 0a 32 30 30 30 est suite...2000
28e0: 2d 30 38 2d 31 38 20 20 4a 65 66 66 20 48 6f 62 -08-18 Jeff Hob
28f0: 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 bs <hobbs@scrip
2900: 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c tics.com>...* tl
2910: 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 s.c (Tls_Init):
2920: 61 64 64 65 64 20 63 61 6c 6c 20 74 6f 20 52 41 added call to RA
2930: 4e 44 5f 73 65 65 64 20 74 6f 20 73 65 65 64 20 ND_seed to seed
2940: 74 68 65 20 53 53 4c 20 72 61 6e 64 6f 6d 0a 09 the SSL random..
2950: 6e 75 6d 62 65 72 20 67 65 6e 65 72 61 74 6f 72 number generator
2960: 2e 20 20 57 69 74 68 6f 75 74 20 74 68 69 73 2c . Without this,
2970: 20 4f 70 65 6e 53 53 4c 20 30 2e 39 2e 35 20 63 OpenSSL 0.9.5 c
2980: 68 6f 6b 65 73 2c 20 61 6e 64 20 69 6e 20 61 6e hokes, and in an
2990: 79 0a 09 63 61 73 65 20 69 74 20 69 73 20 61 20 y..case it is a
29a0: 62 69 67 20 73 65 63 75 72 69 74 79 20 68 6f 6c big security hol
29b0: 65 20 74 6f 20 64 6f 20 77 69 74 68 6f 75 74 20 e to do without
29c0: 69 74 2e 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 it....* configur
29d0: 65 2e 69 6e 20 28 4f 50 45 4e 53 53 4c 29 3a 20 e.in (OPENSSL):
29e0: 61 64 64 65 64 20 4e 4f 5f 49 44 45 41 20 61 6e added NO_IDEA an
29f0: 64 20 4e 4f 5f 52 43 35 20 64 65 66 69 6e 65 73 d NO_RC5 defines
2a00: 20 62 79 0a 09 64 65 66 61 75 6c 74 20 77 68 65 by..default whe
2a10: 6e 20 63 6f 6d 70 69 6c 69 6e 67 20 77 69 74 68 n compiling with
2a20: 20 4f 70 65 6e 53 53 4c 2e 0a 0a 09 2a 20 74 6c OpenSSL....* tl
2a30: 73 49 6e 74 2e 68 3a 20 61 64 64 65 64 20 65 72 sInt.h: added er
2a40: 72 2e 68 20 69 6e 63 6c 75 64 65 0a 0a 09 2a 20 r.h include...*
2a50: 74 6c 73 42 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 tlsBIO.c:..* tls
2a60: 49 4f 2e 63 3a 20 63 6f 72 72 65 63 74 65 64 20 IO.c: corrected
2a70: 70 65 64 61 6e 74 69 63 20 63 61 73 74 20 65 72 pedantic cast er
2a80: 72 6f 72 73 2e 0a 0a 32 30 30 30 2d 30 38 2d 31 rors...2000-08-1
2a90: 36 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6 Jeff Hobbs <
2aa0: 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e hobbs@scriptics.
2ab0: 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 63 com>...* tests/c
2ac0: 69 70 68 65 72 73 2e 74 65 73 74 3a 20 69 6d 70 iphers.test: imp
2ad0: 72 6f 76 65 64 20 61 62 69 6c 69 74 79 20 74 6f roved ability to
2ae0: 20 63 68 61 6e 67 65 20 63 6f 6e 73 74 72 61 69 change constrai
2af0: 6e 74 0a 09 73 65 74 74 69 6e 67 20 66 6f 72 20 nt..setting for
2b00: 77 68 65 74 68 65 72 20 75 73 65 72 20 63 6f 6d whether user com
2b10: 70 69 6c 65 64 20 61 67 61 69 6e 73 74 20 52 53 piled against RS
2b20: 41 20 6f 72 20 4f 70 65 6e 53 53 4c 20 6c 69 62 A or OpenSSL lib
2b30: 73 2e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c s....* tls.c (Tl
2b40: 73 5f 49 6e 69 74 29 3a 20 63 6f 72 72 65 63 74 s_Init): correct
2b50: 65 64 20 69 6e 74 65 72 70 72 65 74 61 74 69 6f ed interpretatio
2b60: 6e 20 6f 66 20 76 65 72 73 69 6f 6e 20 6e 75 6d n of version num
2b70: 62 65 72 0a 09 28 70 61 74 63 68 6c 65 76 65 6c ber..(patchlevel
2b80: 20 61 6e 64 20 72 65 6c 65 61 73 65 2f 73 65 72 and release/ser
2b90: 69 61 6c 20 77 65 72 65 20 73 77 61 70 70 65 64 ial were swapped
2ba0: 29 2e 0a 0a 32 30 30 30 2d 30 38 2d 31 35 20 20 )...2000-08-15
2bb0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 Jeff Hobbs <hob
2bc0: 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d bs@scriptics.com
2bd0: 3e 0a 0a 09 2a 20 52 45 41 44 4d 45 2e 74 78 74 >...* README.txt
2be0: 3a 20 61 64 64 65 64 20 6e 6f 74 65 73 20 61 62 : added notes ab
2bf0: 6f 75 74 20 6e 65 65 64 20 74 6f 20 75 73 65 20 out need to use
2c00: 38 2e 32 2e 30 2b 2e 0a 0a 09 2a 20 74 6c 73 49 8.2.0+....* tlsI
2c10: 6e 74 2e 68 3a 0a 09 2a 20 74 6c 73 2e 63 3a 0a nt.h:..* tls.c:.
2c20: 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 63 6f 72 72 .* tlsIO.c: corr
2c30: 65 63 74 65 64 20 73 74 72 75 63 74 75 72 65 20 ected structure
2c40: 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 74 initialization t
2c50: 6f 20 77 6f 72 6b 20 77 68 65 6e 0a 09 63 6f 6d o work when..com
2c60: 70 69 6c 69 6e 67 20 77 69 74 68 20 38 2e 32 2e piling with 8.2.
2c70: 20 20 4e 6f 77 20 63 6f 6d 70 69 6c 65 73 20 77 Now compiles w
2c80: 69 74 68 20 38 2e 32 2b 20 61 6e 64 20 74 65 73 ith 8.2+ and tes
2c90: 74 65 64 20 74 6f 20 77 6f 72 6b 0a 09 77 69 74 ted to work..wit
2ca0: 68 20 38 2e 32 2b 20 61 6e 64 20 64 79 6e 61 6d h 8.2+ and dynam
2cb0: 69 63 61 6c 6c 79 20 61 64 6a 75 73 74 20 74 6f ically adjust to
2cc0: 20 74 68 65 20 76 65 72 73 69 6f 6e 20 6f 66 20 the version of
2cd0: 54 63 6c 20 69 74 20 77 61 73 0a 09 6c 6f 61 64 Tcl it was..load
2ce0: 65 64 20 69 6e 74 6f 2e 20 20 54 4c 53 20 77 69 ed into. TLS wi
2cf0: 6c 6c 20 66 61 69 6c 20 74 68 65 20 74 65 73 74 ll fail the test
2d00: 20 73 75 69 74 65 20 77 69 74 68 20 54 63 6c 20 suite with Tcl
2d10: 38 2e 32 2d 38 2e 33 2e 31 2e 0a 0a 09 2a 20 74 8.2-8.3.1....* t
2d20: 65 73 74 73 2f 61 6c 6c 2e 74 63 6c 3a 20 61 64 ests/all.tcl: ad
2d30: 64 65 64 20 63 61 74 63 68 20 61 72 6f 75 6e 64 ded catch around
2d40: 20 3a 3a 74 63 6c 74 65 73 74 3a 3a 6e 6f 72 6d ::tcltest::norm
2d50: 61 6c 69 7a 65 50 61 74 68 0a 09 62 65 63 61 75 alizePath..becau
2d60: 73 65 20 69 74 20 64 6f 65 73 6e 27 74 20 65 78 se it doesn't ex
2d70: 69 73 74 20 69 6e 20 70 72 65 2d 38 2e 33 20 74 ist in pre-8.3 t
2d80: 63 6c 74 65 73 74 2e 0a 0a 09 2a 20 74 65 73 74 cltest....* test
2d90: 73 2f 73 69 6d 70 6c 65 43 6c 69 65 6e 74 2e 74 s/simpleClient.t
2da0: 63 6c 3a 20 0a 09 2a 20 74 65 73 74 73 2f 73 69 cl: ..* tests/si
2db0: 6d 70 6c 65 53 65 72 76 65 72 2e 74 63 6c 3a 20 mpleServer.tcl:
2dc0: 61 64 64 65 64 20 73 69 6d 70 6c 65 20 63 6c 69 added simple cli
2dd0: 65 6e 74 2f 73 65 72 76 65 72 20 74 65 73 74 20 ent/server test
2de0: 73 63 72 69 70 74 73 0a 09 74 68 61 74 20 75 73 scripts..that us
2df0: 65 20 74 65 73 74 20 63 65 72 74 73 20 61 6e 64 e test certs and
2e00: 20 63 61 6e 20 64 6f 20 73 69 6d 70 6c 65 20 73 can do simple s
2e10: 74 72 65 73 73 20 74 65 73 74 73 2e 0a 0a 32 30 tress tests...20
2e20: 30 30 2d 30 38 2d 31 34 20 20 4a 65 66 66 20 48 00-08-14 Jeff H
2e30: 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 obbs <hobbs@scr
2e40: 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 iptics.com>...*
2e50: 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 74 6c 73 tlsInt.h:..* tls
2e60: 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 42 49 4f 2e IO.c:..* tlsBIO.
2e70: 63 3a 0a 09 2a 20 74 6c 73 2e 63 3a 20 63 68 61 c:..* tls.c: cha
2e80: 6e 67 65 64 20 61 72 6f 75 6e 64 20 74 6f 20 6f nged around to o
2e90: 6e 6c 79 20 77 6f 72 6b 69 6e 67 20 77 69 74 68 nly working with
2ea0: 20 38 2e 32 2e 30 2b 20 28 38 2e 33 2e 32 2b 0a 8.2.0+ (8.3.2+.
2eb0: 09 70 72 65 66 65 72 72 65 64 29 2c 20 77 69 74 .preferred), wit
2ec0: 68 20 72 75 6e 74 69 6d 65 20 63 68 65 63 6b 73 h runtime checks
2ed0: 20 66 6f 72 20 70 72 65 2d 20 61 6e 64 20 70 6f for pre- and po
2ee0: 73 74 2d 69 6f 2d 72 65 77 72 69 74 65 2e 0a 0a st-io-rewrite...
2ef0: 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e .* tls.c (Tls_In
2f00: 69 74 29 3a 20 63 68 61 6e 67 65 64 20 69 74 20 it): changed it
2f10: 74 6f 20 72 65 71 75 69 72 65 20 38 2e 33 2e 32 to require 8.3.2
2f20: 20 77 68 65 6e 20 54 63 6c 5f 49 6e 69 74 53 74 when Tcl_InitSt
2f30: 75 62 73 0a 09 77 61 73 20 63 61 6c 6c 65 64 20 ubs..was called
2f40: 62 65 63 61 75 73 65 20 77 65 20 64 6f 6e 27 74 because we don't
2f50: 20 77 61 6e 74 20 70 65 6f 70 6c 65 20 75 73 69 want people usi
2f60: 6e 67 20 54 4c 53 20 77 69 74 68 20 74 68 65 0a ng TLS with the.
2f70: 09 6f 72 69 67 69 6e 61 6c 20 73 74 61 63 6b 65 .original stacke
2f80: 64 20 63 68 61 6e 6e 65 6c 20 69 6d 70 6c 65 6d d channel implem
2f90: 65 6e 74 61 74 69 6f 6e 2e 0a 0a 32 30 30 30 2d entation...2000-
2fa0: 30 37 2d 32 36 20 20 4a 65 66 66 20 48 6f 62 62 07-26 Jeff Hobb
2fb0: 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 s <hobbs@script
2fc0: 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 6d 65 72 ics.com>...* mer
2fd0: 67 65 64 20 61 6c 6c 20 63 68 61 6e 67 65 73 20 ged all changes
2fe0: 66 72 6f 6d 20 74 6c 73 2d 31 2d 33 2d 69 6f 2d from tls-1-3-io-
2ff0: 72 65 77 72 69 74 65 20 62 61 63 6b 20 69 6e 74 rewrite back int
3000: 6f 20 6d 61 69 6e 20 62 72 61 6e 63 68 0a 0a 09 o main branch...
3010: 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 * tests/tlsIO.te
3020: 73 74 3a 20 75 70 64 61 74 65 64 20 63 6f 6d 6d st: updated comm
3030: 65 6e 74 73 2c 20 66 69 78 65 64 20 61 20 70 63 ents, fixed a pc
3040: 43 72 61 73 68 20 63 61 73 65 20 74 68 61 74 0a Crash case that.
3050: 09 77 61 73 20 64 75 65 20 74 6f 20 64 65 62 75 .was due to debu
3060: 67 20 61 73 73 65 72 74 69 6f 6e 20 69 6e 20 57 g assertion in W
3070: 69 6e 64 6f 77 73 20 53 53 4c 2e 0a 0a 09 2a 20 indows SSL....*
3080: 74 6c 73 2e 63 20 28 49 6d 70 6f 72 74 4f 62 6a tls.c (ImportObj
3090: 43 6d 64 29 3a 20 72 65 6d 6f 76 65 64 20 75 6e Cmd): removed un
30a0: 6e 65 63 65 73 73 61 72 79 20 75 73 65 20 6f 66 necessary use of
30b0: 20 27 62 69 6f 27 20 61 72 67 2e 0a 09 28 54 6c 'bio' arg...(Tl
30c0: 73 5f 49 6e 69 74 29 3a 20 63 68 65 63 6b 20 72 s_Init): check r
30d0: 65 74 75 72 6e 20 76 61 6c 75 65 20 6f 66 20 53 eturn value of S
30e0: 53 4c 5f 6c 69 62 72 61 72 79 5f 69 6e 69 74 2e SL_library_init.
30f0: 20 20 41 6c 73 6f 20 6c 6f 74 73 20 6f 66 0a 09 Also lots of..
3100: 77 68 69 74 65 73 70 61 63 65 20 63 6c 65 61 6e whitespace clean
3110: 75 70 20 28 6d 6f 72 65 20 6c 69 6b 65 20 54 63 up (more like Tc
3120: 6c 20 45 6e 67 20 73 74 79 6c 65 20 67 75 69 64 l Eng style guid
3130: 65 29 2c 20 62 75 74 20 6e 6f 74 20 61 6c 6c 0a e), but not all.
3140: 09 63 6f 64 65 20 77 61 73 20 63 6c 65 61 6e 65 .code was cleane
3150: 64 20 75 70 2e 0a 0a 09 2a 20 74 6c 73 42 49 4f d up....* tlsBIO
3160: 2e 63 3a 20 6d 69 6e 6f 72 20 77 68 69 74 65 73 .c: minor whites
3170: 70 61 63 65 20 63 6c 65 61 6e 75 70 0a 0a 09 2a pace cleanup...*
3180: 20 74 6c 73 49 4f 2e 63 3a 20 6d 69 6e 6f 72 20 tlsIO.c: minor
3190: 77 68 69 74 65 73 70 61 63 65 20 63 6c 65 61 6e whitespace clean
31a0: 75 70 2e 0a 09 28 54 6c 73 49 6e 70 75 74 50 72 up...(TlsInputPr
31b0: 6f 63 2c 20 54 6c 73 4f 75 74 70 75 74 50 72 6f oc, TlsOutputPro
31c0: 63 29 3a 20 41 64 64 65 64 20 45 52 52 5f 63 6c c): Added ERR_cl
31d0: 65 61 72 5f 65 72 72 6f 72 20 62 65 66 6f 72 65 ear_error before
31e0: 20 63 61 6c 6c 73 0a 09 74 6f 20 42 49 4f 5f 72 calls..to BIO_r
31f0: 65 61 64 20 6f 72 20 42 49 4f 5f 77 72 69 74 65 ead or BIO_write
3200: 2c 20 62 65 63 61 75 73 65 20 77 65 20 63 6f 75 , because we cou
3210: 6c 64 20 6f 74 68 65 72 77 69 73 65 20 65 6e 64 ld otherwise end
3220: 20 75 70 0a 09 70 75 6c 6c 69 6e 67 20 61 6e 20 up..pulling an
3230: 65 72 72 6f 72 20 6f 66 66 20 74 68 65 20 73 74 error off the st
3240: 61 63 6b 20 74 68 61 74 20 64 69 64 6e 27 74 20 ack that didn't
3250: 62 65 6c 6f 6e 67 20 74 6f 20 75 73 2e 20 20 41 belong to us. A
3260: 6c 73 6f 0a 09 63 6c 65 61 6e 75 70 20 75 70 20 lso..cleanup up
3270: 65 78 63 65 73 73 69 76 65 20 75 73 65 20 6f 66 excessive use of
3280: 20 67 6f 74 6f 73 2e 0a 0a 32 30 30 30 2d 30 37 gotos...2000-07
3290: 2d 32 30 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -20 Jeff Hobbs
32a0: 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 <hobbs@scriptic
32b0: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 73 s.com>...* tests
32c0: 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 63 6f 72 /tlsIO.test: cor
32d0: 72 65 63 74 65 64 20 76 61 72 69 6f 75 73 20 74 rected various t
32e0: 65 73 74 73 20 74 6f 20 62 65 20 63 6f 72 72 65 ests to be corre
32f0: 63 74 20 66 6f 72 20 54 4c 53 0a 09 73 74 61 63 ct for TLS..stac
3300: 6b 65 64 20 63 68 61 6e 6e 65 6c 73 20 28 61 73 ked channels (as
3310: 20 6f 70 70 6f 73 65 64 20 74 6f 20 74 68 65 20 opposed to the
3320: 73 74 61 6e 64 61 72 64 20 73 6f 63 6b 65 74 73 standard sockets
3330: 20 74 68 65 20 74 65 73 74 0a 09 73 75 69 74 65 the test..suite
3340: 20 77 61 73 20 61 64 6f 70 74 65 64 20 66 72 6f was adopted fro
3350: 6d 29 2e 20 20 4b 65 79 20 64 69 66 66 65 72 65 m). Key differe
3360: 6e 63 65 73 20 61 72 65 20 74 68 61 74 20 54 4c nces are that TL
3370: 53 20 63 61 6e 6e 6f 74 0a 09 6f 70 65 72 61 74 S cannot..operat
3380: 65 20 69 6e 20 6f 6e 65 20 70 72 6f 63 65 73 73 e in one process
3390: 20 77 69 74 68 6f 75 74 20 61 6c 6c 20 63 68 61 without all cha
33a0: 6e 6e 65 6c 73 20 62 65 69 6e 67 20 6e 6f 6e 2d nnels being non-
33b0: 62 6c 6f 63 6b 69 6e 67 2c 20 6f 72 0a 09 74 68 blocking, or..th
33c0: 65 20 68 61 6e 64 73 68 61 6b 65 20 77 69 6c 6c e handshake will
33d0: 20 62 6c 6f 63 6b 2c 20 61 6e 64 20 68 61 6e 64 block, and hand
33e0: 73 68 61 6b 69 6e 67 20 6d 75 73 74 20 62 65 20 shaking must be
33f0: 66 6f 72 63 65 64 20 69 6e 20 73 6f 6d 65 0a 09 forced in some..
3400: 63 61 73 65 73 2e 20 20 41 6c 73 6f 2c 20 68 61 cases. Also, ha
3410: 6e 64 73 68 61 6b 65 73 20 64 6f 6e 27 74 20 73 ndshakes don't s
3420: 65 65 6d 20 74 6f 20 63 6f 6d 70 6c 65 74 65 20 eem to complete
3430: 75 6e 6c 65 73 73 20 74 68 65 20 63 6c 69 65 6e unless the clien
3440: 74 0a 09 68 61 73 20 70 6c 61 63 65 64 20 61 74 t..has placed at
3450: 20 6c 65 61 73 74 20 6f 6e 65 20 62 79 74 65 20 least one byte
3460: 66 6f 72 20 74 68 65 20 73 65 72 76 65 72 20 74 for the server t
3470: 6f 20 72 65 61 64 20 69 6e 20 74 68 65 20 63 68 o read in the ch
3480: 61 6e 6e 65 6c 2e 0a 0a 09 2a 20 74 65 73 74 73 annel....* tests
3490: 2f 72 65 6d 6f 74 65 2e 74 63 6c 3a 20 63 6f 72 /remote.tcl: cor
34a0: 72 65 63 74 65 64 20 74 68 65 20 66 69 6e 64 69 rected the findi
34b0: 6e 67 20 6f 66 20 74 65 73 74 73 20 63 65 72 74 ng of tests cert
34c0: 69 66 69 63 61 74 65 73 0a 0a 09 2a 20 74 6c 73 ificates...* tls
34d0: 49 4f 2e 63 20 28 54 6c 73 43 6c 6f 73 65 50 72 IO.c (TlsClosePr
34e0: 6f 63 29 3a 20 72 65 6d 6f 76 65 64 20 64 65 6c oc): removed del
34f0: 65 74 69 6e 67 20 6f 66 20 74 69 6d 65 72 20 68 eting of timer h
3500: 61 6e 64 6c 65 72 20 61 73 0a 09 74 68 61 74 20 andler as..that
3510: 69 73 20 68 61 6e 64 6c 65 64 20 62 79 20 54 6c is handled by Tl
3520: 73 5f 43 6c 65 61 6e 2e 0a 0a 09 2a 20 74 6c 73 s_Clean....* tls
3530: 2e 74 63 6c 20 28 74 6c 73 3a 3a 5f 61 63 63 65 .tcl (tls::_acce
3540: 70 74 29 3a 20 63 6f 72 72 65 63 74 65 64 20 74 pt): corrected t
3550: 68 65 20 69 6e 74 65 72 6e 61 6c 20 5f 61 63 63 he internal _acc
3560: 65 70 74 20 74 6f 0a 09 74 72 69 63 6b 6c 65 20 ept to..trickle
3570: 63 61 6c 6c 62 61 63 6b 20 65 72 72 6f 72 73 20 callback errors
3580: 74 6f 20 74 68 65 20 75 73 65 72 2e 0a 0a 09 2a to the user....*
3590: 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 6d 61 Makefile.in: ma
35a0: 64 65 20 74 68 65 20 69 6e 73 74 61 6c 6c 2d 62 de the install-b
35b0: 69 6e 61 72 69 65 73 20 74 61 72 67 65 74 20 72 inaries target r
35c0: 65 67 65 6e 65 72 61 74 65 20 74 68 65 0a 09 70 egenerate the..p
35d0: 6b 67 49 6e 64 65 78 2e 74 63 6c 20 63 6f 72 72 kgIndex.tcl corr
35e0: 65 63 74 6c 79 2e 20 20 54 68 65 20 74 65 73 74 ectly. The test
35f0: 20 74 61 72 67 65 74 20 70 72 6f 62 61 62 6c 79 target probably
3600: 20 73 68 6f 75 6c 64 6e 27 74 20 73 63 72 65 77 shouldn't screw
3610: 0a 09 69 74 20 75 70 2c 20 62 75 74 20 74 68 69 ..it up, but thi
3620: 73 20 69 73 20 74 6f 20 62 65 20 6f 6e 20 74 68 s is to be on th
3630: 65 20 73 61 66 65 20 73 69 64 65 2e 0a 0a 32 30 e safe side...20
3640: 30 30 2d 30 37 2d 31 37 20 20 4a 65 66 66 20 48 00-07-17 Jeff H
3650: 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 obbs <hobbs@scr
3660: 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 iptics.com>...*
3670: 70 6b 67 49 6e 64 65 78 2e 74 63 6c 2e 69 6e 3a pkgIndex.tcl.in:
3680: 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e ..* configure.in
3690: 3a 20 75 70 64 61 74 65 64 20 76 65 72 73 69 6f : updated versio
36a0: 6e 20 74 6f 20 31 2e 34 0a 0a 32 30 30 30 2d 30 n to 1.4..2000-0
36b0: 37 2d 31 33 20 20 4a 65 66 66 20 48 6f 62 62 73 7-13 Jeff Hobbs
36c0: 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 <hobbs@scripti
36d0: 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 cs.com>...* test
36e0: 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 65 6e s/tlsIO.test: en
36f0: 61 62 6c 65 64 20 74 65 73 74 73 20 32 2e 31 30 abled tests 2.10
3700: 2c 20 37 2e 5b 31 32 34 35 5d 20 28 74 68 65 72 , 7.[1245] (ther
3710: 65 20 69 73 20 6e 6f 20 33 29 2c 0a 09 77 68 69 e is no 3),..whi
3720: 63 68 20 6e 6f 77 20 70 61 73 73 2e 20 20 41 64 ch now pass. Ad
3730: 64 65 64 20 73 6f 6d 65 20 63 6f 6d 6d 65 6e 74 ded some comment
3740: 73 20 74 6f 20 6f 74 68 65 72 20 66 61 69 6c 69 s to other faili
3750: 6e 67 20 74 65 73 74 73 2e 0a 0a 32 30 30 30 2d ng tests...2000-
3760: 30 37 2d 31 31 20 20 4a 65 66 66 20 48 6f 62 62 07-11 Jeff Hobb
3770: 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 s <hobbs@script
3780: 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 ics.com>...* tls
3790: 49 4f 2e 63 3a 20 63 68 61 6e 67 65 64 20 61 6c IO.c: changed al
37a0: 6c 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 70 72 l the channel pr
37b0: 6f 63 73 20 74 6f 20 73 74 61 72 74 20 77 69 74 ocs to start wit
37c0: 68 20 54 6c 73 2a 20 66 6f 72 0a 09 62 65 74 74 h Tls* for..bett
37d0: 65 72 20 70 61 72 69 74 79 20 77 68 65 6e 20 63 er parity when c
37e0: 6f 6d 70 61 72 69 6e 67 20 77 69 74 68 20 54 72 omparing with Tr
37f0: 61 6e 73 66 6f 72 6d 20 63 68 61 6e 6e 65 6c 20 ansform channel
3800: 70 72 6f 63 73 2e 0a 09 52 65 77 72 6f 74 65 20 procs...Rewrote
3810: 54 6c 73 57 61 74 63 68 50 72 6f 63 2c 20 61 64 TlsWatchProc, ad
3820: 64 65 64 20 54 6c 73 4e 6f 74 69 66 79 50 72 6f ded TlsNotifyPro
3830: 63 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 c according to t
3840: 68 65 20 6e 65 77 0a 09 63 68 61 6e 6e 65 6c 20 he new..channel
3850: 64 65 73 69 67 6e 2c 20 77 68 69 63 68 20 61 6c design, which al
3860: 73 6f 20 6c 65 61 76 65 73 20 54 6c 73 43 68 61 so leaves TlsCha
3870: 6e 6e 65 6c 48 61 6e 64 6c 65 72 20 75 6e 75 73 nnelHandler unus
3880: 65 64 2e 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 ed....* tlsBIO.c
3890: 20 28 42 69 6f 43 74 72 6c 29 3a 20 63 68 61 6e (BioCtrl): chan
38a0: 67 65 64 20 42 49 4f 5f 43 54 52 4c 5f 46 4c 55 ged BIO_CTRL_FLU
38b0: 53 48 20 63 61 73 65 20 74 6f 20 75 73 65 0a 09 SH case to use..
38c0: 54 63 6c 5f 57 72 69 74 65 52 61 77 20 69 6e 73 Tcl_WriteRaw ins
38d0: 74 65 61 64 20 6f 66 20 54 63 6c 5f 46 6c 75 73 tead of Tcl_Flus
38e0: 68 20 28 74 6f 20 6f 70 65 72 61 74 65 20 6f 6e h (to operate on
38f0: 20 63 6f 72 72 65 63 74 20 63 68 61 6e 6e 65 6c correct channel
3900: 0a 09 69 6e 20 74 68 65 20 73 74 61 63 6b 20 69 ..in the stack i
3910: 6e 73 74 65 61 64 20 6f 66 20 73 74 61 72 74 69 nstead of starti
3920: 6e 67 20 61 74 20 74 68 65 20 74 6f 70 20 61 67 ng at the top ag
3930: 61 69 6e 29 2e 20 20 57 6f 75 6c 64 0a 09 6f 74 ain). Would..ot
3940: 68 65 72 77 69 73 65 20 63 61 75 73 65 20 61 20 herwise cause a
3950: 72 65 63 75 72 73 69 76 65 20 73 74 61 63 6b 20 recursive stack
3960: 62 6f 6d 62 20 77 68 65 6e 20 69 6d 70 6c 69 63 bomb when implic
3970: 69 74 20 68 61 6e 64 73 68 61 6b 69 6e 67 0a 09 it handshaking..
3980: 74 6f 6f 6b 20 65 66 66 65 63 74 2e 0a 0a 09 2a took effect....*
3990: 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 tests/tlsIO.tes
39a0: 74 3a 20 72 65 6d 6f 76 65 64 20 63 68 61 6e 67 t: removed chang
39b0: 65 73 20 6d 61 64 65 20 74 6f 20 74 65 73 74 20 es made to test
39c0: 73 75 69 74 65 20 28 61 6c 6c 20 74 65 73 74 73 suite (all tests
39d0: 0a 09 74 68 61 74 20 72 61 6e 20 62 65 66 6f 72 ..that ran befor
39e0: 65 20 6e 6f 77 20 70 61 73 73 20 63 6f 72 72 65 e now pass corre
39f0: 63 74 6c 79 29 2c 20 61 6e 64 20 63 68 61 6e 67 ctly), and chang
3a00: 65 64 20 73 6f 6d 65 20 61 63 63 65 70 74 20 70 ed some accept p
3a10: 72 6f 63 0a 09 61 72 67 73 20 74 6f 20 72 65 66 roc..args to ref
3a20: 6c 65 63 74 20 74 68 61 74 20 61 20 73 6f 63 6b lect that a sock
3a30: 20 69 73 20 61 6e 20 61 72 67 2c 20 6e 6f 74 20 is an arg, not
3a40: 61 20 66 69 6c 65 2e 0a 0a 32 30 30 30 2d 30 37 a file...2000-07
3a50: 2d 31 30 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -10 Jeff Hobbs
3a60: 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 <hobbs@scriptic
3a70: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 42 49 s.com>...* tlsBI
3a80: 4f 2e 63 20 28 42 69 6f 57 72 69 74 65 2c 20 42 O.c (BioWrite, B
3a90: 69 6f 52 65 61 64 29 3a 20 63 68 61 6e 67 65 64 ioRead): changed
3aa0: 20 54 63 6c 5f 52 65 61 64 2f 57 72 69 74 65 20 Tcl_Read/Write
3ab0: 74 6f 0a 09 54 63 6c 5f 52 65 61 64 52 61 77 2f to..Tcl_ReadRaw/
3ac0: 54 63 6c 57 72 69 74 65 52 61 77 2e 0a 0a 09 2a TclWriteRaw....*
3ad0: 20 74 6c 73 2e 63 3a 20 61 64 64 65 64 20 75 73 tls.c: added us
3ae0: 65 20 6f 66 20 54 63 6c 5f 47 65 74 54 6f 70 43 e of Tcl_GetTopC
3af0: 68 61 6e 6e 65 6c 20 61 66 74 65 72 20 54 63 6c hannel after Tcl
3b00: 5f 47 65 74 43 68 61 6e 6e 65 6c 20 61 6e 64 0a _GetChannel and.
3b10: 09 67 6f 74 20 72 65 74 75 72 6e 20 76 61 6c 75 .got return valu
3b20: 65 20 66 72 6f 6d 20 54 63 6c 5f 53 74 61 63 6b e from Tcl_Stack
3b30: 43 68 61 6e 6e 65 6c 2e 0a 0a 09 2a 20 74 65 73 Channel....* tes
3b40: 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 61 ts/tlsIO.test: a
3b50: 64 64 65 64 20 73 6f 6d 65 20 68 61 6e 64 73 68 dded some handsh
3b60: 61 6b 69 6e 67 20 74 68 61 74 20 73 68 6f 75 6c aking that shoul
3b70: 64 6e 27 74 20 62 65 0a 09 6e 65 63 65 73 73 61 dn't be..necessa
3b80: 72 79 2c 20 62 75 74 20 77 65 20 63 72 61 73 68 ry, but we crash
3b90: 20 6f 74 68 65 72 77 69 73 65 20 28 6e 65 65 64 otherwise (need
3ba0: 73 20 6d 6f 72 65 20 74 65 73 74 69 6e 67 29 2e s more testing).
3bb0: 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 61 64 ...* tlsIO.c: ad
3bc0: 64 65 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 ded support for
3bd0: 22 63 6f 72 72 65 63 74 65 64 22 20 73 74 61 63 "corrected" stac
3be0: 6b 65 64 20 63 68 61 6e 6e 65 6c 73 2e 20 20 41 ked channels. A
3bf0: 6c 6c 0a 09 74 68 65 20 61 62 6f 76 65 20 63 68 ll..the above ch
3c00: 61 6e 6e 65 6c 73 20 61 72 65 20 69 6e 20 54 43 annels are in TC
3c10: 4c 5f 43 48 41 4e 4e 45 4c 5f 56 45 52 53 49 4f L_CHANNEL_VERSIO
3c20: 4e 5f 32 20 23 69 66 64 65 66 73 2e 0a 0a 32 30 N_2 #ifdefs...20
3c30: 30 30 2d 30 36 2d 30 35 20 20 53 63 6f 74 74 20 00-06-05 Scott
3c40: 53 74 61 6e 74 6f 6e 20 20 3c 73 74 61 6e 74 6f Stanton <stanto
3c50: 6e 40 61 6a 75 62 61 73 6f 6c 75 74 69 6f 6e 73 n@ajubasolutions
3c60: 2e 63 6f 6d 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 .com>...* Makefi
3c70: 6c 65 2e 69 6e 3a 20 46 69 78 65 64 20 62 72 6f le.in: Fixed bro
3c80: 6b 65 6e 20 74 65 73 74 20 74 61 72 67 65 74 2e ken test target.
3c90: 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 20 0a ...* tlsInt.h: .
3ca0: 09 2a 20 74 6c 73 2e 63 3a 20 43 6c 65 61 6e 65 .* tls.c: Cleane
3cb0: 64 20 75 70 20 64 65 63 6c 61 72 61 74 69 6f 6e d up declaration
3cc0: 73 20 6f 66 20 54 6c 73 5f 43 6c 65 61 6e 20 74 s of Tls_Clean t
3cd0: 6f 20 61 76 6f 69 64 20 65 72 72 6f 72 73 20 6f o avoid errors o
3ce0: 6e 0a 09 57 69 6e 64 6f 77 73 20 28 6c 69 6e 74 n..Windows (lint
3cf0: 29 2e 0a 0a 32 30 30 30 2d 30 36 2d 30 35 20 20 )...2000-06-05
3d00: 42 72 65 6e 74 20 57 65 6c 63 68 20 3c 77 65 6c Brent Welch <wel
3d10: 63 68 40 61 6a 75 62 61 73 6f 6c 75 74 69 6f 6e ch@ajubasolution
3d20: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 s.com>...* tls.c
3d30: 2c 20 74 6c 73 49 4f 2e 63 3a 20 20 53 70 6c 69 , tlsIO.c: Spli
3d40: 74 20 54 6c 73 5f 46 72 65 65 20 69 6e 74 6f 20 t Tls_Free into
3d50: 54 6c 73 5f 43 6c 65 61 6e 2c 20 77 68 69 63 68 Tls_Clean, which
3d60: 20 64 6f 65 73 0a 09 74 68 65 20 53 53 4c 20 63 does..the SSL c
3d70: 6c 65 61 6e 75 70 2c 20 61 6e 64 20 74 68 65 20 leanup, and the
3d80: 54 63 6c 5f 46 72 65 65 20 63 61 6c 6c 2e 20 20 Tcl_Free call.
3d90: 49 74 20 69 73 20 69 6d 70 6f 72 74 61 6e 74 20 It is important
3da0: 74 6f 20 73 68 75 74 64 6f 77 6e 0a 09 74 68 65 to shutdown..the
3db0: 20 53 53 4c 20 73 74 61 74 65 20 22 73 79 6e 63 SSL state "sync
3dc0: 68 72 6f 6e 6f 75 73 6c 79 22 20 64 75 72 69 6e hronously" durin
3dd0: 67 20 61 20 73 74 61 63 6b 65 64 20 66 6c 75 73 g a stacked flus
3de0: 68 2e 0a 0a 32 30 30 30 2d 30 36 2d 30 31 20 20 h...2000-06-01
3df0: 53 63 6f 74 74 20 53 74 61 6e 74 6f 6e 20 20 3c Scott Stanton <
3e00: 73 74 61 6e 74 6f 6e 40 61 6a 75 62 61 73 6f 6c stanton@ajubasol
3e10: 75 74 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 utions.com>...*
3e20: 74 6c 73 49 4f 2e 63 3a 20 52 65 73 74 6f 72 65 tlsIO.c: Restore
3e30: 64 20 63 61 6c 6c 20 74 6f 20 54 63 6c 5f 4e 6f d call to Tcl_No
3e40: 74 69 66 79 43 68 61 6e 6e 65 6c 20 66 72 6f 6d tifyChannel from
3e50: 20 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 0a ChannelHandler.
3e60: 09 74 6f 20 65 6e 73 75 72 65 20 74 68 61 74 20 .to ensure that
3e70: 65 76 65 6e 74 73 20 70 72 6f 70 61 67 61 74 65 events propagate
3e80: 20 66 72 6f 6d 20 74 68 65 20 6c 6f 77 65 72 20 from the lower
3e90: 64 72 69 76 65 72 2e 20 20 54 68 69 73 20 6d 61 driver. This ma
3ea0: 79 0a 09 72 65 73 75 6c 74 20 69 6e 20 61 6e 20 y..result in an
3eb0: 69 6e 66 69 6e 69 74 65 20 6c 6f 6f 70 20 69 6e infinite loop in
3ec0: 20 73 6f 6d 65 20 63 61 73 65 73 2c 20 73 6f 20 some cases, so
3ed0: 74 68 69 73 20 69 73 20 6e 6f 74 20 61 20 74 6f this is not a to
3ee0: 74 61 6c 0a 09 66 69 78 2e 20 20 54 68 69 73 20 tal..fix. This
3ef0: 6d 61 79 20 62 65 20 73 75 66 66 69 63 69 65 6e may be sufficien
3f00: 74 20 66 6f 72 20 6e 6f 77 2c 20 68 6f 77 65 76 t for now, howev
3f10: 65 72 2e 20 5b 42 75 67 3a 20 35 36 32 33 5d 0a er. [Bug: 5623].
3f20: 0a 32 30 30 30 2d 30 36 2d 30 31 20 20 53 63 6f .2000-06-01 Sco
3f30: 74 74 20 53 74 61 6e 74 6f 6e 20 20 3c 73 74 61 tt Stanton <sta
3f40: 6e 74 6f 6e 40 73 63 72 69 70 74 69 63 73 2e 63 nton@scriptics.c
3f50: 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a om>...* tlsIO.c:
3f60: 20 52 65 73 74 6f 72 65 20 74 68 65 20 70 72 65 Restore the pre
3f70: 76 69 6f 75 73 20 76 65 72 73 69 6f 6e 2e 20 20 vious version.
3f80: 46 69 78 65 64 20 74 68 65 20 43 6c 6f 73 65 50 Fixed the CloseP
3f90: 72 6f 63 20 73 6f 0a 09 69 74 20 75 6e 72 65 67 roc so..it unreg
3fa0: 69 73 74 65 72 73 20 74 68 65 20 63 68 61 6e 6e isters the chann
3fb0: 65 6c 20 68 61 6e 64 6c 65 72 20 6f 6e 20 74 68 el handler on th
3fc0: 65 20 73 75 70 65 72 63 65 64 65 64 20 63 68 61 e superceded cha
3fd0: 6e 6e 65 6c 0a 09 69 6e 73 74 65 61 64 20 6f 66 nnel..instead of
3fe0: 20 74 68 65 20 75 70 70 65 72 20 63 68 61 6e 6e the upper chann
3ff0: 65 6c 2e 20 41 6c 73 6f 20 72 65 6d 6f 76 65 64 el. Also removed
4000: 20 74 68 65 20 63 61 6c 6c 20 74 6f 0a 09 54 63 the call to..Tc
4010: 6c 5f 4e 6f 74 69 66 79 43 68 61 6e 6e 65 6c 20 l_NotifyChannel
4020: 69 6e 20 74 68 65 20 43 68 61 6e 6e 65 6c 48 61 in the ChannelHa
4030: 6e 64 6c 65 72 20 62 65 63 61 75 73 65 20 74 68 ndler because th
4040: 69 73 20 77 69 6c 6c 20 72 65 73 75 6c 74 0a 09 is will result..
4050: 69 6e 20 61 6e 20 69 6e 66 69 6e 69 74 65 20 6c in an infinite l
4060: 6f 6f 70 20 69 66 20 64 61 74 61 20 69 73 20 65 oop if data is e
4070: 76 65 72 20 62 75 66 66 65 72 65 64 20 69 6e 20 ver buffered in
4080: 74 68 65 20 42 49 4f 0a 09 73 74 72 75 63 74 75 the BIO..structu
4090: 72 65 2e 20 5b 42 75 67 3a 20 35 36 32 33 5d 0a re. [Bug: 5623].
40a0: 0a 32 30 30 30 2d 30 35 2d 33 31 20 20 42 72 65 .2000-05-31 Bre
40b0: 6e 74 20 57 65 6c 63 68 20 3c 77 65 6c 63 68 40 nt Welch <welch@
40c0: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a scriptics.com>..
40d0: 09 2a 20 74 6c 73 2e 63 3a 20 43 68 61 6e 67 65 .* tls.c: Change
40e0: 20 74 68 65 20 43 68 61 6e 6e 65 6c 48 61 6e 64 the ChannelHand
40f0: 6c 65 72 20 74 6f 20 62 65 20 72 65 67 69 73 74 ler to be regist
4100: 65 72 65 64 20 6f 6e 20 74 68 65 20 6d 61 69 6e ered on the main
4110: 0a 09 63 68 61 6e 6e 65 6c 20 61 73 20 6f 70 70 ..channel as opp
4120: 73 65 64 20 74 6f 20 74 68 65 20 22 70 61 72 65 sed to the "pare
4130: 6e 74 22 2c 20 6f 72 20 73 75 70 65 72 63 65 65 nt", or supercee
4140: 64 65 64 2c 20 63 68 61 6e 6e 65 6c 2e 20 20 54 ded, channel. T
4150: 68 69 73 0a 09 69 73 20 62 65 63 61 75 73 65 20 his..is because
4160: 74 68 65 20 73 6f 63 6b 65 74 20 64 72 69 76 65 the socket drive
4170: 72 20 6e 6f 74 69 66 69 65 73 20 74 68 65 20 6d r notifies the m
4180: 61 69 6e 20 63 68 61 6e 6e 65 6c 2c 20 61 6e 64 ain channel, and
4190: 20 74 68 65 72 65 0a 09 61 72 65 20 74 69 6d 65 there..are time
41a0: 73 20 77 69 74 68 20 74 68 65 20 6d 61 69 6e 20 s with the main
41b0: 63 68 61 6e 6e 65 6c 20 67 65 74 73 20 63 6c 6f channel gets clo
41c0: 73 65 64 2c 20 62 75 74 20 74 68 65 20 73 75 70 sed, but the sup
41d0: 65 72 63 65 64 65 64 0a 09 6f 6e 65 20 69 73 20 erceded..one is
41e0: 6e 6f 74 20 79 65 74 20 63 6c 6f 73 65 64 2e 20 not yet closed.
41f0: 20 49 66 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 If the channel
4200: 68 61 6e 64 6c 65 72 20 67 65 74 73 20 74 72 69 handler gets tri
4210: 67 67 65 72 65 64 20 69 6e 0a 09 74 68 69 73 20 ggered in..this
4220: 68 61 6c 66 2d 6f 70 65 6e 20 73 74 61 74 65 20 half-open state
4230: 69 74 20 69 73 20 61 73 73 6f 63 69 61 74 65 64 it is associated
4240: 20 77 69 74 68 20 74 68 65 20 73 75 70 65 72 63 with the superc
4250: 65 65 64 65 64 0a 09 63 68 61 6e 6e 65 64 6c 2c eeded..channedl,
4260: 20 62 75 74 20 75 73 65 73 20 69 74 73 20 70 72 but uses its pr
4270: 69 76 61 74 65 20 70 6f 69 6e 74 65 72 20 74 6f ivate pointer to
4280: 20 74 68 65 20 6d 61 69 6e 20 63 68 61 6e 6e 65 the main channe
4290: 6c 2c 20 77 68 69 63 68 0a 09 69 73 20 6d 6f 73 l, which..is mos
42a0: 74 6c 79 20 64 65 73 74 72 6f 79 65 64 2e 20 20 tly destroyed.
42b0: 45 6c 69 6d 69 6e 61 74 65 64 20 74 68 65 20 72 Eliminated the r
42c0: 65 64 75 6e 64 61 6e 74 20 63 61 6c 6c 20 74 6f edundant call to
42d0: 0a 09 54 63 6c 5f 4e 6f 74 69 66 79 43 68 61 6e ..Tcl_NotifyChan
42e0: 6e 65 6c 20 66 72 6f 6d 20 54 6c 73 57 61 74 63 nel from TlsWatc
42f0: 68 50 72 6f 63 2e 20 5b 42 75 67 3a 20 35 36 32 hProc. [Bug: 562
4300: 33 5d 0a 3].