0000: 32 30 31 32 2d 30 36 2d 30 31 20 20 41 6e 64 72 2012-06-01 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 74 6c 73 2e te.com>...* tls.
0040: 63 3a 20 41 70 70 6c 69 65 64 20 4a 65 66 66 27 c: Applied Jeff'
0050: 73 20 70 61 74 63 68 20 66 72 6f 6d 0a 09 20 20 s patch from..
0060: 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 61 69 6c 2d http://www.mail-
0070: 61 72 63 68 69 76 65 2e 63 6f 6d 2f 61 6f 6c 73 archive.com/aols
0080: 65 72 76 65 72 40 6c 69 73 74 73 65 72 76 2e 61 erver@listserv.a
0090: 6f 6c 2e 63 6f 6d 2f 6d 73 67 31 32 33 35 36 2e ol.com/msg12356.
00a0: 68 74 6d 6c 0a 09 0a 32 30 31 30 2d 30 38 2d 31 html...2010-08-1
00b0: 31 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 1 Jeff Hobbs <
00c0: 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 74 jeffh@ActiveStat
00d0: 65 2e 63 6f 6d 3e 0a 0a 09 2a 2a 2a 20 54 4c 53 e.com>...*** TLS
00e0: 20 31 2e 36 2e 31 20 54 41 47 47 45 44 20 2a 2a 1.6.1 TAGGED **
00f0: 2a 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a *...* configure:
0100: 20 72 65 67 65 6e 20 77 69 74 68 20 61 63 2d 32 regen with ac-2
0110: 2e 35 39 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 .59..* win/makef
0120: 69 6c 65 2e 76 63 2c 20 63 6f 6e 66 69 67 75 72 ile.vc, configur
0130: 65 2e 69 6e 3a 20 62 75 6d 70 20 76 65 72 73 69 e.in: bump versi
0140: 6f 6e 20 74 6f 20 31 2e 36 2e 31 0a 09 2a 20 74 on to 1.6.1..* t
0150: 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a clconfig/tcl.m4:
0160: 20 75 70 64 61 74 65 64 20 74 6f 20 54 45 41 20 updated to TEA
0170: 33 2e 38 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 53 3.8...* tls.c (S
0180: 74 61 74 75 73 4f 62 6a 43 6d 64 29 3a 20 6d 65 tatusObjCmd): me
0190: 6d 6c 65 61 6b 3a 20 66 72 65 65 20 70 65 65 72 mleak: free peer
01a0: 20 69 66 20 6c 6f 61 64 65 64 2e 20 5b 42 75 67 if loaded. [Bug
01b0: 20 33 30 34 31 39 32 35 5d 0a 0a 32 30 31 30 2d 3041925]..2010-
01c0: 30 37 2d 32 37 20 20 4a 65 66 66 20 48 6f 62 62 07-27 Jeff Hobb
01d0: 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 s <jeffh@Active
01e0: 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 State.com>...* t
01f0: 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 73 6f 63 ls.tcl (tls::soc
0200: 6b 65 74 29 3a 20 73 6f 6d 65 20 73 6f 63 6b 65 ket): some socke
0210: 74 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e t implementation
0220: 73 20 68 61 76 65 20 61 20 2d 74 79 70 65 0a 09 s have a -type..
0230: 73 75 70 70 6f 72 74 20 28 65 2e 67 2e 20 66 6f support (e.g. fo
0240: 72 20 69 6e 65 74 36 29 2e 0a 0a 32 30 30 39 2d r inet6)...2009-
0250: 30 34 2d 32 33 20 20 4a 65 66 66 20 48 6f 62 62 04-23 Jeff Hobb
0260: 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 s <jeffh@Active
0270: 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 State.com>...* t
0280: 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 69 6e 69 ls.tcl (tls::ini
0290: 74 6c 69 62 29 3a 20 61 64 64 20 73 75 70 70 6f tlib): add suppo
02a0: 72 74 20 66 6f 72 20 57 69 6e 64 6f 77 73 20 73 rt for Windows s
02b0: 74 61 72 70 61 63 6b 0a 09 6f 70 65 72 61 74 69 tarpack..operati
02c0: 6f 6e 20 74 68 61 74 20 75 6e 62 75 6e 64 6c 65 on that unbundle
02d0: 73 20 61 6e 79 20 63 6f 6e 73 74 69 74 75 65 6e s any constituen
02e0: 74 20 6c 69 62 72 61 72 69 65 73 2e 20 5b 41 53 t libraries. [AS
02f0: 20 42 75 67 20 38 32 38 38 38 5d 0a 0a 32 30 30 Bug 82888]..200
0300: 38 2d 30 36 2d 31 38 20 20 50 61 74 20 54 68 6f 8-06-18 Pat Tho
0310: 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 yts <patthoyts@
0320: 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 users.sourceforg
0330: 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 65 73 74 73 e.net>...* tests
0340: 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20 46 /ciphers.test: F
0350: 69 78 20 66 6f 72 20 64 69 66 66 65 72 65 6e 74 ix for different
0360: 20 6f 70 65 6e 73 73 6c 20 76 65 72 73 69 6f 6e openssl version
0370: 73 2e 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 s...* win/makefi
0380: 6c 65 2e 76 63 3a 20 20 20 20 55 70 64 61 74 65 le.vc: Update
0390: 73 20 74 6f 20 73 75 70 70 6f 72 74 20 74 65 73 s to support tes
03a0: 74 73 2e 0a 09 2a 20 77 69 6e 2f 72 75 6c 65 73 ts...* win/rules
03b0: 2e 76 63 3a 0a 09 2a 20 77 69 6e 2f 6e 6d 61 6b .vc:..* win/nmak
03c0: 65 68 6c 70 2e 63 3a 0a 0a 32 30 30 38 2d 30 33 ehlp.c:..2008-03
03d0: 2d 31 39 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -19 Jeff Hobbs
03e0: 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 <jeffh@ActiveSt
03f0: 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 2a 2a 20 54 ate.com>...*** T
0400: 4c 53 20 31 2e 36 20 54 41 47 47 45 44 20 2a 2a LS 1.6 TAGGED **
0410: 2a 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 *...* Makefile.i
0420: 6e 20 28 64 69 73 74 29 3a 20 75 70 64 61 74 65 n (dist): update
0430: 20 74 6f 20 69 6e 63 6c 75 64 65 20 77 69 6e 2f to include win/
0440: 20 61 6e 64 20 66 69 6c 65 2e 73 72 6c 0a 0a 09 and file.srl...
0450: 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 * win/makefile.v
0460: 63 3a 20 62 75 6d 70 20 76 65 72 73 69 6f 6e 20 c: bump version
0470: 74 6f 20 31 2e 36 0a 09 2a 20 63 6f 6e 66 69 67 to 1.6..* config
0480: 75 72 65 2e 69 6e 3a 20 75 73 65 20 2d 4c 20 61 ure.in: use -L a
0490: 6e 64 20 2d 52 20 77 68 65 72 65 20 6e 65 63 65 nd -R where nece
04a0: 73 73 61 72 79 2e 20 5b 42 75 67 20 31 37 34 32 ssary. [Bug 1742
04b0: 38 35 39 5d 0a 0a 09 2a 20 61 63 6c 6f 63 61 6c 859]...* aclocal
04c0: 2e 6d 34 3a 20 69 6d 70 72 6f 76 65 20 2d 2d 77 .m4: improve --w
04d0: 69 74 68 2d 73 73 6c 2d 64 69 72 20 63 68 65 63 ith-ssl-dir chec
04e0: 6b 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 k....* tests/tls
04f0: 49 4f 2e 74 65 73 74 20 28 74 6c 73 49 4f 2d 31 IO.test (tlsIO-1
0500: 34 2e 2a 29 3a 20 20 20 41 64 64 20 74 6c 73 3a 4.*): Add tls:
0510: 3a 75 6e 69 6d 70 6f 72 74 20 66 6f 72 20 73 79 :unimport for sy
0520: 6d 6d 65 74 72 79 0a 09 2a 20 74 6c 73 2e 68 74 mmetry..* tls.ht
0530: 6d 2c 20 74 6c 73 2e 63 20 28 55 6e 69 6d 70 6f m, tls.c (Unimpo
0540: 72 74 4f 62 6a 43 6d 64 29 3a 20 74 6f 20 74 6c rtObjCmd): to tl
0550: 73 3a 3a 69 6d 70 6f 72 74 2e 20 5b 42 75 67 20 s::import. [Bug
0560: 31 32 30 33 32 37 33 5d 0a 0a 09 2a 20 74 6c 73 1203273]...* tls
0570: 2e 63 20 28 54 6c 73 5f 43 6c 65 61 6e 2c 20 49 .c (Tls_Clean, I
0580: 6d 70 6f 72 74 4f 62 6a 43 6d 64 29 3a 20 46 69 mportObjCmd): Fi
0590: 78 20 63 6c 65 61 6e 75 70 20 6d 65 6d 20 6c 65 x cleanup mem le
05a0: 61 6b 20 5b 42 75 67 20 31 34 31 34 30 34 35 5d ak [Bug 1414045]
05b0: 0a 09 55 73 65 20 62 65 74 74 65 72 20 45 76 61 ..Use better Eva
05c0: 6c 20 41 50 49 73 2c 20 63 6c 65 61 6e 65 72 20 l APIs, cleaner
05d0: 54 63 6c 5f 4f 62 6a 2d 68 61 6e 64 6c 69 6e 67 Tcl_Obj-handling
05e0: 2e 0a 0a 32 30 30 38 2d 30 33 2d 31 39 20 20 50 ...2008-03-19 P
05f0: 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 at Thoyts <patt
0600: 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 hoyts@users.sour
0610: 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a ceforge.net>...*
0620: 20 77 69 6e 2f 4d 61 6b 65 66 69 6c 65 2e 76 63 win/Makefile.vc
0630: 20 20 55 70 64 61 74 65 64 20 74 68 65 20 6e 6d Updated the nm
0640: 61 6b 65 20 62 75 69 6c 64 20 66 69 6c 65 73 20 ake build files
0650: 77 69 74 68 20 4d 53 56 43 39 20 73 75 70 70 6f with MSVC9 suppo
0660: 72 74 0a 09 2a 20 77 69 6e 2f 72 75 6c 65 73 2e rt..* win/rules.
0670: 76 63 3a 20 20 20 20 61 6e 64 20 66 69 78 65 64 vc: and fixed
0680: 20 74 6f 20 72 75 6e 20 74 68 65 20 74 65 73 74 to run the test
0690: 2d 73 75 69 74 65 20 70 72 6f 70 65 72 6c 79 2e -suite properly.
06a0: 0a 09 2a 20 77 69 6e 2f 6e 6d 61 6b 65 68 6c 70 ..* win/nmakehlp
06b0: 2e 63 3a 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 28 .c:..* tls.tcl (
06c0: 74 6c 73 3a 3a 69 6e 69 74 6c 69 62 29 3a 20 43 tls::initlib): C
06d0: 6f 72 72 65 63 74 65 64 20 6e 61 6d 65 73 70 61 orrected namespa
06e0: 63 65 20 68 61 6e 64 6c 69 6e 67 2e 0a 09 2a 20 ce handling...*
06f0: 74 6c 73 2e 63 3a 20 41 70 70 6c 69 65 64 20 23 tls.c: Applied #
0700: 31 38 39 30 32 32 33 20 74 6f 20 66 69 78 20 68 1890223 to fix h
0710: 61 6e 64 73 68 61 6b 65 20 6f 6e 20 6e 6f 6e 2d andshake on non-
0720: 62 6c 6f 63 6b 69 6e 67 20 73 6f 63 6b 65 74 73 blocking sockets
0730: 0a 0a 32 30 30 38 2d 30 33 2d 31 37 20 20 4a 65 ..2008-03-17 Je
0740: 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 ff Hobbs <jeffh
0750: 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d @ActiveState.com
0760: 3e 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 28 74 >...* tls.tcl (t
0770: 6c 73 3a 3a 69 6e 69 74 6c 69 62 29 3a 20 20 20 ls::initlib):
0780: 20 20 6c 6f 61 64 20 74 6c 73 2e 74 63 6c 20 66 load tls.tcl f
0790: 69 72 73 74 20 61 6e 64 20 63 61 6c 6c 0a 09 2a irst and call..*
07a0: 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 20 28 70 6b Makefile.in (pk
07b0: 67 49 6e 64 65 78 2e 74 63 6c 29 3a 20 74 6c 73 gIndex.tcl): tls
07c0: 3a 3a 69 6e 69 74 6c 69 62 20 74 6f 20 6c 6f 61 ::initlib to loa
07d0: 64 20 6c 69 62 72 61 72 79 20 74 6f 0a 09 68 61 d library to..ha
07e0: 6e 64 6c 65 20 63 77 64 20 63 68 61 6e 67 65 73 ndle cwd changes
07f0: 2e 20 5b 42 75 67 20 31 38 38 38 31 31 33 5d 0a . [Bug 1888113].
0800: 0a 32 30 30 37 2d 30 39 2d 30 36 20 20 50 61 74 .2007-09-06 Pat
0810: 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f Thoyts <pattho
0820: 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 yts@users.source
0830: 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 forge.net>...* t
0840: 6c 73 2e 63 3a 20 20 20 20 20 20 20 20 20 20 20 ls.c:
0850: 53 69 6c 65 6e 63 65 20 36 34 20 62 69 74 20 69 Silence 64 bit i
0860: 6e 74 65 67 65 72 20 63 6f 6e 76 65 72 73 69 6f nteger conversio
0870: 6e 20 77 61 72 6e 69 6e 67 73 0a 09 2a 20 77 69 n warnings..* wi
0880: 6e 2f 6e 6d 61 6b 65 68 6c 70 2e 63 3a 20 20 55 n/nmakehlp.c: U
0890: 70 64 61 74 65 20 62 75 69 6c 64 20 73 79 73 74 pdate build syst
08a0: 65 6d 20 74 6f 20 73 75 70 70 6f 72 74 20 41 4d em to support AM
08b0: 44 36 34 20 74 61 72 67 65 74 0a 09 2a 20 77 69 D64 target..* wi
08c0: 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 20 77 n/makefile.vc: w
08d0: 69 74 68 20 4d 53 56 43 38 0a 09 2a 20 77 69 6e ith MSVC8..* win
08e0: 2f 72 75 6c 65 73 2e 76 63 3a 0a 0a 32 30 30 37 /rules.vc:..2007
08f0: 2d 30 36 2d 32 32 20 20 4a 65 66 66 20 48 6f 62 -06-22 Jeff Hob
0900: 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 bs <jeffh@Activ
0910: 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 eState.com>...*
0920: 74 6c 73 49 4f 2e 63 20 28 54 6c 73 49 6e 70 75 tlsIO.c (TlsInpu
0930: 74 50 72 6f 63 2c 20 54 6c 73 4f 75 74 70 75 74 tProc, TlsOutput
0940: 50 72 6f 63 2c 20 54 6c 73 57 61 74 63 68 50 72 Proc, TlsWatchPr
0950: 6f 63 29 3a 20 0a 09 2a 20 74 6c 73 2e 63 20 28 oc): ..* tls.c (
0960: 56 65 72 69 66 79 43 61 6c 6c 62 61 63 6b 29 3a VerifyCallback):
0970: 20 61 64 64 20 61 6e 20 73 74 61 74 65 20 66 6c add an state fl
0980: 61 67 20 69 6e 20 74 68 65 20 76 65 72 69 66 79 ag in the verify
0990: 20 63 61 6c 6c 62 61 63 6b 0a 09 74 68 61 74 20 callback..that
09a0: 70 72 65 76 65 6e 74 73 20 70 6f 73 73 69 62 6c prevents possibl
09b0: 79 20 72 65 63 75 72 73 69 6f 6e 20 28 6f 6e 20 y recursion (on
09c0: 27 75 70 64 61 74 65 27 29 2e 20 5b 42 75 67 20 'update'). [Bug
09d0: 31 36 35 32 33 38 30 5d 0a 0a 09 2a 20 74 65 73 1652380]...* tes
09e0: 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a ts/ciphers.test:
09f0: 20 72 65 77 6f 72 6b 65 64 20 74 6f 20 6d 61 6b reworked to mak
0a00: 65 20 74 65 73 74 20 6f 75 74 70 75 74 20 63 6c e test output cl
0a10: 65 61 6e 65 72 20 74 6f 0a 09 75 6e 64 65 72 73 eaner to..unders
0a20: 74 61 6e 64 20 6d 69 73 73 69 6e 67 20 63 69 70 tand missing cip
0a30: 68 65 72 73 20 28 69 66 20 61 6e 79 29 0a 0a 09 hers (if any)...
0a40: 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 2c 20 74 * Makefile.in, t
0a50: 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a clconfig/tcl.m4:
0a60: 20 75 70 64 61 74 65 20 74 6f 20 54 45 41 20 33 update to TEA 3
0a70: 2e 36 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2c .6..* configure,
0a80: 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 20 configure.in:
0a90: 20 20 20 20 20 75 73 69 6e 67 20 61 75 74 6f 63 using autoc
0aa0: 6f 6e 66 2d 32 2e 35 39 0a 0a 32 30 30 37 2d 30 onf-2.59..2007-0
0ab0: 32 2d 32 38 20 20 50 61 74 20 54 68 6f 79 74 73 2-28 Pat Thoyts
0ac0: 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 <patthoyts@use
0ad0: 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e rs.sourceforge.n
0ae0: 65 74 3e 0a 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 et>...* win/make
0af0: 66 69 6c 65 2e 76 63 3a 20 52 65 62 61 73 65 20 file.vc: Rebase
0b00: 74 68 65 20 44 4c 4c 20 73 65 6e 73 69 62 6c 79 the DLL sensibly
0b10: 2e 20 41 64 64 69 74 69 6f 6e 61 6c 20 6c 69 62 . Additional lib
0b20: 73 20 66 6f 72 20 0a 09 73 74 61 74 69 63 20 6c s for ..static l
0b30: 69 6e 6b 20 6f 66 20 6f 70 65 6e 73 73 6c 2e 0a ink of openssl..
0b40: 09 2a 20 74 6c 73 2e 74 63 6c 3a 20 62 75 67 20 .* tls.tcl: bug
0b50: 23 31 35 37 39 38 33 37 20 2d 20 54 49 50 20 32 #1579837 - TIP 2
0b60: 37 38 20 62 75 67 20 28 70 6f 73 73 69 62 6c 79 78 bug (possibly
0b70: 29 20 2d 20 66 69 78 65 64 2e 0a 0a 32 30 30 36 ) - fixed...2006
0b80: 2d 30 33 2d 33 30 20 20 50 61 74 20 54 68 6f 79 -03-30 Pat Thoy
0b90: 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 ts <patthoyts@u
0ba0: 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 sers.sourceforge
0bb0: 2e 6e 65 74 3e 0a 0a 09 2a 20 74 63 6c 63 6f 6e .net>...* tclcon
0bc0: 66 69 67 2f 2a 3a 20 20 55 70 64 61 74 65 64 20 fig/*: Updated
0bd0: 74 6f 20 54 45 41 20 33 2e 35 20 69 6e 20 72 65 to TEA 3.5 in re
0be0: 73 70 6f 6e 73 65 20 74 6f 20 62 75 67 20 31 34 sponse to bug 14
0bf0: 36 30 34 39 31 0a 09 2a 20 63 6f 6e 66 69 67 75 60491..* configu
0c00: 72 65 2a 3a 20 20 20 52 65 67 65 6e 65 72 61 74 re*: Regenerat
0c10: 65 64 20 63 6f 6e 66 69 67 75 72 65 2e 0a 0a 32 ed configure...2
0c20: 30 30 35 2d 30 32 2d 30 38 20 20 4a 65 66 66 20 005-02-08 Jeff
0c30: 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 Hobbs <jeffh@Ac
0c40: 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a tiveState.com>..
0c50: 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 2c 20 .* Makefile.in,
0c60: 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 tclconfig/tcl.m4
0c70: 3a 20 75 70 64 61 74 65 20 74 6f 20 54 45 41 20 : update to TEA
0c80: 33 2e 32 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3.2..* configure
0c90: 2c 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 , configure.in:
0ca0: 20 20 20 20 20 20 75 73 69 6e 67 20 61 75 74 6f using auto
0cb0: 63 6f 6e 66 2d 32 2e 35 39 0a 0a 32 30 30 34 2d conf-2.59..2004-
0cc0: 31 32 2d 32 33 20 20 50 61 74 20 54 68 6f 79 74 12-23 Pat Thoyt
0cd0: 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 s <patthoyts@us
0ce0: 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e ers.sourceforge.
0cf0: 6e 65 74 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c net>...* Makefil
0d00: 65 2e 69 6e 3a 20 20 20 20 20 20 52 65 6d 6f 76 e.in: Remov
0d10: 65 64 20 73 70 75 72 69 6f 75 73 20 63 6f 70 79 ed spurious copy
0d20: 69 6e 67 20 6f 66 20 74 6c 73 2e 74 63 6c 20 69 ing of tls.tcl i
0d30: 6e 74 6f 20 74 68 65 0a 09 20 20 20 20 20 20 20 nto the..
0d40: 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 69 bui
0d50: 6c 64 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a 32 ld directory...2
0d60: 30 30 34 2d 31 32 2d 32 32 20 20 50 61 74 20 54 004-12-22 Pat T
0d70: 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 hoyts <patthoyt
0d80: 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f s@users.sourcefo
0d90: 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 63 6f 6e rge.net>...* con
0da0: 66 69 67 75 72 65 2e 69 6e 3a 20 20 20 20 20 49 figure.in: I
0db0: 6e 63 72 65 6d 65 6e 74 65 64 20 6d 69 6e 6f 72 ncremented minor
0dc0: 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e 35 2e version to 1.5.
0dd0: 31 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 1..* configure:
0de0: 20 20 20 20 20 20 20 0a 0a 32 30 30 34 2d 31 32 ..2004-12
0df0: 2d 31 37 20 20 50 61 74 20 54 68 6f 79 74 73 20 -17 Pat Thoyts
0e00: 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 <patthoyts@user
0e10: 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 s.sourceforge.ne
0e20: 74 3e 0a 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 t>...* win/makef
0e30: 69 6c 65 2e 76 63 3a 20 20 41 64 64 65 64 20 74 ile.vc: Added t
0e40: 68 65 20 4d 53 56 43 20 62 75 69 6c 64 20 73 79 he MSVC build sy
0e50: 73 74 65 6d 20 28 66 72 6f 6d 20 74 68 65 20 54 stem (from the T
0e60: 63 6c 0a 09 2a 20 77 69 6e 2f 72 75 6c 65 73 2e cl..* win/rules.
0e70: 76 63 3a 20 20 20 20 20 73 61 6d 70 6c 65 65 78 vc: sampleex
0e80: 74 65 6e 73 69 6f 6e 29 2e 0a 09 2a 20 77 69 6e tension)...* win
0e90: 2f 6e 6d 61 6b 65 68 6c 70 2e 63 3a 0a 09 2a 20 /nmakehlp.c:..*
0ea0: 77 69 6e 2f 74 6c 73 2e 72 63 20 20 20 20 20 20 win/tls.rc
0eb0: 20 20 41 64 64 65 64 20 57 69 6e 64 6f 77 73 20 Added Windows
0ec0: 72 65 73 6f 75 72 63 65 20 66 69 6c 65 2e 0a 09 resource file...
0ed0: 0a 09 2a 20 74 6c 73 2e 74 63 6c 3a 20 20 20 20 ..* tls.tcl:
0ee0: 20 20 20 20 20 20 46 72 6f 6d 20 70 61 74 63 68 From patch
0ef0: 20 23 39 34 38 31 35 35 2c 20 61 64 64 65 64 20 #948155, added
0f00: 73 75 70 70 6f 72 74 20 66 6f 72 0a 09 20 20 20 support for..
0f10: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0f20: 20 61 6c 74 65 72 6e 61 74 65 20 73 6f 63 6b 65 alternate socke
0f30: 74 20 63 6f 6d 6d 61 6e 64 73 2e 0a 09 2a 20 74 t commands...* t
0f40: 6c 73 2e 63 3a 20 20 20 20 20 20 20 20 20 20 20 ls.c:
0f50: 20 51 75 69 65 74 65 6e 20 73 6f 6d 65 20 4d 53 Quieten some MS
0f60: 56 43 20 77 61 72 6e 69 6e 67 73 2e 20 50 72 65 VC warnings. Pre
0f70: 66 65 72 20 63 6b 61 6c 6c 6f 63 0a 09 20 20 20 fer ckalloc..
0f80: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0f90: 20 6f 76 65 72 20 54 63 6c 5f 41 6c 6c 6f 63 2e over Tcl_Alloc.
0fa0: 20 28 44 61 76 69 64 20 47 72 61 76 65 72 61 75 (David Graverau
0fb0: 78 29 2e 0a 0a 32 30 30 34 2d 30 36 2d 32 39 20 x)...2004-06-29
0fc0: 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 Pat Thoyts <pa
0fd0: 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f tthoyts@users.so
0fe0: 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a urceforge.net>..
0ff0: 09 2a 20 74 6c 73 2e 63 3a 20 20 20 20 20 20 20 .* tls.c:
1000: 20 20 20 20 20 46 69 78 75 70 20 74 6f 20 62 75 Fixup to bu
1010: 69 6c 64 20 61 67 61 69 6e 73 74 20 74 63 6c 20 ild against tcl
1020: 38 2e 33 2e 33 2e 20 48 61 6e 64 6c 65 0a 09 2a 8.3.3. Handle..*
1030: 20 74 6c 73 49 4f 2e 63 3a 20 20 20 20 20 20 20 tlsIO.c:
1040: 20 20 20 38 2e 34 20 63 6f 6e 73 74 69 66 69 63 8.4 constific
1050: 61 74 69 6f 6e 2e 0a 0a 09 2a 20 74 6c 73 49 6e ation....* tlsIn
1060: 74 2e 68 3a 20 20 20 20 20 20 20 20 20 41 64 64 t.h: Add
1070: 65 64 20 68 65 61 64 65 72 73 20 72 65 71 75 69 ed headers requi
1080: 72 65 64 20 77 69 74 68 20 4d 53 56 43 20 6f 6e red with MSVC on
1090: 20 57 69 6e 33 32 2e 0a 09 2a 20 74 6c 73 58 35 Win32...* tlsX5
10a0: 30 39 2e 63 3a 20 20 20 20 20 20 20 20 75 6e 64 09.c: und
10b0: 65 66 20 6d 69 6e 20 61 6e 64 20 6d 61 78 20 69 ef min and max i
10c0: 66 20 64 65 66 69 6e 65 64 20 28 77 69 6e 33 32 f defined (win32
10d0: 29 2e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e )....* Makefile.
10e0: 69 6e 3a 20 20 20 20 20 20 46 69 78 65 64 20 74 in: Fixed t
10f0: 6f 20 62 75 69 6c 64 20 6f 6e 20 77 69 6e 33 32 o build on win32
1100: 20 75 73 69 6e 67 20 6d 73 79 73 20 77 69 74 68 using msys with
1110: 0a 09 2a 20 61 63 6c 6f 63 61 6c 2e 6d 34 3a 20 ..* aclocal.m4:
1120: 20 20 20 20 20 20 4d 53 56 43 2e 20 41 6c 73 6f MSVC. Also
1130: 20 66 69 78 65 64 20 74 68 65 20 74 65 73 74 20 fixed the test
1140: 74 61 72 67 65 74 2e 0a 09 2a 20 63 6f 6e 66 69 target...* confi
1150: 67 75 72 65 2e 69 6e 3a 0a 09 2a 20 63 6f 6e 66 gure.in:..* conf
1160: 69 67 75 72 65 3a 20 20 20 20 20 20 20 20 52 65 igure: Re
1170: 67 65 6e 65 72 61 74 65 64 2e 0a 09 2a 20 74 63 generated...* tc
1180: 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 lconfig/tcl.m4:
1190: 55 70 64 61 74 65 64 20 74 6f 20 6d 6f 73 74 20 Updated to most
11a0: 72 65 63 65 6e 74 20 76 65 72 73 69 6f 6e 2e 0a recent version..
11b0: 0a 32 30 30 34 2d 30 33 2d 32 33 20 20 44 61 6e .2004-03-23 Dan
11c0: 20 52 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 72 Razzell <resear
11d0: 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74 65 ch@starfishsyste
11e0: 6d 73 2e 63 61 3e 0a 09 2a 20 74 6c 73 2e 63 3a ms.ca>..* tls.c:
11f0: 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a 09 2a ..* tlsBIO.c:..*
1200: 20 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 tlsIO.c:..* tls
1210: 49 6e 74 2e 68 3a 09 46 69 78 65 64 20 74 79 70 Int.h:.Fixed typ
1220: 65 20 6d 61 74 63 68 20 77 61 72 6e 69 6e 67 73 e match warnings
1230: 2e 0a 0a 32 30 30 34 2d 30 33 2d 31 39 20 20 4a ...2004-03-19 J
1240: 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 eff Hobbs <jeff
1250: 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f h@ActiveState.co
1260: 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c m>...* tls.c (Tl
1270: 73 5f 49 6e 69 74 29 3a 20 20 20 72 65 70 6c 61 s_Init): repla
1280: 63 65 64 20 6f 6c 64 65 72 20 54 45 41 20 63 6f ced older TEA co
1290: 6e 66 69 67 20 77 69 74 68 20 6e 65 77 65 72 0a nfig with newer.
12a0: 09 2a 20 63 6f 6e 66 69 67 2f 2a 20 28 72 65 6d .* config/* (rem
12b0: 6f 76 65 64 29 3a 0a 09 2a 20 70 6b 67 49 6e 64 oved):..* pkgInd
12c0: 65 78 2e 74 63 6c 2e 69 6e 2c 20 73 74 72 6e 63 ex.tcl.in, strnc
12d0: 61 73 65 63 6d 70 2e 63 20 28 72 65 6d 6f 76 65 asecmp.c (remove
12e0: 64 29 3a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e d):..* Makefile.
12f0: 69 6e 2c 20 61 63 6c 6f 63 61 6c 2e 6d 34 2c 20 in, aclocal.m4,
1300: 63 6f 6e 66 69 67 75 72 65 2c 20 63 6f 6e 66 69 configure, confi
1310: 67 75 72 65 2e 69 6e 3a 0a 09 2a 20 74 63 6c 63 gure.in:..* tclc
1320: 6f 6e 66 69 67 2f 52 45 41 44 4d 45 2e 74 78 74 onfig/README.txt
1330: 2c 20 74 63 6c 63 6f 6e 66 69 67 2f 69 6e 73 74 , tclconfig/inst
1340: 61 6c 6c 2d 73 68 2c 20 74 63 6c 63 6f 6e 66 69 all-sh, tclconfi
1350: 67 2f 74 63 6c 2e 6d 34 3a 0a 0a 32 30 30 34 2d g/tcl.m4:..2004-
1360: 30 33 2d 31 37 20 20 44 61 6e 20 52 61 7a 7a 65 03-17 Dan Razze
1370: 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 74 61 ll <research@sta
1380: 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e rfishsystems.ca>
1390: 0a 0a 09 2a 20 74 6c 73 58 35 30 39 2e 63 3a 09 ...* tlsX509.c:.
13a0: 41 64 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 Add support for
13b0: 6c 6f 6e 67 20 73 65 72 69 61 6c 20 6e 75 6d 62 long serial numb
13c0: 65 72 73 20 70 65 72 20 52 46 43 20 33 32 38 30 ers per RFC 3280
13d0: 2e 0a 09 09 09 46 6f 72 6d 61 74 20 69 73 20 6e .....Format is n
13e0: 6f 77 20 68 65 78 61 64 65 63 69 6d 61 6c 2e 20 ow hexadecimal.
13f0: 0a 09 09 09 5b 52 65 71 75 65 73 74 20 23 39 31 ....[Request #91
1400: 35 33 31 33 5d 0a 09 09 09 43 6f 72 72 65 63 74 5313]....Correct
1410: 6c 79 20 63 6f 6e 76 65 72 74 20 63 65 72 74 69 ly convert certi
1420: 66 69 63 61 74 65 20 44 69 73 74 69 6e 67 75 69 ficate Distingui
1430: 73 68 65 64 20 4e 61 6d 65 73 0a 09 09 09 74 6f shed Names....to
1440: 20 54 63 6c 20 73 74 72 69 6e 67 20 72 65 70 72 Tcl string repr
1450: 65 73 65 6e 74 61 74 69 6f 6e 2e 20 20 45 6c 69 esentation. Eli
1460: 6d 69 6e 61 74 65 73 20 75 73 65 20 6f 66 0a 09 minates use of..
1470: 09 09 64 65 70 72 65 63 61 74 65 64 20 4f 70 65 ..deprecated Ope
1480: 6e 53 53 4c 20 66 75 6e 63 74 69 6f 6e 2e 20 20 nSSL function.
1490: 46 6f 72 6d 61 74 20 69 73 20 6e 6f 77 20 63 6f Format is now co
14a0: 6d 70 6c 69 61 6e 74 0a 09 09 09 77 69 74 68 20 mpliant....with
14b0: 52 46 43 20 32 32 35 33 2e 20 20 5b 52 65 71 75 RFC 2253. [Requ
14c0: 65 73 74 20 23 39 31 35 33 31 35 5d 0a 0a 32 30 est #915315]..20
14d0: 30 34 2d 30 32 2d 31 37 20 20 44 61 6e 20 52 61 04-02-17 Dan Ra
14e0: 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 zzell <research@
14f0: 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e starfishsystems.
1500: 63 61 3e 0a 0a 09 54 4c 53 20 31 2e 35 2e 30 20 ca>...TLS 1.5.0
1510: 52 45 4c 45 41 53 45 0a 0a 32 30 30 34 2d 30 32 RELEASE..2004-02
1520: 2d 31 32 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c -12 Dan Razzell
1530: 09 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66 .<research@starf
1540: 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a ishsystems.ca>..
1550: 09 2a 20 74 6c 73 2e 63 3a 09 41 6c 6c 6f 77 20 .* tls.c:.Allow
1560: 76 65 72 69 66 79 20 63 61 6c 6c 62 61 63 6b 20 verify callback
1570: 74 6f 20 72 65 74 75 72 6e 20 65 6d 70 74 79 20 to return empty
1580: 72 65 73 75 6c 74 2e 0a 09 2a 20 74 6c 73 2e 68 result...* tls.h
1590: 74 6d 3a 09 44 6f 63 75 6d 65 6e 74 20 63 61 6c tm:.Document cal
15a0: 6c 62 61 63 6b 20 62 65 68 61 76 69 6f 72 73 2e lback behaviors.
15b0: 0a 0a 32 30 30 34 2d 30 32 2d 31 31 20 20 44 61 ..2004-02-11 Da
15c0: 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 n Razzell.<resea
15d0: 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74 rch@starfishsyst
15e0: 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 65 73 74 ems.ca>...* test
15f0: 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 0a 09 2a s/tlsIO.test:..*
1600: 20 72 65 6d 6f 74 65 2e 74 63 6c 3a 09 43 6f 6d remote.tcl:.Com
1610: 70 6c 65 74 65 20 70 72 69 76 61 74 65 20 6b 65 plete private ke
1620: 79 20 6e 61 6d 65 20 63 68 61 6e 67 65 73 20 66 y name changes f
1630: 72 6f 6d 20 32 30 30 31 2d 30 36 2d 32 31 2e 0a rom 2001-06-21..
1640: 0a 32 30 30 34 2d 30 32 2d 30 33 20 20 44 61 6e .2004-02-03 Dan
1650: 20 52 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 72 Razzell <resear
1660: 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74 65 ch@starfishsyste
1670: 6d 73 2e 63 61 3e 0a 0a 09 2a 20 4d 61 6b 65 66 ms.ca>...* Makef
1680: 69 6c 65 2e 69 6e 3a 09 52 65 6d 6f 76 65 64 20 ile.in:.Removed
1690: 63 69 72 63 75 6c 61 72 20 64 65 70 65 6e 64 65 circular depende
16a0: 6e 63 79 2e 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 ncy...* tlsInt.h
16b0: 3a 09 4d 61 6b 65 20 66 75 6e 63 74 69 6f 6e 20 :.Make function
16c0: 64 65 63 6c 61 72 61 74 69 6f 6e 73 20 65 78 70 declarations exp
16d0: 6c 69 63 69 74 2e 0a 09 2a 20 74 6c 73 2e 63 3a licit...* tls.c:
16e0: 09 46 69 78 20 74 79 70 65 20 6d 61 74 63 68 20 .Fix type match
16f0: 61 6e 64 20 75 6e 75 73 65 64 20 76 61 72 69 61 and unused varia
1700: 62 6c 65 20 77 61 72 6e 69 6e 67 73 2e 0a 09 2a ble warnings...*
1710: 20 74 6c 73 42 49 4f 2e 63 3a 09 46 69 78 20 74 tlsBIO.c:.Fix t
1720: 79 70 65 20 6d 61 74 63 68 20 77 61 72 6e 69 6e ype match warnin
1730: 67 2e 0a 0a 32 30 30 33 2d 31 32 2d 31 35 20 20 g...2003-12-15
1740: 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 Dan Razzell.<res
1750: 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79 earch@starfishsy
1760: 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 70 6b stems.ca>...* pk
1770: 67 49 6e 64 65 78 2e 74 63 6c 2e 69 6e 3a 0a 09 gIndex.tcl.in:..
1780: 2a 20 74 6c 73 2e 68 74 6d 3a 0a 09 2a 20 74 65 * tls.htm:..* te
1790: 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 sts/tlsIO.test:
17a0: 75 70 64 61 74 65 64 20 76 65 72 73 69 6f 6e 20 updated version
17b0: 74 6f 20 31 2e 35 2e 0a 0a 32 30 30 33 2d 31 30 to 1.5...2003-10
17c0: 2d 30 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c -07 Dan Razzell
17d0: 09 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66 .<research@starf
17e0: 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a ishsystems.ca>..
17f0: 09 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72 73 .* tests/ciphers
1800: 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 20 6c .test: updated l
1810: 69 73 74 20 6f 66 20 74 65 73 74 65 64 20 63 69 ist of tested ci
1820: 70 68 65 72 73 20 74 6f 20 63 6f 72 72 65 73 70 phers to corresp
1830: 6f 6e 64 0a 09 2a 20 77 69 74 68 20 74 68 6f 73 ond..* with thos
1840: 65 20 61 76 61 69 6c 61 62 6c 65 20 66 72 6f 6d e available from
1850: 20 4f 70 65 6e 53 53 4c 2e 20 5b 52 65 71 75 65 OpenSSL. [Reque
1860: 73 74 20 23 38 31 31 39 38 31 5d 0a 0a 32 30 30 st #811981]..200
1870: 33 2d 31 30 2d 30 37 20 20 44 61 6e 20 52 61 7a 3-10-07 Dan Raz
1880: 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 zell <research@s
1890: 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 tarfishsystems.c
18a0: 61 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64 a>...* tls.c: ad
18b0: 64 65 64 20 43 4f 4e 53 54 20 77 69 74 68 20 69 ded CONST with i
18c0: 6e 74 65 6e 74 20 73 69 6d 69 6c 61 72 20 74 6f ntent similar to
18d0: 20 74 68 6f 73 65 20 66 72 6f 6d 20 32 30 30 32 those from 2002
18e0: 2d 30 32 2d 30 34 2e 0a 09 5b 52 65 71 75 65 73 -02-04...[Reques
18f0: 74 20 23 38 31 31 39 31 31 5d 0a 0a 32 30 30 33 t #811911]..2003
1900: 2d 30 37 2d 30 37 20 20 4a 65 66 66 20 48 6f 62 -07-07 Jeff Hob
1910: 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 bs <jeffh@Activ
1920: 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 eState.com>...*
1930: 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 tls.c (Tls_Init)
1940: 3a 20 20 20 61 64 64 65 64 20 74 6c 73 3a 3a 6d : added tls::m
1950: 69 73 63 20 63 6f 6d 6d 61 6e 64 20 70 72 6f 76 isc command prov
1960: 69 64 65 64 20 62 79 0a 09 2a 20 74 6c 73 58 35 ided by..* tlsX5
1970: 30 39 2e 63 3a 20 20 20 20 20 20 20 20 20 20 57 09.c: W
1980: 6f 6a 63 69 65 63 68 20 4b 6f 63 6a 61 6e 20 28 ojciech Kocjan (
1990: 77 6f 6a 63 69 65 63 68 20 6b 6f 63 6a 61 6e 2e wojciech kocjan.
19a0: 6f 72 67 29 0a 09 2a 20 74 65 73 74 73 2f 6b 65 org)..* tests/ke
19b0: 79 74 65 73 74 31 2e 74 63 6c 3a 20 74 6f 20 65 ytest1.tcl: to e
19c0: 78 70 6f 73 65 20 6d 6f 72 65 20 6c 6f 77 2d 6c xpose more low-l
19d0: 65 76 65 6c 20 53 53 4c 20 63 6f 6d 6d 61 6e 64 evel SSL command
19e0: 73 0a 09 2a 20 74 65 73 74 73 2f 6b 65 79 74 65 s..* tests/keyte
19f0: 73 74 32 2e 74 63 6c 3a 0a 0a 32 30 30 33 2d 30 st2.tcl:..2003-0
1a00: 35 2d 31 35 20 20 44 61 6e 20 52 61 7a 7a 65 6c 5-15 Dan Razzel
1a10: 6c 09 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 l.<research@star
1a20: 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 20 fishsystems.ca>
1a30: 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c 3a 0a 09 2a ...* tls.tcl:..*
1a40: 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 74 6c tlsInt.h:..* tl
1a50: 73 2e 63 3a 20 61 64 64 20 73 75 70 70 6f 72 74 s.c: add support
1a60: 20 66 6f 72 20 62 69 6e 64 69 6e 67 20 61 20 70 for binding a p
1a70: 61 73 73 77 6f 72 64 20 63 61 6c 6c 62 61 63 6b assword callback
1a80: 20 74 6f 20 74 68 65 20 73 6f 63 6b 65 74 2e 0a to the socket..
1a90: 09 4e 6f 77 20 65 61 63 68 20 73 6f 63 6b 65 74 .Now each socket
1aa0: 20 63 61 6e 20 68 61 76 65 20 69 74 73 20 6f 77 can have its ow
1ab0: 6e 20 63 6f 6d 6d 61 6e 64 20 61 6e 64 20 70 61 n command and pa
1ac0: 73 73 77 6f 72 64 20 63 61 6c 6c 62 61 63 6b 73 ssword callbacks
1ad0: 20 69 6e 73 74 65 61 64 0a 09 6f 66 20 62 65 69 instead..of bei
1ae0: 6e 67 20 66 6f 72 63 65 64 20 74 6f 20 68 61 76 ng forced to hav
1af0: 65 20 61 6c 6c 20 70 61 73 73 77 6f 72 64 20 6d e all password m
1b00: 61 6e 61 67 65 6d 65 6e 74 20 70 61 73 73 20 74 anagement pass t
1b10: 68 72 6f 75 67 68 20 61 20 63 6f 6d 6d 6f 6e 0a hrough a common.
1b20: 09 70 72 6f 63 65 64 75 72 65 2e 20 20 54 68 65 .procedure. The
1b30: 20 63 6f 6d 6d 6f 6e 20 70 61 73 73 77 6f 72 64 common password
1b40: 20 70 72 6f 63 65 64 75 72 65 20 69 73 20 72 65 procedure is re
1b50: 74 61 69 6e 65 64 20 66 6f 72 20 63 6f 6d 70 61 tained for compa
1b60: 74 69 62 69 6c 69 74 79 0a 09 62 75 74 20 69 74 tibility..but it
1b70: 73 20 75 73 65 20 73 68 6f 75 6c 64 20 62 65 20 s use should be
1b80: 44 45 50 52 45 43 41 54 45 44 2e 0a 09 41 64 64 DEPRECATED...Add
1b90: 20 76 65 72 73 69 6f 6e 20 63 6f 6d 6d 61 6e 64 version command
1ba0: 20 74 6f 20 72 65 74 75 72 6e 20 4f 70 65 6e 53 to return OpenS
1bb0: 53 4c 20 76 65 72 73 69 6f 6e 20 73 74 72 69 6e SL version strin
1bc0: 67 2e 0a 09 52 65 6d 6f 76 65 20 75 6e 73 74 61 g...Remove unsta
1bd0: 62 6c 65 20 77 6f 72 6b 61 72 6f 75 6e 64 73 20 ble workarounds
1be0: 6e 65 65 64 65 64 20 66 6f 72 20 76 65 72 69 66 needed for verif
1bf0: 79 20 69 6e 20 6f 62 73 6f 6c 65 74 65 20 76 65 y in obsolete ve
1c00: 72 73 69 6f 6e 73 20 6f 66 0a 09 4f 70 65 6e 53 rsions of..OpenS
1c10: 53 4c 2e 0a 09 46 69 78 20 6d 65 6d 6f 72 79 20 SL...Fix memory
1c20: 6c 65 61 6b 2e 20 5b 52 65 71 75 65 73 74 20 23 leak. [Request #
1c30: 36 34 30 36 36 30 5d 0a 09 4d 6f 72 65 20 63 61 640660]..More ca
1c40: 73 74 73 20 74 6f 20 65 6c 69 6d 69 6e 61 74 65 sts to eliminate
1c50: 20 63 6f 6d 70 69 6c 65 72 20 77 61 72 6e 69 6e compiler warnin
1c60: 67 73 2e 0a 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a gs....* tls.htm:
1c70: 20 64 6f 63 75 6d 65 6e 74 20 70 61 73 73 77 6f document passwo
1c80: 72 64 20 63 61 6c 6c 62 61 63 6b 2e 0a 09 43 6f rd callback...Co
1c90: 72 72 65 63 74 20 74 65 63 68 6e 69 63 61 6c 20 rrect technical
1ca0: 61 6e 64 20 74 79 70 6f 67 72 61 70 68 69 63 20 and typographic
1cb0: 65 72 72 6f 72 73 2e 0a 0a 09 2a 20 52 45 41 44 errors....* READ
1cc0: 4d 45 2e 74 78 74 3a 20 69 64 65 6e 74 69 66 79 ME.txt: identify
1cd0: 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 4f 70 65 versions of Ope
1ce0: 6e 53 53 4c 20 77 68 69 63 68 20 66 69 78 20 6b nSSL which fix k
1cf0: 6e 6f 77 6e 20 70 72 6f 62 6c 65 6d 73 2e 0a 09 nown problems...
1d00: 47 65 6e 65 72 61 6c 20 77 61 72 6e 69 6e 67 20 General warning
1d10: 6f 66 20 73 65 63 75 72 69 74 79 20 70 72 6f 62 of security prob
1d20: 6c 65 6d 73 20 69 6e 20 6f 6c 64 65 72 20 76 65 lems in older ve
1d30: 72 73 69 6f 6e 73 20 6f 66 20 4f 70 65 6e 53 53 rsions of OpenSS
1d40: 4c 2e 0a 0a 32 30 30 32 2d 30 32 2d 30 34 20 20 L...2002-02-04
1d50: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 Jeff Hobbs <jef
1d60: 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 fh@ActiveState.c
1d70: 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a om>...* tls.htm:
1d80: 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64 64 65 64 ..* tls.c: added
1d90: 20 73 75 70 70 6f 72 74 20 66 6f 72 20 6c 6f 63 support for loc
1da0: 61 6c 20 63 65 72 74 69 66 69 63 61 74 65 20 73 al certificate s
1db0: 74 61 74 75 73 20 63 68 65 63 6b 2c 20 61 73 20 tatus check, as
1dc0: 77 65 6c 6c 0a 09 61 73 20 72 65 74 75 72 6e 69 well..as returni
1dd0: 6e 67 20 74 68 65 20 23 20 6f 66 20 62 69 74 73 ng the # of bits
1de0: 20 69 6e 20 74 68 65 20 73 65 73 73 69 6f 6e 20 in the session
1df0: 6b 65 79 2e 20 5b 50 61 74 63 68 20 23 35 30 35 key. [Patch #505
1e00: 36 39 38 5d 20 28 72 6f 73 65 29 0a 0a 09 2a 20 698] (rose)...*
1e10: 74 6c 73 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e tls.c:..* tlsIO.
1e20: 63 3a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 20 c:..* tlsBIO.c:
1e30: 61 64 64 65 64 20 43 4f 4e 53 54 73 20 74 6f 20 added CONSTs to
1e40: 73 61 74 69 73 66 79 20 54 63 6c 20 38 2e 34 20 satisfy Tcl 8.4
1e50: 73 6f 75 72 63 65 73 2e 20 20 54 68 69 73 20 6d sources. This m
1e60: 61 79 0a 09 67 69 76 65 20 77 61 72 6e 69 6e 67 ay..give warning
1e70: 73 20 77 68 65 6e 20 63 6f 6d 70 69 6c 65 64 20 s when compiled
1e80: 61 67 61 69 6e 73 74 20 38 2e 33 2c 20 62 75 74 against 8.3, but
1e90: 20 74 68 65 79 20 63 61 6e 20 62 65 20 69 67 6e they can be ign
1ea0: 6f 72 65 64 2e 0a 0a 09 2a 20 74 65 73 74 73 2f ored....* tests/
1eb0: 73 69 6d 70 6c 65 43 6c 69 65 6e 74 2e 74 63 6c simpleClient.tcl
1ec0: 3a 0a 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c :..* tests/simpl
1ed0: 65 53 65 72 76 65 72 2e 74 63 6c 3a 20 70 6f 69 eServer.tcl: poi
1ee0: 6e 74 20 74 6f 20 75 70 64 61 74 65 64 20 63 6c nt to updated cl
1ef0: 69 65 6e 74 2f 73 65 72 76 65 72 20 6b 65 79 20 ient/server key
1f00: 66 69 6c 65 73 2e 0a 0a 09 2a 20 74 65 73 74 73 files....* tests
1f10: 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 0a 09 2a 20 /tlsIO.test:..*
1f20: 74 65 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65 tests/ciphers.te
1f30: 73 74 3a 20 75 70 64 61 74 65 64 20 74 6f 20 6c st: updated to l
1f40: 6f 61 64 20 74 6c 73 20 66 72 6f 6d 20 62 75 69 oad tls from bui
1f50: 6c 64 20 64 69 72 2e 0a 0a 09 2a 20 4d 61 6b 65 ld dir....* Make
1f60: 66 69 6c 65 2e 69 6e 3a 20 72 65 6d 6f 76 65 64 file.in: removed
1f70: 20 73 74 72 6e 63 61 73 65 63 6d 70 20 66 72 6f strncasecmp fro
1f80: 6d 20 64 65 66 61 75 6c 74 20 6f 62 6a 65 63 74 m default object
1f90: 20 73 65 74 2e 20 20 54 68 69 73 0a 09 69 73 20 set. This..is
1fa0: 6f 6e 6c 79 20 6e 65 65 64 65 64 20 6f 6e 20 74 only needed on t
1fb0: 68 65 20 4d 61 63 2c 20 61 6e 64 20 54 63 6c 20 he Mac, and Tcl
1fc0: 73 74 75 62 73 20 70 72 6f 76 69 64 65 73 20 69 stubs provides i
1fd0: 74 2e 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 t....* configure
1fe0: 3a 20 72 65 67 65 6e 27 65 64 2e 0a 09 2a 20 63 : regen'ed...* c
1ff0: 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 75 70 64 onfigure.in: upd
2000: 61 74 65 64 20 74 6f 20 31 2e 35 2e 30 20 66 6f ated to 1.5.0 fo
2010: 72 20 6e 65 78 74 20 72 65 6c 65 61 73 65 2e 0a r next release..
2020: 09 43 68 61 6e 67 65 64 20 64 65 66 61 75 6c 74 .Changed default
2030: 20 6f 70 65 6e 73 73 6c 20 6c 6f 63 61 74 69 6f openssl locatio
2040: 6e 20 74 6f 20 2f 75 73 72 2f 6c 6f 63 61 6c 2f n to /usr/local/
2050: 73 73 6c 20 28 74 68 69 73 20 69 73 20 77 68 65 ssl (this is whe
2060: 72 65 0a 09 6f 70 65 6e 73 73 6c 20 30 2e 39 2e re..openssl 0.9.
2070: 36 63 20 69 6e 73 74 61 6c 6c 73 20 62 79 20 64 6c installs by d
2080: 65 66 61 75 6c 74 29 2e 0a 09 43 68 61 6e 67 65 efault)...Change
2090: 64 20 74 6f 20 75 73 65 20 70 75 62 6c 69 63 20 d to use public
20a0: 54 63 6c 20 68 65 61 64 65 72 73 20 28 70 72 69 Tcl headers (pri
20b0: 76 61 74 65 20 6e 6f 74 20 6e 65 65 64 65 64 29 vate not needed)
20c0: 2e 0a 0a 32 30 30 31 2d 30 36 2d 32 31 20 20 4a ...2001-06-21 J
20d0: 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 eff Hobbs <jeff
20e0: 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f h@ActiveState.co
20f0: 6d 3e 0a 0a 09 54 4c 53 20 31 2e 34 2e 31 20 52 m>...TLS 1.4.1 R
2100: 45 4c 45 41 53 45 0a 0a 09 2a 20 63 6f 6e 66 69 ELEASE...* confi
2110: 67 75 72 65 3a 20 61 64 64 65 64 20 63 6f 6e 66 gure: added conf
2120: 69 67 75 72 65 20 74 6f 20 43 56 53 0a 09 2a 20 igure to CVS..*
2130: 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 6d 6f configure.in: mo
2140: 76 65 64 20 74 6f 20 70 61 74 63 68 6c 65 76 65 ved to patchleve
2150: 6c 20 31 2e 34 2e 31 0a 0a 09 2a 20 4d 61 6b 65 l 1.4.1...* Make
2160: 66 69 6c 65 2e 69 6e 3a 20 63 6f 72 72 65 63 74 file.in: correct
2170: 65 64 20 27 64 69 73 74 27 20 74 61 72 67 65 74 ed 'dist' target
2180: 0a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 ...* tests/certs
2190: 2f 66 69 6c 65 2e 73 72 6c 3a 0a 09 2a 20 74 65 /file.srl:..* te
21a0: 73 74 73 2f 63 65 72 74 73 2f 63 61 2e 70 65 6d sts/certs/ca.pem
21b0: 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 :..* tests/certs
21c0: 2f 63 6c 69 65 6e 74 2e 6b 65 79 3a 0a 09 2a 20 /client.key:..*
21d0: 74 65 73 74 73 2f 63 65 72 74 73 2f 63 6c 69 65 tests/certs/clie
21e0: 6e 74 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 74 73 nt.pem:..* tests
21f0: 2f 63 65 72 74 73 2f 63 6c 69 65 6e 74 2e 72 65 /certs/client.re
2200: 71 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 q:..* tests/cert
2210: 73 2f 70 72 69 76 6b 65 79 2e 70 65 6d 3a 0a 09 s/privkey.pem:..
2220: 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 73 65 * tests/certs/se
2230: 72 76 65 72 2e 6b 65 79 3a 0a 09 2a 20 74 65 73 rver.key:..* tes
2240: 74 73 2f 63 65 72 74 73 2f 73 65 72 76 65 72 2e ts/certs/server.
2250: 70 65 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 pem:..* tests/ce
2260: 72 74 73 2f 73 65 72 76 65 72 2e 72 65 71 3a 0a rts/server.req:.
2270: 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63 .* tests/certs/c
2280: 61 63 65 72 74 2e 70 65 6d 3a 20 72 65 70 6c 61 acert.pem: repla
2290: 63 65 64 20 62 79 20 6e 65 77 20 63 61 2e 70 65 ced by new ca.pe
22a0: 6d 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 m..* tests/certs
22b0: 2f 73 6b 65 79 2e 70 65 6d 3a 20 72 65 70 6c 61 /skey.pem: repla
22c0: 63 65 64 20 62 79 20 6e 65 77 20 73 65 72 76 65 ced by new serve
22d0: 72 2e 6b 65 79 0a 09 2a 20 74 65 73 74 73 2f 63 r.key..* tests/c
22e0: 65 72 74 73 2f 63 6b 65 79 2e 70 65 6d 3a 20 72 erts/ckey.pem: r
22f0: 65 70 6c 61 63 65 64 20 62 79 20 6e 65 77 20 63 eplaced by new c
2300: 6c 69 65 6e 74 2e 6b 65 79 0a 09 2a 20 74 65 73 lient.key..* tes
2310: 74 73 2f 63 65 72 74 73 2f 52 45 41 44 4d 45 2e ts/certs/README.
2320: 74 78 74 3a 20 6e 65 77 20 73 65 74 20 6f 66 20 txt: new set of
2330: 74 65 73 74 20 63 65 72 74 69 66 69 63 61 74 65 test certificate
2340: 73 20 77 69 74 68 20 73 6f 6d 65 0a 09 52 45 41 s with some..REA
2350: 44 4d 45 20 69 6e 66 6f 20 6f 6e 20 74 68 65 69 DME info on thei
2360: 72 20 67 65 6e 65 72 61 74 69 6f 6e 2e 0a 0a 09 r generation....
2370: 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72 73 2e * tests/ciphers.
2380: 74 65 73 74 3a 20 75 70 64 61 74 65 64 20 63 69 test: updated ci
2390: 70 68 65 72 73 20 65 78 70 65 63 74 65 64 20 77 phers expected w
23a0: 69 74 68 20 64 65 66 61 75 6c 74 0a 09 6f 70 65 ith default..ope
23b0: 6e 73 73 6c 20 62 75 69 6c 64 2e 0a 0a 09 2a 20 nssl build....*
23c0: 74 65 73 74 73 2f 74 63 6c 49 4f 2e 74 65 73 74 tests/tclIO.test
23d0: 3a 20 75 70 64 61 74 65 64 20 74 6f 20 75 73 65 : updated to use
23e0: 20 6e 65 77 20 6e 61 6d 65 73 20 66 6f 72 20 63 new names for c
23f0: 65 72 74 73 2f 6b 65 79 73 2e 0a 0a 32 30 30 31 erts/keys...2001
2400: 2d 30 33 2d 31 34 20 20 4a 65 66 66 20 48 6f 62 -03-14 Jeff Hob
2410: 62 73 20 20 3c 6a 65 66 66 68 40 67 69 6d 6c 65 bs <jeffh@gimle
2420: 74 2e 61 63 74 69 76 65 73 74 61 74 65 2e 63 6f t.activestate.co
2430: 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c m>...* tls.c (Tl
2440: 73 5f 49 6e 69 74 29 3a 20 61 64 64 20 64 6f 2f s_Init): add do/
2450: 77 68 69 6c 65 20 66 6f 72 20 72 61 6e 64 6f 6d while for random
2460: 20 6e 75 6d 62 65 72 20 69 6e 69 74 69 61 6c 69 number initiali
2470: 7a 61 74 69 6f 6e 0a 09 74 6f 20 77 6f 72 6b 20 zation..to work
2480: 61 72 6f 75 6e 64 20 73 6f 6d 65 20 4f 53 65 73 around some OSes
2490: 20 71 75 69 72 6b 73 2e 20 20 28 52 61 6c 70 68 quirks. (Ralph
24a0: 2e 42 69 6c 6c 65 73 40 74 65 6c 74 65 63 68 2e .Billes@teltech.
24b0: 63 6f 6d 2e 61 75 29 0a 0a 32 30 30 30 2d 30 39 com.au)..2000-09
24c0: 2d 30 37 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -07 Jeff Hobbs
24d0: 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 <hobbs@scriptic
24e0: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f s.com>...* tlsIO
24f0: 2e 63 20 28 54 6c 73 5f 43 68 61 6e 6e 65 6c 54 .c (Tls_ChannelT
2500: 79 70 65 29 3a 20 73 65 74 20 74 79 70 65 4e 61 ype): set typeNa
2510: 6d 65 20 66 69 65 6c 64 20 6f 66 20 63 68 61 6e me field of chan
2520: 6e 65 6c 20 74 79 70 65 20 74 6f 0a 09 22 74 6c nel type to.."tl
2530: 73 22 20 28 74 68 69 73 20 67 6f 74 20 6c 6f 73 s" (this got los
2540: 74 20 69 6e 20 6d 6f 76 65 20 74 6f 20 64 79 6e t in move to dyn
2550: 61 6d 69 63 20 76 65 72 73 69 6f 6e 20 63 6f 6d amic version com
2560: 70 61 74 61 62 69 6c 69 74 79 0a 09 63 68 65 63 patability..chec
2570: 6b 69 6e 67 29 2e 0a 0a 32 30 30 30 2d 30 38 2d king)...2000-08-
2580: 32 33 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 23 Jeff Hobbs
2590: 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 <hobbs@scriptics
25a0: 2e 63 6f 6d 3e 0a 0a 09 54 4c 53 20 31 2e 34 20 .com>...TLS 1.4
25b0: 52 45 4c 45 41 53 45 44 0a 0a 09 2a 20 4d 61 6b RELEASED...* Mak
25c0: 65 66 69 6c 65 2e 69 6e 20 28 64 69 73 74 29 3a efile.in (dist):
25d0: 20 63 72 65 61 74 65 20 64 69 73 74 20 74 61 72 create dist tar
25e0: 67 65 74 20 66 6f 72 20 61 72 63 68 69 76 65 20 get for archive
25f0: 64 69 73 74 72 69 62 75 74 69 6f 6e 73 0a 0a 09 distributions...
2600: 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 * tests/tlsIO.te
2610: 73 74 20 28 74 6c 73 49 4f 2d 38 2e 31 29 3a 20 st (tlsIO-8.1):
2620: 61 64 64 65 64 20 61 20 64 65 6c 61 79 20 6f 6e added a delay on
2630: 20 74 68 65 20 61 63 63 65 70 74 20 63 6c 6f 73 the accept clos
2640: 65 0a 09 74 6f 20 6d 61 6b 65 20 74 68 65 20 74 e..to make the t
2650: 65 73 74 20 77 6f 72 6b 20 77 69 74 68 20 4f 70 est work with Op
2660: 65 6e 53 53 4c 20 6f 6e 20 57 69 6e 64 6f 77 73 enSSL on Windows
2670: 20 28 64 6f 65 73 6e 27 74 20 61 66 66 65 63 74 (doesn't affect
2680: 0a 09 6f 74 68 65 72 20 62 75 69 6c 64 73 29 2e ..other builds).
2690: 0a 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 20 75 70 ...* tls.htm: up
26a0: 64 61 74 65 64 20 77 69 74 68 20 6e 6f 74 65 73 dated with notes
26b0: 20 66 6f 72 20 31 2e 34 2e 0a 0a 32 30 30 30 2d for 1.4...2000-
26c0: 30 38 2d 32 31 20 20 4a 65 66 66 20 48 6f 62 62 08-21 Jeff Hobb
26d0: 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 s <hobbs@script
26e0: 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73 ics.com>...* tes
26f0: 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 72 ts/tlsIO.test: r
2700: 65 71 75 69 72 65 20 61 74 20 6c 65 61 73 74 20 equire at least
2710: 74 6c 73 31 2e 34 20 69 6e 20 74 65 73 74 20 73 tls1.4 in test s
2720: 75 69 74 65 2e 0a 0a 32 30 30 30 2d 30 38 2d 31 uite...2000-08-1
2730: 38 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 8 Jeff Hobbs <
2740: 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e hobbs@scriptics.
2750: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 com>...* tls.c (
2760: 54 6c 73 5f 49 6e 69 74 29 3a 20 61 64 64 65 64 Tls_Init): added
2770: 20 63 61 6c 6c 20 74 6f 20 52 41 4e 44 5f 73 65 call to RAND_se
2780: 65 64 20 74 6f 20 73 65 65 64 20 74 68 65 20 53 ed to seed the S
2790: 53 4c 20 72 61 6e 64 6f 6d 0a 09 6e 75 6d 62 65 SL random..numbe
27a0: 72 20 67 65 6e 65 72 61 74 6f 72 2e 20 20 57 69 r generator. Wi
27b0: 74 68 6f 75 74 20 74 68 69 73 2c 20 4f 70 65 6e thout this, Open
27c0: 53 53 4c 20 30 2e 39 2e 35 20 63 68 6f 6b 65 73 SSL 0.9.5 chokes
27d0: 2c 20 61 6e 64 20 69 6e 20 61 6e 79 0a 09 63 61 , and in any..ca
27e0: 73 65 20 69 74 20 69 73 20 61 20 62 69 67 20 73 se it is a big s
27f0: 65 63 75 72 69 74 79 20 68 6f 6c 65 20 74 6f 20 ecurity hole to
2800: 64 6f 20 77 69 74 68 6f 75 74 20 69 74 2e 0a 0a do without it...
2810: 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 20 .* configure.in
2820: 28 4f 50 45 4e 53 53 4c 29 3a 20 61 64 64 65 64 (OPENSSL): added
2830: 20 4e 4f 5f 49 44 45 41 20 61 6e 64 20 4e 4f 5f NO_IDEA and NO_
2840: 52 43 35 20 64 65 66 69 6e 65 73 20 62 79 0a 09 RC5 defines by..
2850: 64 65 66 61 75 6c 74 20 77 68 65 6e 20 63 6f 6d default when com
2860: 70 69 6c 69 6e 67 20 77 69 74 68 20 4f 70 65 6e piling with Open
2870: 53 53 4c 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e SSL....* tlsInt.
2880: 68 3a 20 61 64 64 65 64 20 65 72 72 2e 68 20 69 h: added err.h i
2890: 6e 63 6c 75 64 65 0a 0a 09 2a 20 74 6c 73 42 49 nclude...* tlsBI
28a0: 4f 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a O.c:..* tlsIO.c:
28b0: 20 63 6f 72 72 65 63 74 65 64 20 70 65 64 61 6e corrected pedan
28c0: 74 69 63 20 63 61 73 74 20 65 72 72 6f 72 73 2e tic cast errors.
28d0: 0a 0a 32 30 30 30 2d 30 38 2d 31 36 20 20 4a 65 ..2000-08-16 Je
28e0: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 ff Hobbs <hobbs
28f0: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a @scriptics.com>.
2900: 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72 ..* tests/cipher
2910: 73 2e 74 65 73 74 3a 20 69 6d 70 72 6f 76 65 64 s.test: improved
2920: 20 61 62 69 6c 69 74 79 20 74 6f 20 63 68 61 6e ability to chan
2930: 67 65 20 63 6f 6e 73 74 72 61 69 6e 74 0a 09 73 ge constraint..s
2940: 65 74 74 69 6e 67 20 66 6f 72 20 77 68 65 74 68 etting for wheth
2950: 65 72 20 75 73 65 72 20 63 6f 6d 70 69 6c 65 64 er user compiled
2960: 20 61 67 61 69 6e 73 74 20 52 53 41 20 6f 72 20 against RSA or
2970: 4f 70 65 6e 53 53 4c 20 6c 69 62 73 2e 0a 0a 09 OpenSSL libs....
2980: 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 * tls.c (Tls_Ini
2990: 74 29 3a 20 63 6f 72 72 65 63 74 65 64 20 69 6e t): corrected in
29a0: 74 65 72 70 72 65 74 61 74 69 6f 6e 20 6f 66 20 terpretation of
29b0: 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 0a 09 version number..
29c0: 28 70 61 74 63 68 6c 65 76 65 6c 20 61 6e 64 20 (patchlevel and
29d0: 72 65 6c 65 61 73 65 2f 73 65 72 69 61 6c 20 77 release/serial w
29e0: 65 72 65 20 73 77 61 70 70 65 64 29 2e 0a 0a 32 ere swapped)...2
29f0: 30 30 30 2d 30 38 2d 31 35 20 20 4a 65 66 66 20 000-08-15 Jeff
2a00: 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 Hobbs <hobbs@sc
2a10: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a riptics.com>...*
2a20: 20 52 45 41 44 4d 45 2e 74 78 74 3a 20 61 64 64 README.txt: add
2a30: 65 64 20 6e 6f 74 65 73 20 61 62 6f 75 74 20 6e ed notes about n
2a40: 65 65 64 20 74 6f 20 75 73 65 20 38 2e 32 2e 30 eed to use 8.2.0
2a50: 2b 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a +....* tlsInt.h:
2a60: 0a 09 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 74 6c ..* tls.c:..* tl
2a70: 73 49 4f 2e 63 3a 20 63 6f 72 72 65 63 74 65 64 sIO.c: corrected
2a80: 20 73 74 72 75 63 74 75 72 65 20 69 6e 69 74 69 structure initi
2a90: 61 6c 69 7a 61 74 69 6f 6e 20 74 6f 20 77 6f 72 alization to wor
2aa0: 6b 20 77 68 65 6e 0a 09 63 6f 6d 70 69 6c 69 6e k when..compilin
2ab0: 67 20 77 69 74 68 20 38 2e 32 2e 20 20 4e 6f 77 g with 8.2. Now
2ac0: 20 63 6f 6d 70 69 6c 65 73 20 77 69 74 68 20 38 compiles with 8
2ad0: 2e 32 2b 20 61 6e 64 20 74 65 73 74 65 64 20 74 .2+ and tested t
2ae0: 6f 20 77 6f 72 6b 0a 09 77 69 74 68 20 38 2e 32 o work..with 8.2
2af0: 2b 20 61 6e 64 20 64 79 6e 61 6d 69 63 61 6c 6c + and dynamicall
2b00: 79 20 61 64 6a 75 73 74 20 74 6f 20 74 68 65 20 y adjust to the
2b10: 76 65 72 73 69 6f 6e 20 6f 66 20 54 63 6c 20 69 version of Tcl i
2b20: 74 20 77 61 73 0a 09 6c 6f 61 64 65 64 20 69 6e t was..loaded in
2b30: 74 6f 2e 20 20 54 4c 53 20 77 69 6c 6c 20 66 61 to. TLS will fa
2b40: 69 6c 20 74 68 65 20 74 65 73 74 20 73 75 69 74 il the test suit
2b50: 65 20 77 69 74 68 20 54 63 6c 20 38 2e 32 2d 38 e with Tcl 8.2-8
2b60: 2e 33 2e 31 2e 0a 0a 09 2a 20 74 65 73 74 73 2f .3.1....* tests/
2b70: 61 6c 6c 2e 74 63 6c 3a 20 61 64 64 65 64 20 63 all.tcl: added c
2b80: 61 74 63 68 20 61 72 6f 75 6e 64 20 3a 3a 74 63 atch around ::tc
2b90: 6c 74 65 73 74 3a 3a 6e 6f 72 6d 61 6c 69 7a 65 ltest::normalize
2ba0: 50 61 74 68 0a 09 62 65 63 61 75 73 65 20 69 74 Path..because it
2bb0: 20 64 6f 65 73 6e 27 74 20 65 78 69 73 74 20 69 doesn't exist i
2bc0: 6e 20 70 72 65 2d 38 2e 33 20 74 63 6c 74 65 73 n pre-8.3 tcltes
2bd0: 74 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 73 69 6d t....* tests/sim
2be0: 70 6c 65 43 6c 69 65 6e 74 2e 74 63 6c 3a 20 0a pleClient.tcl: .
2bf0: 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c 65 53 .* tests/simpleS
2c00: 65 72 76 65 72 2e 74 63 6c 3a 20 61 64 64 65 64 erver.tcl: added
2c10: 20 73 69 6d 70 6c 65 20 63 6c 69 65 6e 74 2f 73 simple client/s
2c20: 65 72 76 65 72 20 74 65 73 74 20 73 63 72 69 70 erver test scrip
2c30: 74 73 0a 09 74 68 61 74 20 75 73 65 20 74 65 73 ts..that use tes
2c40: 74 20 63 65 72 74 73 20 61 6e 64 20 63 61 6e 20 t certs and can
2c50: 64 6f 20 73 69 6d 70 6c 65 20 73 74 72 65 73 73 do simple stress
2c60: 20 74 65 73 74 73 2e 0a 0a 32 30 30 30 2d 30 38 tests...2000-08
2c70: 2d 31 34 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -14 Jeff Hobbs
2c80: 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 <hobbs@scriptic
2c90: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 6e s.com>...* tlsIn
2ca0: 74 2e 68 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a t.h:..* tlsIO.c:
2cb0: 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a 09 2a ..* tlsBIO.c:..*
2cc0: 20 74 6c 73 2e 63 3a 20 63 68 61 6e 67 65 64 20 tls.c: changed
2cd0: 61 72 6f 75 6e 64 20 74 6f 20 6f 6e 6c 79 20 77 around to only w
2ce0: 6f 72 6b 69 6e 67 20 77 69 74 68 20 38 2e 32 2e orking with 8.2.
2cf0: 30 2b 20 28 38 2e 33 2e 32 2b 0a 09 70 72 65 66 0+ (8.3.2+..pref
2d00: 65 72 72 65 64 29 2c 20 77 69 74 68 20 72 75 6e erred), with run
2d10: 74 69 6d 65 20 63 68 65 63 6b 73 20 66 6f 72 20 time checks for
2d20: 70 72 65 2d 20 61 6e 64 20 70 6f 73 74 2d 69 6f pre- and post-io
2d30: 2d 72 65 77 72 69 74 65 2e 0a 0a 09 2a 20 74 6c -rewrite....* tl
2d40: 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 s.c (Tls_Init):
2d50: 63 68 61 6e 67 65 64 20 69 74 20 74 6f 20 72 65 changed it to re
2d60: 71 75 69 72 65 20 38 2e 33 2e 32 20 77 68 65 6e quire 8.3.2 when
2d70: 20 54 63 6c 5f 49 6e 69 74 53 74 75 62 73 0a 09 Tcl_InitStubs..
2d80: 77 61 73 20 63 61 6c 6c 65 64 20 62 65 63 61 75 was called becau
2d90: 73 65 20 77 65 20 64 6f 6e 27 74 20 77 61 6e 74 se we don't want
2da0: 20 70 65 6f 70 6c 65 20 75 73 69 6e 67 20 54 4c people using TL
2db0: 53 20 77 69 74 68 20 74 68 65 0a 09 6f 72 69 67 S with the..orig
2dc0: 69 6e 61 6c 20 73 74 61 63 6b 65 64 20 63 68 61 inal stacked cha
2dd0: 6e 6e 65 6c 20 69 6d 70 6c 65 6d 65 6e 74 61 74 nnel implementat
2de0: 69 6f 6e 2e 0a 0a 32 30 30 30 2d 30 37 2d 32 36 ion...2000-07-26
2df0: 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 Jeff Hobbs <h
2e00: 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 obbs@scriptics.c
2e10: 6f 6d 3e 0a 0a 09 2a 20 6d 65 72 67 65 64 20 61 om>...* merged a
2e20: 6c 6c 20 63 68 61 6e 67 65 73 20 66 72 6f 6d 20 ll changes from
2e30: 74 6c 73 2d 31 2d 33 2d 69 6f 2d 72 65 77 72 69 tls-1-3-io-rewri
2e40: 74 65 20 62 61 63 6b 20 69 6e 74 6f 20 6d 61 69 te back into mai
2e50: 6e 20 62 72 61 6e 63 68 0a 0a 09 2a 20 74 65 73 n branch...* tes
2e60: 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 75 ts/tlsIO.test: u
2e70: 70 64 61 74 65 64 20 63 6f 6d 6d 65 6e 74 73 2c pdated comments,
2e80: 20 66 69 78 65 64 20 61 20 70 63 43 72 61 73 68 fixed a pcCrash
2e90: 20 63 61 73 65 20 74 68 61 74 0a 09 77 61 73 20 case that..was
2ea0: 64 75 65 20 74 6f 20 64 65 62 75 67 20 61 73 73 due to debug ass
2eb0: 65 72 74 69 6f 6e 20 69 6e 20 57 69 6e 64 6f 77 ertion in Window
2ec0: 73 20 53 53 4c 2e 0a 0a 09 2a 20 74 6c 73 2e 63 s SSL....* tls.c
2ed0: 20 28 49 6d 70 6f 72 74 4f 62 6a 43 6d 64 29 3a (ImportObjCmd):
2ee0: 20 72 65 6d 6f 76 65 64 20 75 6e 6e 65 63 65 73 removed unneces
2ef0: 73 61 72 79 20 75 73 65 20 6f 66 20 27 62 69 6f sary use of 'bio
2f00: 27 20 61 72 67 2e 0a 09 28 54 6c 73 5f 49 6e 69 ' arg...(Tls_Ini
2f10: 74 29 3a 20 63 68 65 63 6b 20 72 65 74 75 72 6e t): check return
2f20: 20 76 61 6c 75 65 20 6f 66 20 53 53 4c 5f 6c 69 value of SSL_li
2f30: 62 72 61 72 79 5f 69 6e 69 74 2e 20 20 41 6c 73 brary_init. Als
2f40: 6f 20 6c 6f 74 73 20 6f 66 0a 09 77 68 69 74 65 o lots of..white
2f50: 73 70 61 63 65 20 63 6c 65 61 6e 75 70 20 28 6d space cleanup (m
2f60: 6f 72 65 20 6c 69 6b 65 20 54 63 6c 20 45 6e 67 ore like Tcl Eng
2f70: 20 73 74 79 6c 65 20 67 75 69 64 65 29 2c 20 62 style guide), b
2f80: 75 74 20 6e 6f 74 20 61 6c 6c 0a 09 63 6f 64 65 ut not all..code
2f90: 20 77 61 73 20 63 6c 65 61 6e 65 64 20 75 70 2e was cleaned up.
2fa0: 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 20 6d ...* tlsBIO.c: m
2fb0: 69 6e 6f 72 20 77 68 69 74 65 73 70 61 63 65 20 inor whitespace
2fc0: 63 6c 65 61 6e 75 70 0a 0a 09 2a 20 74 6c 73 49 cleanup...* tlsI
2fd0: 4f 2e 63 3a 20 6d 69 6e 6f 72 20 77 68 69 74 65 O.c: minor white
2fe0: 73 70 61 63 65 20 63 6c 65 61 6e 75 70 2e 0a 09 space cleanup...
2ff0: 28 54 6c 73 49 6e 70 75 74 50 72 6f 63 2c 20 54 (TlsInputProc, T
3000: 6c 73 4f 75 74 70 75 74 50 72 6f 63 29 3a 20 41 lsOutputProc): A
3010: 64 64 65 64 20 45 52 52 5f 63 6c 65 61 72 5f 65 dded ERR_clear_e
3020: 72 72 6f 72 20 62 65 66 6f 72 65 20 63 61 6c 6c rror before call
3030: 73 0a 09 74 6f 20 42 49 4f 5f 72 65 61 64 20 6f s..to BIO_read o
3040: 72 20 42 49 4f 5f 77 72 69 74 65 2c 20 62 65 63 r BIO_write, bec
3050: 61 75 73 65 20 77 65 20 63 6f 75 6c 64 20 6f 74 ause we could ot
3060: 68 65 72 77 69 73 65 20 65 6e 64 20 75 70 0a 09 herwise end up..
3070: 70 75 6c 6c 69 6e 67 20 61 6e 20 65 72 72 6f 72 pulling an error
3080: 20 6f 66 66 20 74 68 65 20 73 74 61 63 6b 20 74 off the stack t
3090: 68 61 74 20 64 69 64 6e 27 74 20 62 65 6c 6f 6e hat didn't belon
30a0: 67 20 74 6f 20 75 73 2e 20 20 41 6c 73 6f 0a 09 g to us. Also..
30b0: 63 6c 65 61 6e 75 70 20 75 70 20 65 78 63 65 73 cleanup up exces
30c0: 73 69 76 65 20 75 73 65 20 6f 66 20 67 6f 74 6f sive use of goto
30d0: 73 2e 0a 0a 32 30 30 30 2d 30 37 2d 32 30 20 20 s...2000-07-20
30e0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 Jeff Hobbs <hob
30f0: 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d bs@scriptics.com
3100: 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 >...* tests/tlsI
3110: 4f 2e 74 65 73 74 3a 20 63 6f 72 72 65 63 74 65 O.test: correcte
3120: 64 20 76 61 72 69 6f 75 73 20 74 65 73 74 73 20 d various tests
3130: 74 6f 20 62 65 20 63 6f 72 72 65 63 74 20 66 6f to be correct fo
3140: 72 20 54 4c 53 0a 09 73 74 61 63 6b 65 64 20 63 r TLS..stacked c
3150: 68 61 6e 6e 65 6c 73 20 28 61 73 20 6f 70 70 6f hannels (as oppo
3160: 73 65 64 20 74 6f 20 74 68 65 20 73 74 61 6e 64 sed to the stand
3170: 61 72 64 20 73 6f 63 6b 65 74 73 20 74 68 65 20 ard sockets the
3180: 74 65 73 74 0a 09 73 75 69 74 65 20 77 61 73 20 test..suite was
3190: 61 64 6f 70 74 65 64 20 66 72 6f 6d 29 2e 20 20 adopted from).
31a0: 4b 65 79 20 64 69 66 66 65 72 65 6e 63 65 73 20 Key differences
31b0: 61 72 65 20 74 68 61 74 20 54 4c 53 20 63 61 6e are that TLS can
31c0: 6e 6f 74 0a 09 6f 70 65 72 61 74 65 20 69 6e 20 not..operate in
31d0: 6f 6e 65 20 70 72 6f 63 65 73 73 20 77 69 74 68 one process with
31e0: 6f 75 74 20 61 6c 6c 20 63 68 61 6e 6e 65 6c 73 out all channels
31f0: 20 62 65 69 6e 67 20 6e 6f 6e 2d 62 6c 6f 63 6b being non-block
3200: 69 6e 67 2c 20 6f 72 0a 09 74 68 65 20 68 61 6e ing, or..the han
3210: 64 73 68 61 6b 65 20 77 69 6c 6c 20 62 6c 6f 63 dshake will bloc
3220: 6b 2c 20 61 6e 64 20 68 61 6e 64 73 68 61 6b 69 k, and handshaki
3230: 6e 67 20 6d 75 73 74 20 62 65 20 66 6f 72 63 65 ng must be force
3240: 64 20 69 6e 20 73 6f 6d 65 0a 09 63 61 73 65 73 d in some..cases
3250: 2e 20 20 41 6c 73 6f 2c 20 68 61 6e 64 73 68 61 . Also, handsha
3260: 6b 65 73 20 64 6f 6e 27 74 20 73 65 65 6d 20 74 kes don't seem t
3270: 6f 20 63 6f 6d 70 6c 65 74 65 20 75 6e 6c 65 73 o complete unles
3280: 73 20 74 68 65 20 63 6c 69 65 6e 74 0a 09 68 61 s the client..ha
3290: 73 20 70 6c 61 63 65 64 20 61 74 20 6c 65 61 73 s placed at leas
32a0: 74 20 6f 6e 65 20 62 79 74 65 20 66 6f 72 20 74 t one byte for t
32b0: 68 65 20 73 65 72 76 65 72 20 74 6f 20 72 65 61 he server to rea
32c0: 64 20 69 6e 20 74 68 65 20 63 68 61 6e 6e 65 6c d in the channel
32d0: 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 72 65 6d 6f ....* tests/remo
32e0: 74 65 2e 74 63 6c 3a 20 63 6f 72 72 65 63 74 65 te.tcl: correcte
32f0: 64 20 74 68 65 20 66 69 6e 64 69 6e 67 20 6f 66 d the finding of
3300: 20 74 65 73 74 73 20 63 65 72 74 69 66 69 63 61 tests certifica
3310: 74 65 73 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 20 tes...* tlsIO.c
3320: 28 54 6c 73 43 6c 6f 73 65 50 72 6f 63 29 3a 20 (TlsCloseProc):
3330: 72 65 6d 6f 76 65 64 20 64 65 6c 65 74 69 6e 67 removed deleting
3340: 20 6f 66 20 74 69 6d 65 72 20 68 61 6e 64 6c 65 of timer handle
3350: 72 20 61 73 0a 09 74 68 61 74 20 69 73 20 68 61 r as..that is ha
3360: 6e 64 6c 65 64 20 62 79 20 54 6c 73 5f 43 6c 65 ndled by Tls_Cle
3370: 61 6e 2e 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 an....* tls.tcl
3380: 28 74 6c 73 3a 3a 5f 61 63 63 65 70 74 29 3a 20 (tls::_accept):
3390: 63 6f 72 72 65 63 74 65 64 20 74 68 65 20 69 6e corrected the in
33a0: 74 65 72 6e 61 6c 20 5f 61 63 63 65 70 74 20 74 ternal _accept t
33b0: 6f 0a 09 74 72 69 63 6b 6c 65 20 63 61 6c 6c 62 o..trickle callb
33c0: 61 63 6b 20 65 72 72 6f 72 73 20 74 6f 20 74 68 ack errors to th
33d0: 65 20 75 73 65 72 2e 0a 0a 09 2a 20 4d 61 6b 65 e user....* Make
33e0: 66 69 6c 65 2e 69 6e 3a 20 6d 61 64 65 20 74 68 file.in: made th
33f0: 65 20 69 6e 73 74 61 6c 6c 2d 62 69 6e 61 72 69 e install-binari
3400: 65 73 20 74 61 72 67 65 74 20 72 65 67 65 6e 65 es target regene
3410: 72 61 74 65 20 74 68 65 0a 09 70 6b 67 49 6e 64 rate the..pkgInd
3420: 65 78 2e 74 63 6c 20 63 6f 72 72 65 63 74 6c 79 ex.tcl correctly
3430: 2e 20 20 54 68 65 20 74 65 73 74 20 74 61 72 67 . The test targ
3440: 65 74 20 70 72 6f 62 61 62 6c 79 20 73 68 6f 75 et probably shou
3450: 6c 64 6e 27 74 20 73 63 72 65 77 0a 09 69 74 20 ldn't screw..it
3460: 75 70 2c 20 62 75 74 20 74 68 69 73 20 69 73 20 up, but this is
3470: 74 6f 20 62 65 20 6f 6e 20 74 68 65 20 73 61 66 to be on the saf
3480: 65 20 73 69 64 65 2e 0a 0a 32 30 30 30 2d 30 37 e side...2000-07
3490: 2d 31 37 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -17 Jeff Hobbs
34a0: 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 <hobbs@scriptic
34b0: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 70 6b 67 49 6e s.com>...* pkgIn
34c0: 64 65 78 2e 74 63 6c 2e 69 6e 3a 0a 09 2a 20 63 dex.tcl.in:..* c
34d0: 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 75 70 64 onfigure.in: upd
34e0: 61 74 65 64 20 76 65 72 73 69 6f 6e 20 74 6f 20 ated version to
34f0: 31 2e 34 0a 0a 32 30 30 30 2d 30 37 2d 31 33 20 1.4..2000-07-13
3500: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f Jeff Hobbs <ho
3510: 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f bbs@scriptics.co
3520: 6d 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 m>...* tests/tls
3530: 49 4f 2e 74 65 73 74 3a 20 65 6e 61 62 6c 65 64 IO.test: enabled
3540: 20 74 65 73 74 73 20 32 2e 31 30 2c 20 37 2e 5b tests 2.10, 7.[
3550: 31 32 34 35 5d 20 28 74 68 65 72 65 20 69 73 20 1245] (there is
3560: 6e 6f 20 33 29 2c 0a 09 77 68 69 63 68 20 6e 6f no 3),..which no
3570: 77 20 70 61 73 73 2e 20 20 41 64 64 65 64 20 73 w pass. Added s
3580: 6f 6d 65 20 63 6f 6d 6d 65 6e 74 73 20 74 6f 20 ome comments to
3590: 6f 74 68 65 72 20 66 61 69 6c 69 6e 67 20 74 65 other failing te
35a0: 73 74 73 2e 0a 0a 32 30 30 30 2d 30 37 2d 31 31 sts...2000-07-11
35b0: 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 Jeff Hobbs <h
35c0: 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 obbs@scriptics.c
35d0: 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a om>...* tlsIO.c:
35e0: 20 63 68 61 6e 67 65 64 20 61 6c 6c 20 74 68 65 changed all the
35f0: 20 63 68 61 6e 6e 65 6c 20 70 72 6f 63 73 20 74 channel procs t
3600: 6f 20 73 74 61 72 74 20 77 69 74 68 20 54 6c 73 o start with Tls
3610: 2a 20 66 6f 72 0a 09 62 65 74 74 65 72 20 70 61 * for..better pa
3620: 72 69 74 79 20 77 68 65 6e 20 63 6f 6d 70 61 72 rity when compar
3630: 69 6e 67 20 77 69 74 68 20 54 72 61 6e 73 66 6f ing with Transfo
3640: 72 6d 20 63 68 61 6e 6e 65 6c 20 70 72 6f 63 73 rm channel procs
3650: 2e 0a 09 52 65 77 72 6f 74 65 20 54 6c 73 57 61 ...Rewrote TlsWa
3660: 74 63 68 50 72 6f 63 2c 20 61 64 64 65 64 20 54 tchProc, added T
3670: 6c 73 4e 6f 74 69 66 79 50 72 6f 63 20 61 63 63 lsNotifyProc acc
3680: 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 6e 65 ording to the ne
3690: 77 0a 09 63 68 61 6e 6e 65 6c 20 64 65 73 69 67 w..channel desig
36a0: 6e 2c 20 77 68 69 63 68 20 61 6c 73 6f 20 6c 65 n, which also le
36b0: 61 76 65 73 20 54 6c 73 43 68 61 6e 6e 65 6c 48 aves TlsChannelH
36c0: 61 6e 64 6c 65 72 20 75 6e 75 73 65 64 2e 0a 0a andler unused...
36d0: 09 2a 20 74 6c 73 42 49 4f 2e 63 20 28 42 69 6f .* tlsBIO.c (Bio
36e0: 43 74 72 6c 29 3a 20 63 68 61 6e 67 65 64 20 42 Ctrl): changed B
36f0: 49 4f 5f 43 54 52 4c 5f 46 4c 55 53 48 20 63 61 IO_CTRL_FLUSH ca
3700: 73 65 20 74 6f 20 75 73 65 0a 09 54 63 6c 5f 57 se to use..Tcl_W
3710: 72 69 74 65 52 61 77 20 69 6e 73 74 65 61 64 20 riteRaw instead
3720: 6f 66 20 54 63 6c 5f 46 6c 75 73 68 20 28 74 6f of Tcl_Flush (to
3730: 20 6f 70 65 72 61 74 65 20 6f 6e 20 63 6f 72 72 operate on corr
3740: 65 63 74 20 63 68 61 6e 6e 65 6c 0a 09 69 6e 20 ect channel..in
3750: 74 68 65 20 73 74 61 63 6b 20 69 6e 73 74 65 61 the stack instea
3760: 64 20 6f 66 20 73 74 61 72 74 69 6e 67 20 61 74 d of starting at
3770: 20 74 68 65 20 74 6f 70 20 61 67 61 69 6e 29 2e the top again).
3780: 20 20 57 6f 75 6c 64 0a 09 6f 74 68 65 72 77 69 Would..otherwi
3790: 73 65 20 63 61 75 73 65 20 61 20 72 65 63 75 72 se cause a recur
37a0: 73 69 76 65 20 73 74 61 63 6b 20 62 6f 6d 62 20 sive stack bomb
37b0: 77 68 65 6e 20 69 6d 70 6c 69 63 69 74 20 68 61 when implicit ha
37c0: 6e 64 73 68 61 6b 69 6e 67 0a 09 74 6f 6f 6b 20 ndshaking..took
37d0: 65 66 66 65 63 74 2e 0a 0a 09 2a 20 74 65 73 74 effect....* test
37e0: 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 72 65 s/tlsIO.test: re
37f0: 6d 6f 76 65 64 20 63 68 61 6e 67 65 73 20 6d 61 moved changes ma
3800: 64 65 20 74 6f 20 74 65 73 74 20 73 75 69 74 65 de to test suite
3810: 20 28 61 6c 6c 20 74 65 73 74 73 0a 09 74 68 61 (all tests..tha
3820: 74 20 72 61 6e 20 62 65 66 6f 72 65 20 6e 6f 77 t ran before now
3830: 20 70 61 73 73 20 63 6f 72 72 65 63 74 6c 79 29 pass correctly)
3840: 2c 20 61 6e 64 20 63 68 61 6e 67 65 64 20 73 6f , and changed so
3850: 6d 65 20 61 63 63 65 70 74 20 70 72 6f 63 0a 09 me accept proc..
3860: 61 72 67 73 20 74 6f 20 72 65 66 6c 65 63 74 20 args to reflect
3870: 74 68 61 74 20 61 20 73 6f 63 6b 20 69 73 20 61 that a sock is a
3880: 6e 20 61 72 67 2c 20 6e 6f 74 20 61 20 66 69 6c n arg, not a fil
3890: 65 2e 0a 0a 32 30 30 30 2d 30 37 2d 31 30 20 20 e...2000-07-10
38a0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 Jeff Hobbs <hob
38b0: 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d bs@scriptics.com
38c0: 3e 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 20 28 >...* tlsBIO.c (
38d0: 42 69 6f 57 72 69 74 65 2c 20 42 69 6f 52 65 61 BioWrite, BioRea
38e0: 64 29 3a 20 63 68 61 6e 67 65 64 20 54 63 6c 5f d): changed Tcl_
38f0: 52 65 61 64 2f 57 72 69 74 65 20 74 6f 0a 09 54 Read/Write to..T
3900: 63 6c 5f 52 65 61 64 52 61 77 2f 54 63 6c 57 72 cl_ReadRaw/TclWr
3910: 69 74 65 52 61 77 2e 0a 0a 09 2a 20 74 6c 73 2e iteRaw....* tls.
3920: 63 3a 20 61 64 64 65 64 20 75 73 65 20 6f 66 20 c: added use of
3930: 54 63 6c 5f 47 65 74 54 6f 70 43 68 61 6e 6e 65 Tcl_GetTopChanne
3940: 6c 20 61 66 74 65 72 20 54 63 6c 5f 47 65 74 43 l after Tcl_GetC
3950: 68 61 6e 6e 65 6c 20 61 6e 64 0a 09 67 6f 74 20 hannel and..got
3960: 72 65 74 75 72 6e 20 76 61 6c 75 65 20 66 72 6f return value fro
3970: 6d 20 54 63 6c 5f 53 74 61 63 6b 43 68 61 6e 6e m Tcl_StackChann
3980: 65 6c 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c el....* tests/tl
3990: 73 49 4f 2e 74 65 73 74 3a 20 61 64 64 65 64 20 sIO.test: added
39a0: 73 6f 6d 65 20 68 61 6e 64 73 68 61 6b 69 6e 67 some handshaking
39b0: 20 74 68 61 74 20 73 68 6f 75 6c 64 6e 27 74 20 that shouldn't
39c0: 62 65 0a 09 6e 65 63 65 73 73 61 72 79 2c 20 62 be..necessary, b
39d0: 75 74 20 77 65 20 63 72 61 73 68 20 6f 74 68 65 ut we crash othe
39e0: 72 77 69 73 65 20 28 6e 65 65 64 73 20 6d 6f 72 rwise (needs mor
39f0: 65 20 74 65 73 74 69 6e 67 29 2e 0a 0a 09 2a 20 e testing)....*
3a00: 74 6c 73 49 4f 2e 63 3a 20 61 64 64 65 64 20 73 tlsIO.c: added s
3a10: 75 70 70 6f 72 74 20 66 6f 72 20 22 63 6f 72 72 upport for "corr
3a20: 65 63 74 65 64 22 20 73 74 61 63 6b 65 64 20 63 ected" stacked c
3a30: 68 61 6e 6e 65 6c 73 2e 20 20 41 6c 6c 0a 09 74 hannels. All..t
3a40: 68 65 20 61 62 6f 76 65 20 63 68 61 6e 6e 65 6c he above channel
3a50: 73 20 61 72 65 20 69 6e 20 54 43 4c 5f 43 48 41 s are in TCL_CHA
3a60: 4e 4e 45 4c 5f 56 45 52 53 49 4f 4e 5f 32 20 23 NNEL_VERSION_2 #
3a70: 69 66 64 65 66 73 2e 0a 0a 32 30 30 30 2d 30 36 ifdefs...2000-06
3a80: 2d 30 35 20 20 53 63 6f 74 74 20 53 74 61 6e 74 -05 Scott Stant
3a90: 6f 6e 20 20 3c 73 74 61 6e 74 6f 6e 40 61 6a 75 on <stanton@aju
3aa0: 62 61 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f 6d 3e basolutions.com>
3ab0: 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e ...* Makefile.in
3ac0: 3a 20 46 69 78 65 64 20 62 72 6f 6b 65 6e 20 74 : Fixed broken t
3ad0: 65 73 74 20 74 61 72 67 65 74 2e 0a 0a 09 2a 20 est target....*
3ae0: 74 6c 73 49 6e 74 2e 68 3a 20 0a 09 2a 20 74 6c tlsInt.h: ..* tl
3af0: 73 2e 63 3a 20 43 6c 65 61 6e 65 64 20 75 70 20 s.c: Cleaned up
3b00: 64 65 63 6c 61 72 61 74 69 6f 6e 73 20 6f 66 20 declarations of
3b10: 54 6c 73 5f 43 6c 65 61 6e 20 74 6f 20 61 76 6f Tls_Clean to avo
3b20: 69 64 20 65 72 72 6f 72 73 20 6f 6e 0a 09 57 69 id errors on..Wi
3b30: 6e 64 6f 77 73 20 28 6c 69 6e 74 29 2e 0a 0a 32 ndows (lint)...2
3b40: 30 30 30 2d 30 36 2d 30 35 20 20 42 72 65 6e 74 000-06-05 Brent
3b50: 20 57 65 6c 63 68 20 3c 77 65 6c 63 68 40 61 6a Welch <welch@aj
3b60: 75 62 61 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f 6d ubasolutions.com
3b70: 3e 0a 0a 09 2a 20 74 6c 73 2e 63 2c 20 74 6c 73 >...* tls.c, tls
3b80: 49 4f 2e 63 3a 20 20 53 70 6c 69 74 20 54 6c 73 IO.c: Split Tls
3b90: 5f 46 72 65 65 20 69 6e 74 6f 20 54 6c 73 5f 43 _Free into Tls_C
3ba0: 6c 65 61 6e 2c 20 77 68 69 63 68 20 64 6f 65 73 lean, which does
3bb0: 0a 09 74 68 65 20 53 53 4c 20 63 6c 65 61 6e 75 ..the SSL cleanu
3bc0: 70 2c 20 61 6e 64 20 74 68 65 20 54 63 6c 5f 46 p, and the Tcl_F
3bd0: 72 65 65 20 63 61 6c 6c 2e 20 20 49 74 20 69 73 ree call. It is
3be0: 20 69 6d 70 6f 72 74 61 6e 74 20 74 6f 20 73 68 important to sh
3bf0: 75 74 64 6f 77 6e 0a 09 74 68 65 20 53 53 4c 20 utdown..the SSL
3c00: 73 74 61 74 65 20 22 73 79 6e 63 68 72 6f 6e 6f state "synchrono
3c10: 75 73 6c 79 22 20 64 75 72 69 6e 67 20 61 20 73 usly" during a s
3c20: 74 61 63 6b 65 64 20 66 6c 75 73 68 2e 0a 0a 32 tacked flush...2
3c30: 30 30 30 2d 30 36 2d 30 31 20 20 53 63 6f 74 74 000-06-01 Scott
3c40: 20 53 74 61 6e 74 6f 6e 20 20 3c 73 74 61 6e 74 Stanton <stant
3c50: 6f 6e 40 61 6a 75 62 61 73 6f 6c 75 74 69 6f 6e on@ajubasolution
3c60: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f s.com>...* tlsIO
3c70: 2e 63 3a 20 52 65 73 74 6f 72 65 64 20 63 61 6c .c: Restored cal
3c80: 6c 20 74 6f 20 54 63 6c 5f 4e 6f 74 69 66 79 43 l to Tcl_NotifyC
3c90: 68 61 6e 6e 65 6c 20 66 72 6f 6d 20 43 68 61 6e hannel from Chan
3ca0: 6e 65 6c 48 61 6e 64 6c 65 72 0a 09 74 6f 20 65 nelHandler..to e
3cb0: 6e 73 75 72 65 20 74 68 61 74 20 65 76 65 6e 74 nsure that event
3cc0: 73 20 70 72 6f 70 61 67 61 74 65 20 66 72 6f 6d s propagate from
3cd0: 20 74 68 65 20 6c 6f 77 65 72 20 64 72 69 76 65 the lower drive
3ce0: 72 2e 20 20 54 68 69 73 20 6d 61 79 0a 09 72 65 r. This may..re
3cf0: 73 75 6c 74 20 69 6e 20 61 6e 20 69 6e 66 69 6e sult in an infin
3d00: 69 74 65 20 6c 6f 6f 70 20 69 6e 20 73 6f 6d 65 ite loop in some
3d10: 20 63 61 73 65 73 2c 20 73 6f 20 74 68 69 73 20 cases, so this
3d20: 69 73 20 6e 6f 74 20 61 20 74 6f 74 61 6c 0a 09 is not a total..
3d30: 66 69 78 2e 20 20 54 68 69 73 20 6d 61 79 20 62 fix. This may b
3d40: 65 20 73 75 66 66 69 63 69 65 6e 74 20 66 6f 72 e sufficient for
3d50: 20 6e 6f 77 2c 20 68 6f 77 65 76 65 72 2e 20 5b now, however. [
3d60: 42 75 67 3a 20 35 36 32 33 5d 0a 0a 32 30 30 30 Bug: 5623]..2000
3d70: 2d 30 36 2d 30 31 20 20 53 63 6f 74 74 20 53 74 -06-01 Scott St
3d80: 61 6e 74 6f 6e 20 20 3c 73 74 61 6e 74 6f 6e 40 anton <stanton@
3d90: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a scriptics.com>..
3da0: 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 52 65 73 74 .* tlsIO.c: Rest
3db0: 6f 72 65 20 74 68 65 20 70 72 65 76 69 6f 75 73 ore the previous
3dc0: 20 76 65 72 73 69 6f 6e 2e 20 20 46 69 78 65 64 version. Fixed
3dd0: 20 74 68 65 20 43 6c 6f 73 65 50 72 6f 63 20 73 the CloseProc s
3de0: 6f 0a 09 69 74 20 75 6e 72 65 67 69 73 74 65 72 o..it unregister
3df0: 73 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 68 61 s the channel ha
3e00: 6e 64 6c 65 72 20 6f 6e 20 74 68 65 20 73 75 70 ndler on the sup
3e10: 65 72 63 65 64 65 64 20 63 68 61 6e 6e 65 6c 0a erceded channel.
3e20: 09 69 6e 73 74 65 61 64 20 6f 66 20 74 68 65 20 .instead of the
3e30: 75 70 70 65 72 20 63 68 61 6e 6e 65 6c 2e 20 41 upper channel. A
3e40: 6c 73 6f 20 72 65 6d 6f 76 65 64 20 74 68 65 20 lso removed the
3e50: 63 61 6c 6c 20 74 6f 0a 09 54 63 6c 5f 4e 6f 74 call to..Tcl_Not
3e60: 69 66 79 43 68 61 6e 6e 65 6c 20 69 6e 20 74 68 ifyChannel in th
3e70: 65 20 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 e ChannelHandler
3e80: 20 62 65 63 61 75 73 65 20 74 68 69 73 20 77 69 because this wi
3e90: 6c 6c 20 72 65 73 75 6c 74 0a 09 69 6e 20 61 6e ll result..in an
3ea0: 20 69 6e 66 69 6e 69 74 65 20 6c 6f 6f 70 20 69 infinite loop i
3eb0: 66 20 64 61 74 61 20 69 73 20 65 76 65 72 20 62 f data is ever b
3ec0: 75 66 66 65 72 65 64 20 69 6e 20 74 68 65 20 42 uffered in the B
3ed0: 49 4f 0a 09 73 74 72 75 63 74 75 72 65 2e 20 5b IO..structure. [
3ee0: 42 75 67 3a 20 35 36 32 33 5d 0a 0a 32 30 30 30 Bug: 5623]..2000
3ef0: 2d 30 35 2d 33 31 20 20 42 72 65 6e 74 20 57 65 -05-31 Brent We
3f00: 6c 63 68 20 3c 77 65 6c 63 68 40 73 63 72 69 70 lch <welch@scrip
3f10: 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c tics.com>...* tl
3f20: 73 2e 63 3a 20 43 68 61 6e 67 65 20 74 68 65 20 s.c: Change the
3f30: 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 20 74 ChannelHandler t
3f40: 6f 20 62 65 20 72 65 67 69 73 74 65 72 65 64 20 o be registered
3f50: 6f 6e 20 74 68 65 20 6d 61 69 6e 0a 09 63 68 61 on the main..cha
3f60: 6e 6e 65 6c 20 61 73 20 6f 70 70 73 65 64 20 74 nnel as oppsed t
3f70: 6f 20 74 68 65 20 22 70 61 72 65 6e 74 22 2c 20 o the "parent",
3f80: 6f 72 20 73 75 70 65 72 63 65 65 64 65 64 2c 20 or superceeded,
3f90: 63 68 61 6e 6e 65 6c 2e 20 20 54 68 69 73 0a 09 channel. This..
3fa0: 69 73 20 62 65 63 61 75 73 65 20 74 68 65 20 73 is because the s
3fb0: 6f 63 6b 65 74 20 64 72 69 76 65 72 20 6e 6f 74 ocket driver not
3fc0: 69 66 69 65 73 20 74 68 65 20 6d 61 69 6e 20 63 ifies the main c
3fd0: 68 61 6e 6e 65 6c 2c 20 61 6e 64 20 74 68 65 72 hannel, and ther
3fe0: 65 0a 09 61 72 65 20 74 69 6d 65 73 20 77 69 74 e..are times wit
3ff0: 68 20 74 68 65 20 6d 61 69 6e 20 63 68 61 6e 6e h the main chann
4000: 65 6c 20 67 65 74 73 20 63 6c 6f 73 65 64 2c 20 el gets closed,
4010: 62 75 74 20 74 68 65 20 73 75 70 65 72 63 65 64 but the superced
4020: 65 64 0a 09 6f 6e 65 20 69 73 20 6e 6f 74 20 79 ed..one is not y
4030: 65 74 20 63 6c 6f 73 65 64 2e 20 20 49 66 20 74 et closed. If t
4040: 68 65 20 63 68 61 6e 6e 65 6c 20 68 61 6e 64 6c he channel handl
4050: 65 72 20 67 65 74 73 20 74 72 69 67 67 65 72 65 er gets triggere
4060: 64 20 69 6e 0a 09 74 68 69 73 20 68 61 6c 66 2d d in..this half-
4070: 6f 70 65 6e 20 73 74 61 74 65 20 69 74 20 69 73 open state it is
4080: 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 associated with
4090: 20 74 68 65 20 73 75 70 65 72 63 65 65 64 65 64 the superceeded
40a0: 0a 09 63 68 61 6e 6e 65 64 6c 2c 20 62 75 74 20 ..channedl, but
40b0: 75 73 65 73 20 69 74 73 20 70 72 69 76 61 74 65 uses its private
40c0: 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 pointer to the
40d0: 6d 61 69 6e 20 63 68 61 6e 6e 65 6c 2c 20 77 68 main channel, wh
40e0: 69 63 68 0a 09 69 73 20 6d 6f 73 74 6c 79 20 64 ich..is mostly d
40f0: 65 73 74 72 6f 79 65 64 2e 20 20 45 6c 69 6d 69 estroyed. Elimi
4100: 6e 61 74 65 64 20 74 68 65 20 72 65 64 75 6e 64 nated the redund
4110: 61 6e 74 20 63 61 6c 6c 20 74 6f 0a 09 54 63 6c ant call to..Tcl
4120: 5f 4e 6f 74 69 66 79 43 68 61 6e 6e 65 6c 20 66 _NotifyChannel f
4130: 72 6f 6d 20 54 6c 73 57 61 74 63 68 50 72 6f 63 rom TlsWatchProc
4140: 2e 20 5b 42 75 67 3a 20 35 36 32 33 5d 0a . [Bug: 5623].