0000: 54 63 6c 54 4c 53 20 31 2e 37 2e 32 32 0a 3d 3d TclTLS 1.7.22.==
0010: 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 52 65 6c 65 61 73 ========..Releas
0020: 65 20 44 61 74 65 3a 20 4d 6f 6e 20 4f 63 74 20 e Date: Mon Oct
0030: 31 32 20 31 35 3a 34 30 3a 31 36 20 43 44 54 20 12 15:40:16 CDT
0040: 32 30 32 30 0a 0a 68 74 74 70 73 3a 2f 2f 74 63 2020..https://tc
0050: 6c 74 6c 73 2e 72 6b 65 65 6e 65 2e 6f 72 67 2f ltls.rkeene.org/
0060: 0a 0a 32 30 31 35 2d 30 35 2d 30 31 20 20 41 6e ..2015-05-01 An
0070: 64 72 65 61 73 20 4b 75 70 72 69 65 73 20 20 3c dreas Kupries <
0080: 61 6e 64 72 65 61 73 6b 40 61 63 74 69 76 65 73 andreask@actives
0090: 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 63 6f tate.com>...* co
00a0: 6e 66 69 67 75 72 65 2e 69 6e 3a 20 42 75 6d 70 nfigure.in: Bump
00b0: 20 74 6f 20 76 65 72 73 69 6f 6e 20 31 2e 36 2e to version 1.6.
00c0: 35 2e 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 5...* win/makefi
00d0: 6c 65 2e 76 63 3a 0a 09 2a 20 63 6f 6e 66 69 67 le.vc:..* config
00e0: 75 72 65 3a 20 72 65 67 65 6e 20 77 69 74 68 20 ure: regen with
00f0: 61 63 2d 32 2e 35 39 0a 09 2a 20 74 6c 73 2e 63 ac-2.59..* tls.c
0100: 3a 20 41 63 63 65 70 74 65 64 20 53 46 20 54 4c : Accepted SF TL
0110: 53 20 5b 62 75 67 2f 70 61 74 63 68 20 23 35 37 S [bug/patch #57
0120: 5d 28 68 74 74 70 73 3a 2f 2f 73 6f 75 72 63 65 ](https://source
0130: 66 6f 72 67 65 2e 6e 65 74 2f 70 2f 74 6c 73 2f forge.net/p/tls/
0140: 62 75 67 73 2f 35 37 2f 29 2e 0a 09 2a 20 74 6c bugs/57/)...* tl
0150: 73 49 4f 2e 63 3a 20 41 63 63 65 70 74 65 64 20 sIO.c: Accepted
0160: 63 6f 72 65 20 54 63 6c 20 70 61 74 63 68 20 69 core Tcl patch i
0170: 6e 20 5b 74 69 63 6b 65 74 5d 28 68 74 74 70 3a n [ticket](http:
0180: 2f 2f 63 6f 72 65 2e 74 63 6c 2e 74 6b 2f 74 63 //core.tcl.tk/tc
0190: 6c 2f 74 6b 74 76 69 65 77 2f 30 66 39 34 66 38 l/tktview/0f94f8
01a0: 35 35 63 61 66 65 64 39 32 64 30 65 31 37 34 62 55cafed92d0e174b
01b0: 37 64 38 33 35 34 35 33 61 30 32 38 33 31 62 34 7d835453a02831b4
01c0: 64 64 29 2e 0a 0a 32 30 31 34 2d 31 32 2d 30 35 dd)...2014-12-05
01d0: 20 20 41 6e 64 72 65 61 73 20 4b 75 70 72 69 65 Andreas Kuprie
01e0: 73 20 20 3c 61 6e 64 72 65 61 73 6b 40 61 63 74 s <andreask@act
01f0: 69 76 65 73 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 ivestate.com>...
0200: 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 * configure.in:
0210: 42 75 6d 70 20 74 6f 20 76 65 72 73 69 6f 6e 20 Bump to version
0220: 31 2e 36 2e 34 2e 0a 09 2a 20 77 69 6e 2f 6d 61 1.6.4...* win/ma
0230: 6b 65 66 69 6c 65 2e 76 63 3a 0a 09 2a 20 63 6f kefile.vc:..* co
0240: 6e 66 69 67 75 72 65 3a 20 72 65 67 65 6e 20 77 nfigure: regen w
0250: 69 74 68 20 61 63 2d 32 2e 35 39 0a 09 2a 20 74 ith ac-2.59..* t
0260: 6c 73 2e 63 3a 20 41 63 63 65 70 74 65 64 20 53 ls.c: Accepted S
0270: 46 20 54 4c 53 20 70 61 74 63 68 65 73 20 23 31 F TLS patches #1
0280: 32 20 61 6e 64 20 23 31 33 20 69 6d 70 6c 65 6d 2 and #13 implem
0290: 65 6e 74 69 6e 67 0a 09 2a 20 74 6c 73 2e 68 74 enting..* tls.ht
02a0: 6d 3a 20 73 75 70 70 6f 72 74 20 66 6f 72 20 53 m: support for S
02b0: 4e 49 2c 20 61 6e 64 20 54 4c 53 20 31 2e 31 20 NI, and TLS 1.1
02c0: 2b 20 31 2e 32 0a 09 2a 20 74 6c 73 49 6e 74 2e + 1.2..* tlsInt.
02d0: 68 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 54 h:..* tlsIO.c: T
02e0: 68 69 73 20 61 6c 73 6f 20 61 63 63 65 70 74 65 his also accepte
02f0: 64 20 70 61 74 63 68 20 66 6f 72 20 62 75 67 20 d patch for bug
0300: 23 35 33 2e 0a 09 2a 20 74 6c 73 2e 74 63 6c 3a #53...* tls.tcl:
0310: 20 50 61 74 63 68 20 61 76 61 69 6c 61 62 6c 65 Patch available
0320: 20 73 69 6e 63 65 20 4a 75 6e 65 2c 20 6e 6f 77 since June, now
0330: 20 63 6f 6d 6d 69 74 74 65 64 2e 0a 0a 32 30 31 committed...201
0340: 32 2d 30 37 2d 30 39 20 20 41 6e 64 72 65 61 73 2-07-09 Andreas
0350: 20 4b 75 70 72 69 65 73 20 20 3c 61 6e 64 72 65 Kupries <andre
0360: 61 73 6b 40 61 63 74 69 76 65 73 74 61 74 65 2e ask@activestate.
0370: 63 6f 6d 3e 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 com>...* configu
0380: 72 65 2e 69 6e 3a 20 42 75 6d 70 20 74 6f 20 76 re.in: Bump to v
0390: 65 72 73 69 6f 6e 20 31 2e 36 2e 33 2e 0a 09 2a ersion 1.6.3...*
03a0: 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 win/makefile.vc
03b0: 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 :..* configure:
03c0: 72 65 67 65 6e 20 77 69 74 68 20 61 63 2d 32 2e regen with ac-2.
03d0: 35 39 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 4d 69 59...* tls.c (Mi
03e0: 73 63 4f 62 6a 43 6d 64 29 3a 20 46 69 78 65 64 scObjCmd): Fixed
03f0: 20 6e 6f 6e 2d 73 74 61 74 69 63 20 73 74 72 69 non-static stri
0400: 6e 67 20 61 72 72 61 79 20 75 73 65 64 20 69 6e ng array used in
0410: 20 63 61 6c 6c 0a 09 20 20 6f 66 20 54 63 6c 5f call.. of Tcl_
0420: 47 65 74 49 6e 64 65 78 46 72 6f 6d 4f 62 6a 28 GetIndexFromObj(
0430: 29 2e 20 4d 65 6d 6f 72 79 20 73 6d 61 73 68 20 ). Memory smash
0440: 77 61 69 74 69 6e 67 20 74 6f 20 68 61 70 70 65 waiting to happe
0450: 6e 2e 20 54 68 61 6e 6b 73 0a 09 20 20 74 6f 20 n. Thanks.. to
0460: 42 72 69 61 6e 20 47 72 69 66 66 69 6e 20 66 6f Brian Griffin fo
0470: 72 20 61 6c 65 72 74 69 6e 67 20 75 73 20 61 6c r alerting us al
0480: 6c 20 74 6f 20 74 68 65 20 70 72 6f 62 6c 65 6d l to the problem
0490: 2e 20 0a 0a 32 30 31 32 2d 30 36 2d 30 31 20 20 . ..2012-06-01
04a0: 41 6e 64 72 65 61 73 20 4b 75 70 72 69 65 73 20 Andreas Kupries
04b0: 20 3c 61 6e 64 72 65 61 73 6b 40 61 63 74 69 76 <andreask@activ
04c0: 65 73 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 estate.com>...*
04d0: 74 6c 73 2e 63 3a 20 41 70 70 6c 69 65 64 20 4a tls.c: Applied J
04e0: 65 66 66 27 73 20 70 61 74 63 68 20 66 72 6f 6d eff's patch from
04f0: 0a 09 20 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d .. http://www.m
0500: 61 69 6c 2d 61 72 63 68 69 76 65 2e 63 6f 6d 2f ail-archive.com/
0510: 61 6f 6c 73 65 72 76 65 72 40 6c 69 73 74 73 65 aolserver@listse
0520: 72 76 2e 61 6f 6c 2e 63 6f 6d 2f 6d 73 67 31 32 rv.aol.com/msg12
0530: 33 35 36 2e 68 74 6d 6c 0a 0a 09 2a 20 63 6f 6e 356.html...* con
0540: 66 69 67 75 72 65 2e 69 6e 3a 20 42 75 6d 70 20 figure.in: Bump
0550: 74 6f 20 76 65 72 73 69 6f 6e 20 31 2e 36 2e 32 to version 1.6.2
0560: 2e 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c ...* win/makefil
0570: 65 2e 76 63 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 e.vc:..* configu
0580: 72 65 3a 20 72 65 67 65 6e 20 77 69 74 68 20 61 re: regen with a
0590: 63 2d 32 2e 35 39 0a 09 0a 32 30 31 30 2d 30 38 c-2.59...2010-08
05a0: 2d 31 31 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -11 Jeff Hobbs
05b0: 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 <jeffh@ActiveSt
05c0: 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 2a 2a 20 54 ate.com>...*** T
05d0: 4c 53 20 31 2e 36 2e 31 20 54 41 47 47 45 44 20 LS 1.6.1 TAGGED
05e0: 2a 2a 2a 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 ***...* configur
05f0: 65 3a 20 72 65 67 65 6e 20 77 69 74 68 20 61 63 e: regen with ac
0600: 2d 32 2e 35 39 0a 09 2a 20 77 69 6e 2f 6d 61 6b -2.59..* win/mak
0610: 65 66 69 6c 65 2e 76 63 2c 20 63 6f 6e 66 69 67 efile.vc, config
0620: 75 72 65 2e 69 6e 3a 20 62 75 6d 70 20 76 65 72 ure.in: bump ver
0630: 73 69 6f 6e 20 74 6f 20 31 2e 36 2e 31 0a 09 2a sion to 1.6.1..*
0640: 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d tclconfig/tcl.m
0650: 34 3a 20 75 70 64 61 74 65 64 20 74 6f 20 54 45 4: updated to TE
0660: 41 20 33 2e 38 0a 0a 09 2a 20 74 6c 73 2e 63 20 A 3.8...* tls.c
0670: 28 53 74 61 74 75 73 4f 62 6a 43 6d 64 29 3a 20 (StatusObjCmd):
0680: 6d 65 6d 6c 65 61 6b 3a 20 66 72 65 65 20 70 65 memleak: free pe
0690: 65 72 20 69 66 20 6c 6f 61 64 65 64 2e 20 5b 42 er if loaded. [B
06a0: 75 67 20 33 30 34 31 39 32 35 5d 0a 0a 32 30 31 ug 3041925]..201
06b0: 30 2d 30 37 2d 32 37 20 20 4a 65 66 66 20 48 6f 0-07-27 Jeff Ho
06c0: 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 bbs <jeffh@Acti
06d0: 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a veState.com>...*
06e0: 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 73 tls.tcl (tls::s
06f0: 6f 63 6b 65 74 29 3a 20 73 6f 6d 65 20 73 6f 63 ocket): some soc
0700: 6b 65 74 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 ket implementati
0710: 6f 6e 73 20 68 61 76 65 20 61 20 2d 74 79 70 65 ons have a -type
0720: 0a 09 73 75 70 70 6f 72 74 20 28 65 2e 67 2e 20 ..support (e.g.
0730: 66 6f 72 20 69 6e 65 74 36 29 2e 0a 0a 32 30 30 for inet6)...200
0740: 39 2d 30 34 2d 32 33 20 20 4a 65 66 66 20 48 6f 9-04-23 Jeff Ho
0750: 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 bbs <jeffh@Acti
0760: 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a veState.com>...*
0770: 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 69 tls.tcl (tls::i
0780: 6e 69 74 6c 69 62 29 3a 20 61 64 64 20 73 75 70 nitlib): add sup
0790: 70 6f 72 74 20 66 6f 72 20 57 69 6e 64 6f 77 73 port for Windows
07a0: 20 73 74 61 72 70 61 63 6b 0a 09 6f 70 65 72 61 starpack..opera
07b0: 74 69 6f 6e 20 74 68 61 74 20 75 6e 62 75 6e 64 tion that unbund
07c0: 6c 65 73 20 61 6e 79 20 63 6f 6e 73 74 69 74 75 les any constitu
07d0: 65 6e 74 20 6c 69 62 72 61 72 69 65 73 2e 20 5b ent libraries. [
07e0: 41 53 20 42 75 67 20 38 32 38 38 38 5d 0a 0a 32 AS Bug 82888]..2
07f0: 30 30 38 2d 30 36 2d 31 38 20 20 50 61 74 20 54 008-06-18 Pat T
0800: 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 hoyts <patthoyt
0810: 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f s@users.sourcefo
0820: 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 65 73 rge.net>...* tes
0830: 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a ts/ciphers.test:
0840: 20 46 69 78 20 66 6f 72 20 64 69 66 66 65 72 65 Fix for differe
0850: 6e 74 20 6f 70 65 6e 73 73 6c 20 76 65 72 73 69 nt openssl versi
0860: 6f 6e 73 2e 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 ons...* win/make
0870: 66 69 6c 65 2e 76 63 3a 20 20 20 20 55 70 64 61 file.vc: Upda
0880: 74 65 73 20 74 6f 20 73 75 70 70 6f 72 74 20 74 tes to support t
0890: 65 73 74 73 2e 0a 09 2a 20 77 69 6e 2f 72 75 6c ests...* win/rul
08a0: 65 73 2e 76 63 3a 0a 09 2a 20 77 69 6e 2f 6e 6d es.vc:..* win/nm
08b0: 61 6b 65 68 6c 70 2e 63 3a 0a 0a 32 30 30 38 2d akehlp.c:..2008-
08c0: 30 33 2d 31 39 20 20 4a 65 66 66 20 48 6f 62 62 03-19 Jeff Hobb
08d0: 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 s <jeffh@Active
08e0: 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 2a 2a State.com>...***
08f0: 20 54 4c 53 20 31 2e 36 20 54 41 47 47 45 44 20 TLS 1.6 TAGGED
0900: 2a 2a 2a 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 ***...* Makefile
0910: 2e 69 6e 20 28 64 69 73 74 29 3a 20 75 70 64 61 .in (dist): upda
0920: 74 65 20 74 6f 20 69 6e 63 6c 75 64 65 20 77 69 te to include wi
0930: 6e 2f 20 61 6e 64 20 66 69 6c 65 2e 73 72 6c 0a n/ and file.srl.
0940: 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 ..* win/makefile
0950: 2e 76 63 3a 20 62 75 6d 70 20 76 65 72 73 69 6f .vc: bump versio
0960: 6e 20 74 6f 20 31 2e 36 0a 09 2a 20 63 6f 6e 66 n to 1.6..* conf
0970: 69 67 75 72 65 2e 69 6e 3a 20 75 73 65 20 2d 4c igure.in: use -L
0980: 20 61 6e 64 20 2d 52 20 77 68 65 72 65 20 6e 65 and -R where ne
0990: 63 65 73 73 61 72 79 2e 20 5b 42 75 67 20 31 37 cessary. [Bug 17
09a0: 34 32 38 35 39 5d 0a 0a 09 2a 20 61 63 6c 6f 63 42859]...* acloc
09b0: 61 6c 2e 6d 34 3a 20 69 6d 70 72 6f 76 65 20 2d al.m4: improve -
09c0: 2d 77 69 74 68 2d 73 73 6c 2d 64 69 72 20 63 68 -with-ssl-dir ch
09d0: 65 63 6b 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 eck....* tests/t
09e0: 6c 73 49 4f 2e 74 65 73 74 20 28 74 6c 73 49 4f lsIO.test (tlsIO
09f0: 2d 31 34 2e 2a 29 3a 20 20 20 41 64 64 20 74 6c -14.*): Add tl
0a00: 73 3a 3a 75 6e 69 6d 70 6f 72 74 20 66 6f 72 20 s::unimport for
0a10: 73 79 6d 6d 65 74 72 79 0a 09 2a 20 74 6c 73 2e symmetry..* tls.
0a20: 68 74 6d 2c 20 74 6c 73 2e 63 20 28 55 6e 69 6d htm, tls.c (Unim
0a30: 70 6f 72 74 4f 62 6a 43 6d 64 29 3a 20 74 6f 20 portObjCmd): to
0a40: 74 6c 73 3a 3a 69 6d 70 6f 72 74 2e 20 5b 42 75 tls::import. [Bu
0a50: 67 20 31 32 30 33 32 37 33 5d 0a 0a 09 2a 20 74 g 1203273]...* t
0a60: 6c 73 2e 63 20 28 54 6c 73 5f 43 6c 65 61 6e 2c ls.c (Tls_Clean,
0a70: 20 49 6d 70 6f 72 74 4f 62 6a 43 6d 64 29 3a 20 ImportObjCmd):
0a80: 46 69 78 20 63 6c 65 61 6e 75 70 20 6d 65 6d 20 Fix cleanup mem
0a90: 6c 65 61 6b 20 5b 42 75 67 20 31 34 31 34 30 34 leak [Bug 141404
0aa0: 35 5d 0a 09 55 73 65 20 62 65 74 74 65 72 20 45 5]..Use better E
0ab0: 76 61 6c 20 41 50 49 73 2c 20 63 6c 65 61 6e 65 val APIs, cleane
0ac0: 72 20 54 63 6c 5f 4f 62 6a 2d 68 61 6e 64 6c 69 r Tcl_Obj-handli
0ad0: 6e 67 2e 0a 0a 32 30 30 38 2d 30 33 2d 31 39 20 ng...2008-03-19
0ae0: 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 Pat Thoyts <pa
0af0: 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f tthoyts@users.so
0b00: 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a urceforge.net>..
0b10: 09 2a 20 77 69 6e 2f 4d 61 6b 65 66 69 6c 65 2e .* win/Makefile.
0b20: 76 63 20 20 55 70 64 61 74 65 64 20 74 68 65 20 vc Updated the
0b30: 6e 6d 61 6b 65 20 62 75 69 6c 64 20 66 69 6c 65 nmake build file
0b40: 73 20 77 69 74 68 20 4d 53 56 43 39 20 73 75 70 s with MSVC9 sup
0b50: 70 6f 72 74 0a 09 2a 20 77 69 6e 2f 72 75 6c 65 port..* win/rule
0b60: 73 2e 76 63 3a 20 20 20 20 61 6e 64 20 66 69 78 s.vc: and fix
0b70: 65 64 20 74 6f 20 72 75 6e 20 74 68 65 20 74 65 ed to run the te
0b80: 73 74 2d 73 75 69 74 65 20 70 72 6f 70 65 72 6c st-suite properl
0b90: 79 2e 0a 09 2a 20 77 69 6e 2f 6e 6d 61 6b 65 68 y...* win/nmakeh
0ba0: 6c 70 2e 63 3a 0a 09 2a 20 74 6c 73 2e 74 63 6c lp.c:..* tls.tcl
0bb0: 20 28 74 6c 73 3a 3a 69 6e 69 74 6c 69 62 29 3a (tls::initlib):
0bc0: 20 43 6f 72 72 65 63 74 65 64 20 6e 61 6d 65 73 Corrected names
0bd0: 70 61 63 65 20 68 61 6e 64 6c 69 6e 67 2e 0a 09 pace handling...
0be0: 2a 20 74 6c 73 2e 63 3a 20 41 70 70 6c 69 65 64 * tls.c: Applied
0bf0: 20 23 31 38 39 30 32 32 33 20 74 6f 20 66 69 78 #1890223 to fix
0c00: 20 68 61 6e 64 73 68 61 6b 65 20 6f 6e 20 6e 6f handshake on no
0c10: 6e 2d 62 6c 6f 63 6b 69 6e 67 20 73 6f 63 6b 65 n-blocking socke
0c20: 74 73 0a 0a 32 30 30 38 2d 30 33 2d 31 37 20 20 ts..2008-03-17
0c30: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 Jeff Hobbs <jef
0c40: 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 fh@ActiveState.c
0c50: 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 om>...* tls.tcl
0c60: 28 74 6c 73 3a 3a 69 6e 69 74 6c 69 62 29 3a 20 (tls::initlib):
0c70: 20 20 20 20 6c 6f 61 64 20 74 6c 73 2e 74 63 6c load tls.tcl
0c80: 20 66 69 72 73 74 20 61 6e 64 20 63 61 6c 6c 0a first and call.
0c90: 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 20 28 .* Makefile.in (
0ca0: 70 6b 67 49 6e 64 65 78 2e 74 63 6c 29 3a 20 74 pkgIndex.tcl): t
0cb0: 6c 73 3a 3a 69 6e 69 74 6c 69 62 20 74 6f 20 6c ls::initlib to l
0cc0: 6f 61 64 20 6c 69 62 72 61 72 79 20 74 6f 0a 09 oad library to..
0cd0: 68 61 6e 64 6c 65 20 63 77 64 20 63 68 61 6e 67 handle cwd chang
0ce0: 65 73 2e 20 5b 42 75 67 20 31 38 38 38 31 31 33 es. [Bug 1888113
0cf0: 5d 0a 0a 32 30 30 37 2d 30 39 2d 30 36 20 20 50 ]..2007-09-06 P
0d00: 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 at Thoyts <patt
0d10: 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 hoyts@users.sour
0d20: 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a ceforge.net>...*
0d30: 20 74 6c 73 2e 63 3a 20 20 20 20 20 20 20 20 20 tls.c:
0d40: 20 20 53 69 6c 65 6e 63 65 20 36 34 20 62 69 74 Silence 64 bit
0d50: 20 69 6e 74 65 67 65 72 20 63 6f 6e 76 65 72 73 integer convers
0d60: 69 6f 6e 20 77 61 72 6e 69 6e 67 73 0a 09 2a 20 ion warnings..*
0d70: 77 69 6e 2f 6e 6d 61 6b 65 68 6c 70 2e 63 3a 20 win/nmakehlp.c:
0d80: 20 55 70 64 61 74 65 20 62 75 69 6c 64 20 73 79 Update build sy
0d90: 73 74 65 6d 20 74 6f 20 73 75 70 70 6f 72 74 20 stem to support
0da0: 41 4d 44 36 34 20 74 61 72 67 65 74 0a 09 2a 20 AMD64 target..*
0db0: 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a win/makefile.vc:
0dc0: 20 77 69 74 68 20 4d 53 56 43 38 0a 09 2a 20 77 with MSVC8..* w
0dd0: 69 6e 2f 72 75 6c 65 73 2e 76 63 3a 0a 0a 32 30 in/rules.vc:..20
0de0: 30 37 2d 30 36 2d 32 32 20 20 4a 65 66 66 20 48 07-06-22 Jeff H
0df0: 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 obbs <jeffh@Act
0e00: 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 iveState.com>...
0e10: 2a 20 74 6c 73 49 4f 2e 63 20 28 54 6c 73 49 6e * tlsIO.c (TlsIn
0e20: 70 75 74 50 72 6f 63 2c 20 54 6c 73 4f 75 74 70 putProc, TlsOutp
0e30: 75 74 50 72 6f 63 2c 20 54 6c 73 57 61 74 63 68 utProc, TlsWatch
0e40: 50 72 6f 63 29 3a 20 0a 09 2a 20 74 6c 73 2e 63 Proc): ..* tls.c
0e50: 20 28 56 65 72 69 66 79 43 61 6c 6c 62 61 63 6b (VerifyCallback
0e60: 29 3a 20 61 64 64 20 61 6e 20 73 74 61 74 65 20 ): add an state
0e70: 66 6c 61 67 20 69 6e 20 74 68 65 20 76 65 72 69 flag in the veri
0e80: 66 79 20 63 61 6c 6c 62 61 63 6b 0a 09 74 68 61 fy callback..tha
0e90: 74 20 70 72 65 76 65 6e 74 73 20 70 6f 73 73 69 t prevents possi
0ea0: 62 6c 79 20 72 65 63 75 72 73 69 6f 6e 20 28 6f bly recursion (o
0eb0: 6e 20 27 75 70 64 61 74 65 27 29 2e 20 5b 42 75 n 'update'). [Bu
0ec0: 67 20 31 36 35 32 33 38 30 5d 0a 0a 09 2a 20 74 g 1652380]...* t
0ed0: 65 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73 ests/ciphers.tes
0ee0: 74 3a 20 72 65 77 6f 72 6b 65 64 20 74 6f 20 6d t: reworked to m
0ef0: 61 6b 65 20 74 65 73 74 20 6f 75 74 70 75 74 20 ake test output
0f00: 63 6c 65 61 6e 65 72 20 74 6f 0a 09 75 6e 64 65 cleaner to..unde
0f10: 72 73 74 61 6e 64 20 6d 69 73 73 69 6e 67 20 63 rstand missing c
0f20: 69 70 68 65 72 73 20 28 69 66 20 61 6e 79 29 0a iphers (if any).
0f30: 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 2c ..* Makefile.in,
0f40: 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d tclconfig/tcl.m
0f50: 34 3a 20 75 70 64 61 74 65 20 74 6f 20 54 45 41 4: update to TEA
0f60: 20 33 2e 36 0a 09 2a 20 63 6f 6e 66 69 67 75 72 3.6..* configur
0f70: 65 2c 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a e, configure.in:
0f80: 20 20 20 20 20 20 20 75 73 69 6e 67 20 61 75 74 using aut
0f90: 6f 63 6f 6e 66 2d 32 2e 35 39 0a 0a 32 30 30 37 oconf-2.59..2007
0fa0: 2d 30 32 2d 32 38 20 20 50 61 74 20 54 68 6f 79 -02-28 Pat Thoy
0fb0: 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 ts <patthoyts@u
0fc0: 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 sers.sourceforge
0fd0: 2e 6e 65 74 3e 0a 0a 09 2a 20 77 69 6e 2f 6d 61 .net>...* win/ma
0fe0: 6b 65 66 69 6c 65 2e 76 63 3a 20 52 65 62 61 73 kefile.vc: Rebas
0ff0: 65 20 74 68 65 20 44 4c 4c 20 73 65 6e 73 69 62 e the DLL sensib
1000: 6c 79 2e 20 41 64 64 69 74 69 6f 6e 61 6c 20 6c ly. Additional l
1010: 69 62 73 20 66 6f 72 20 0a 09 73 74 61 74 69 63 ibs for ..static
1020: 20 6c 69 6e 6b 20 6f 66 20 6f 70 65 6e 73 73 6c link of openssl
1030: 2e 0a 09 2a 20 74 6c 73 2e 74 63 6c 3a 20 62 75 ...* tls.tcl: bu
1040: 67 20 23 31 35 37 39 38 33 37 20 2d 20 54 49 50 g #1579837 - TIP
1050: 20 32 37 38 20 62 75 67 20 28 70 6f 73 73 69 62 278 bug (possib
1060: 6c 79 29 20 2d 20 66 69 78 65 64 2e 0a 0a 32 30 ly) - fixed...20
1070: 30 36 2d 30 33 2d 33 30 20 20 50 61 74 20 54 68 06-03-30 Pat Th
1080: 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 oyts <patthoyts
1090: 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 @users.sourcefor
10a0: 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 63 6c 63 ge.net>...* tclc
10b0: 6f 6e 66 69 67 2f 2a 3a 20 20 55 70 64 61 74 65 onfig/*: Update
10c0: 64 20 74 6f 20 54 45 41 20 33 2e 35 20 69 6e 20 d to TEA 3.5 in
10d0: 72 65 73 70 6f 6e 73 65 20 74 6f 20 62 75 67 20 response to bug
10e0: 31 34 36 30 34 39 31 0a 09 2a 20 63 6f 6e 66 69 1460491..* confi
10f0: 67 75 72 65 2a 3a 20 20 20 52 65 67 65 6e 65 72 gure*: Regener
1100: 61 74 65 64 20 63 6f 6e 66 69 67 75 72 65 2e 0a ated configure..
1110: 0a 32 30 30 35 2d 30 32 2d 30 38 20 20 4a 65 66 .2005-02-08 Jef
1120: 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 f Hobbs <jeffh@
1130: 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e ActiveState.com>
1140: 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e ...* Makefile.in
1150: 2c 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e , tclconfig/tcl.
1160: 6d 34 3a 20 75 70 64 61 74 65 20 74 6f 20 54 45 m4: update to TE
1170: 41 20 33 2e 32 0a 09 2a 20 63 6f 6e 66 69 67 75 A 3.2..* configu
1180: 72 65 2c 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e re, configure.in
1190: 3a 20 20 20 20 20 20 20 75 73 69 6e 67 20 61 75 : using au
11a0: 74 6f 63 6f 6e 66 2d 32 2e 35 39 0a 0a 32 30 30 toconf-2.59..200
11b0: 34 2d 31 32 2d 32 33 20 20 50 61 74 20 54 68 6f 4-12-23 Pat Tho
11c0: 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 yts <patthoyts@
11d0: 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 users.sourceforg
11e0: 65 2e 6e 65 74 3e 0a 0a 09 2a 20 4d 61 6b 65 66 e.net>...* Makef
11f0: 69 6c 65 2e 69 6e 3a 20 20 20 20 20 20 52 65 6d ile.in: Rem
1200: 6f 76 65 64 20 73 70 75 72 69 6f 75 73 20 63 6f oved spurious co
1210: 70 79 69 6e 67 20 6f 66 20 74 6c 73 2e 74 63 6c pying of tls.tcl
1220: 20 69 6e 74 6f 20 74 68 65 0a 09 20 20 20 20 20 into the..
1230: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 b
1240: 75 69 6c 64 20 64 69 72 65 63 74 6f 72 79 2e 0a uild directory..
1250: 0a 32 30 30 34 2d 31 32 2d 32 32 20 20 50 61 74 .2004-12-22 Pat
1260: 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f Thoyts <pattho
1270: 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 yts@users.source
1280: 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 63 forge.net>...* c
1290: 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 20 20 20 onfigure.in:
12a0: 20 49 6e 63 72 65 6d 65 6e 74 65 64 20 6d 69 6e Incremented min
12b0: 6f 72 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e or version to 1.
12c0: 35 2e 31 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 5.1..* configure
12d0: 3a 20 20 20 20 20 20 20 20 0a 0a 32 30 30 34 2d : ..2004-
12e0: 31 32 2d 31 37 20 20 50 61 74 20 54 68 6f 79 74 12-17 Pat Thoyt
12f0: 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 s <patthoyts@us
1300: 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e ers.sourceforge.
1310: 6e 65 74 3e 0a 0a 09 2a 20 77 69 6e 2f 6d 61 6b net>...* win/mak
1320: 65 66 69 6c 65 2e 76 63 3a 20 20 41 64 64 65 64 efile.vc: Added
1330: 20 74 68 65 20 4d 53 56 43 20 62 75 69 6c 64 20 the MSVC build
1340: 73 79 73 74 65 6d 20 28 66 72 6f 6d 20 74 68 65 system (from the
1350: 20 54 63 6c 0a 09 2a 20 77 69 6e 2f 72 75 6c 65 Tcl..* win/rule
1360: 73 2e 76 63 3a 20 20 20 20 20 73 61 6d 70 6c 65 s.vc: sample
1370: 65 78 74 65 6e 73 69 6f 6e 29 2e 0a 09 2a 20 77 extension)...* w
1380: 69 6e 2f 6e 6d 61 6b 65 68 6c 70 2e 63 3a 0a 09 in/nmakehlp.c:..
1390: 2a 20 77 69 6e 2f 74 6c 73 2e 72 63 20 20 20 20 * win/tls.rc
13a0: 20 20 20 20 41 64 64 65 64 20 57 69 6e 64 6f 77 Added Window
13b0: 73 20 72 65 73 6f 75 72 63 65 20 66 69 6c 65 2e s resource file.
13c0: 0a 09 0a 09 2a 20 74 6c 73 2e 74 63 6c 3a 20 20 ....* tls.tcl:
13d0: 20 20 20 20 20 20 20 20 46 72 6f 6d 20 70 61 74 From pat
13e0: 63 68 20 23 39 34 38 31 35 35 2c 20 61 64 64 65 ch #948155, adde
13f0: 64 20 73 75 70 70 6f 72 74 20 66 6f 72 0a 09 20 d support for..
1400: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
1410: 20 20 20 61 6c 74 65 72 6e 61 74 65 20 73 6f 63 alternate soc
1420: 6b 65 74 20 63 6f 6d 6d 61 6e 64 73 2e 0a 09 2a ket commands...*
1430: 20 74 6c 73 2e 63 3a 20 20 20 20 20 20 20 20 20 tls.c:
1440: 20 20 20 51 75 69 65 74 65 6e 20 73 6f 6d 65 20 Quieten some
1450: 4d 53 56 43 20 77 61 72 6e 69 6e 67 73 2e 20 50 MSVC warnings. P
1460: 72 65 66 65 72 20 63 6b 61 6c 6c 6f 63 0a 09 20 refer ckalloc..
1470: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
1480: 20 20 20 6f 76 65 72 20 54 63 6c 5f 41 6c 6c 6f over Tcl_Allo
1490: 63 2e 20 28 44 61 76 69 64 20 47 72 61 76 65 72 c. (David Graver
14a0: 61 75 78 29 2e 0a 0a 32 30 30 34 2d 30 36 2d 32 aux)...2004-06-2
14b0: 39 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 9 Pat Thoyts <
14c0: 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e patthoyts@users.
14d0: 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e sourceforge.net>
14e0: 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 20 20 20 20 ...* tls.c:
14f0: 20 20 20 20 20 20 20 46 69 78 75 70 20 74 6f 20 Fixup to
1500: 62 75 69 6c 64 20 61 67 61 69 6e 73 74 20 74 63 build against tc
1510: 6c 20 38 2e 33 2e 33 2e 20 48 61 6e 64 6c 65 0a l 8.3.3. Handle.
1520: 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 20 20 20 20 .* tlsIO.c:
1530: 20 20 20 20 20 38 2e 34 20 63 6f 6e 73 74 69 66 8.4 constif
1540: 69 63 61 74 69 6f 6e 2e 0a 0a 09 2a 20 74 6c 73 ication....* tls
1550: 49 6e 74 2e 68 3a 20 20 20 20 20 20 20 20 20 41 Int.h: A
1560: 64 64 65 64 20 68 65 61 64 65 72 73 20 72 65 71 dded headers req
1570: 75 69 72 65 64 20 77 69 74 68 20 4d 53 56 43 20 uired with MSVC
1580: 6f 6e 20 57 69 6e 33 32 2e 0a 09 2a 20 74 6c 73 on Win32...* tls
1590: 58 35 30 39 2e 63 3a 20 20 20 20 20 20 20 20 75 X509.c: u
15a0: 6e 64 65 66 20 6d 69 6e 20 61 6e 64 20 6d 61 78 ndef min and max
15b0: 20 69 66 20 64 65 66 69 6e 65 64 20 28 77 69 6e if defined (win
15c0: 33 32 29 2e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 32)....* Makefil
15d0: 65 2e 69 6e 3a 20 20 20 20 20 20 46 69 78 65 64 e.in: Fixed
15e0: 20 74 6f 20 62 75 69 6c 64 20 6f 6e 20 77 69 6e to build on win
15f0: 33 32 20 75 73 69 6e 67 20 6d 73 79 73 20 77 69 32 using msys wi
1600: 74 68 0a 09 2a 20 61 63 6c 6f 63 61 6c 2e 6d 34 th..* aclocal.m4
1610: 3a 20 20 20 20 20 20 20 4d 53 56 43 2e 20 41 6c : MSVC. Al
1620: 73 6f 20 66 69 78 65 64 20 74 68 65 20 74 65 73 so fixed the tes
1630: 74 20 74 61 72 67 65 74 2e 0a 09 2a 20 63 6f 6e t target...* con
1640: 66 69 67 75 72 65 2e 69 6e 3a 0a 09 2a 20 63 6f figure.in:..* co
1650: 6e 66 69 67 75 72 65 3a 20 20 20 20 20 20 20 20 nfigure:
1660: 52 65 67 65 6e 65 72 61 74 65 64 2e 0a 09 2a 20 Regenerated...*
1670: 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 tclconfig/tcl.m4
1680: 3a 20 55 70 64 61 74 65 64 20 74 6f 20 6d 6f 73 : Updated to mos
1690: 74 20 72 65 63 65 6e 74 20 76 65 72 73 69 6f 6e t recent version
16a0: 2e 0a 0a 32 30 30 34 2d 30 33 2d 32 33 20 20 44 ...2004-03-23 D
16b0: 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 an Razzell <rese
16c0: 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 arch@starfishsys
16d0: 74 65 6d 73 2e 63 61 3e 0a 09 2a 20 74 6c 73 2e tems.ca>..* tls.
16e0: 63 3a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a c:..* tlsBIO.c:.
16f0: 09 2a 20 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74 .* tlsIO.c:..* t
1700: 6c 73 49 6e 74 2e 68 3a 09 46 69 78 65 64 20 74 lsInt.h:.Fixed t
1710: 79 70 65 20 6d 61 74 63 68 20 77 61 72 6e 69 6e ype match warnin
1720: 67 73 2e 0a 0a 32 30 30 34 2d 30 33 2d 31 39 20 gs...2004-03-19
1730: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 Jeff Hobbs <je
1740: 66 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e ffh@ActiveState.
1750: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 com>...* tls.c (
1760: 54 6c 73 5f 49 6e 69 74 29 3a 20 20 20 72 65 70 Tls_Init): rep
1770: 6c 61 63 65 64 20 6f 6c 64 65 72 20 54 45 41 20 laced older TEA
1780: 63 6f 6e 66 69 67 20 77 69 74 68 20 6e 65 77 65 config with newe
1790: 72 0a 09 2a 20 63 6f 6e 66 69 67 2f 2a 20 28 72 r..* config/* (r
17a0: 65 6d 6f 76 65 64 29 3a 0a 09 2a 20 70 6b 67 49 emoved):..* pkgI
17b0: 6e 64 65 78 2e 74 63 6c 2e 69 6e 2c 20 73 74 72 ndex.tcl.in, str
17c0: 6e 63 61 73 65 63 6d 70 2e 63 20 28 72 65 6d 6f ncasecmp.c (remo
17d0: 76 65 64 29 3a 0a 09 2a 20 4d 61 6b 65 66 69 6c ved):..* Makefil
17e0: 65 2e 69 6e 2c 20 61 63 6c 6f 63 61 6c 2e 6d 34 e.in, aclocal.m4
17f0: 2c 20 63 6f 6e 66 69 67 75 72 65 2c 20 63 6f 6e , configure, con
1800: 66 69 67 75 72 65 2e 69 6e 3a 0a 09 2a 20 74 63 figure.in:..* tc
1810: 6c 63 6f 6e 66 69 67 2f 52 45 41 44 4d 45 2e 74 lconfig/README.t
1820: 78 74 2c 20 74 63 6c 63 6f 6e 66 69 67 2f 69 6e xt, tclconfig/in
1830: 73 74 61 6c 6c 2d 73 68 2c 20 74 63 6c 63 6f 6e stall-sh, tclcon
1840: 66 69 67 2f 74 63 6c 2e 6d 34 3a 0a 0a 32 30 30 fig/tcl.m4:..200
1850: 34 2d 30 33 2d 31 37 20 20 44 61 6e 20 52 61 7a 4-03-17 Dan Raz
1860: 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 zell <research@s
1870: 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 tarfishsystems.c
1880: 61 3e 0a 0a 09 2a 20 74 6c 73 58 35 30 39 2e 63 a>...* tlsX509.c
1890: 3a 09 41 64 64 20 73 75 70 70 6f 72 74 20 66 6f :.Add support fo
18a0: 72 20 6c 6f 6e 67 20 73 65 72 69 61 6c 20 6e 75 r long serial nu
18b0: 6d 62 65 72 73 20 70 65 72 20 52 46 43 20 33 32 mbers per RFC 32
18c0: 38 30 2e 0a 09 09 09 46 6f 72 6d 61 74 20 69 73 80.....Format is
18d0: 20 6e 6f 77 20 68 65 78 61 64 65 63 69 6d 61 6c now hexadecimal
18e0: 2e 20 0a 09 09 09 5b 52 65 71 75 65 73 74 20 23 . ....[Request #
18f0: 39 31 35 33 31 33 5d 0a 09 09 09 43 6f 72 72 65 915313]....Corre
1900: 63 74 6c 79 20 63 6f 6e 76 65 72 74 20 63 65 72 ctly convert cer
1910: 74 69 66 69 63 61 74 65 20 44 69 73 74 69 6e 67 tificate Disting
1920: 75 69 73 68 65 64 20 4e 61 6d 65 73 0a 09 09 09 uished Names....
1930: 74 6f 20 54 63 6c 20 73 74 72 69 6e 67 20 72 65 to Tcl string re
1940: 70 72 65 73 65 6e 74 61 74 69 6f 6e 2e 20 20 45 presentation. E
1950: 6c 69 6d 69 6e 61 74 65 73 20 75 73 65 20 6f 66 liminates use of
1960: 0a 09 09 09 64 65 70 72 65 63 61 74 65 64 20 4f ....deprecated O
1970: 70 65 6e 53 53 4c 20 66 75 6e 63 74 69 6f 6e 2e penSSL function.
1980: 20 20 46 6f 72 6d 61 74 20 69 73 20 6e 6f 77 20 Format is now
1990: 63 6f 6d 70 6c 69 61 6e 74 0a 09 09 09 77 69 74 compliant....wit
19a0: 68 20 52 46 43 20 32 32 35 33 2e 20 20 5b 52 65 h RFC 2253. [Re
19b0: 71 75 65 73 74 20 23 39 31 35 33 31 35 5d 0a 0a quest #915315]..
19c0: 32 30 30 34 2d 30 32 2d 31 37 20 20 44 61 6e 20 2004-02-17 Dan
19d0: 52 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 Razzell <researc
19e0: 68 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d h@starfishsystem
19f0: 73 2e 63 61 3e 0a 0a 09 54 4c 53 20 31 2e 35 2e s.ca>...TLS 1.5.
1a00: 30 20 52 45 4c 45 41 53 45 0a 0a 32 30 30 34 2d 0 RELEASE..2004-
1a10: 30 32 2d 31 32 20 20 44 61 6e 20 52 61 7a 7a 65 02-12 Dan Razze
1a20: 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 73 74 61 ll.<research@sta
1a30: 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e rfishsystems.ca>
1a40: 0a 0a 09 2a 20 74 6c 73 2e 63 3a 09 41 6c 6c 6f ...* tls.c:.Allo
1a50: 77 20 76 65 72 69 66 79 20 63 61 6c 6c 62 61 63 w verify callbac
1a60: 6b 20 74 6f 20 72 65 74 75 72 6e 20 65 6d 70 74 k to return empt
1a70: 79 20 72 65 73 75 6c 74 2e 0a 09 2a 20 74 6c 73 y result...* tls
1a80: 2e 68 74 6d 3a 09 44 6f 63 75 6d 65 6e 74 20 63 .htm:.Document c
1a90: 61 6c 6c 62 61 63 6b 20 62 65 68 61 76 69 6f 72 allback behavior
1aa0: 73 2e 0a 0a 32 30 30 34 2d 30 32 2d 31 31 20 20 s...2004-02-11
1ab0: 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 Dan Razzell.<res
1ac0: 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79 earch@starfishsy
1ad0: 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 65 stems.ca>...* te
1ae0: 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 0a sts/tlsIO.test:.
1af0: 09 2a 20 72 65 6d 6f 74 65 2e 74 63 6c 3a 09 43 .* remote.tcl:.C
1b00: 6f 6d 70 6c 65 74 65 20 70 72 69 76 61 74 65 20 omplete private
1b10: 6b 65 79 20 6e 61 6d 65 20 63 68 61 6e 67 65 73 key name changes
1b20: 20 66 72 6f 6d 20 32 30 30 31 2d 30 36 2d 32 31 from 2001-06-21
1b30: 2e 0a 0a 32 30 30 34 2d 30 32 2d 30 33 20 20 44 ...2004-02-03 D
1b40: 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 an Razzell <rese
1b50: 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 arch@starfishsys
1b60: 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 4d 61 6b tems.ca>...* Mak
1b70: 65 66 69 6c 65 2e 69 6e 3a 09 52 65 6d 6f 76 65 efile.in:.Remove
1b80: 64 20 63 69 72 63 75 6c 61 72 20 64 65 70 65 6e d circular depen
1b90: 64 65 6e 63 79 2e 0a 09 2a 20 74 6c 73 49 6e 74 dency...* tlsInt
1ba0: 2e 68 3a 09 4d 61 6b 65 20 66 75 6e 63 74 69 6f .h:.Make functio
1bb0: 6e 20 64 65 63 6c 61 72 61 74 69 6f 6e 73 20 65 n declarations e
1bc0: 78 70 6c 69 63 69 74 2e 0a 09 2a 20 74 6c 73 2e xplicit...* tls.
1bd0: 63 3a 09 46 69 78 20 74 79 70 65 20 6d 61 74 63 c:.Fix type matc
1be0: 68 20 61 6e 64 20 75 6e 75 73 65 64 20 76 61 72 h and unused var
1bf0: 69 61 62 6c 65 20 77 61 72 6e 69 6e 67 73 2e 0a iable warnings..
1c00: 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 09 46 69 78 .* tlsBIO.c:.Fix
1c10: 20 74 79 70 65 20 6d 61 74 63 68 20 77 61 72 6e type match warn
1c20: 69 6e 67 2e 0a 0a 32 30 30 33 2d 31 32 2d 31 35 ing...2003-12-15
1c30: 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 Dan Razzell.<r
1c40: 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68 esearch@starfish
1c50: 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 systems.ca>...*
1c60: 70 6b 67 49 6e 64 65 78 2e 74 63 6c 2e 69 6e 3a pkgIndex.tcl.in:
1c70: 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 0a 09 2a 20 ..* tls.htm:..*
1c80: 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 tests/tlsIO.test
1c90: 3a 20 75 70 64 61 74 65 64 20 76 65 72 73 69 6f : updated versio
1ca0: 6e 20 74 6f 20 31 2e 35 2e 0a 0a 32 30 30 33 2d n to 1.5...2003-
1cb0: 31 30 2d 30 37 20 20 44 61 6e 20 52 61 7a 7a 65 10-07 Dan Razze
1cc0: 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 73 74 61 ll.<research@sta
1cd0: 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e rfishsystems.ca>
1ce0: 0a 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 68 65 ...* tests/ciphe
1cf0: 72 73 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 rs.test: updated
1d00: 20 6c 69 73 74 20 6f 66 20 74 65 73 74 65 64 20 list of tested
1d10: 63 69 70 68 65 72 73 20 74 6f 20 63 6f 72 72 65 ciphers to corre
1d20: 73 70 6f 6e 64 0a 09 2a 20 77 69 74 68 20 74 68 spond..* with th
1d30: 6f 73 65 20 61 76 61 69 6c 61 62 6c 65 20 66 72 ose available fr
1d40: 6f 6d 20 4f 70 65 6e 53 53 4c 2e 20 5b 52 65 71 om OpenSSL. [Req
1d50: 75 65 73 74 20 23 38 31 31 39 38 31 5d 0a 0a 32 uest #811981]..2
1d60: 30 30 33 2d 31 30 2d 30 37 20 20 44 61 6e 20 52 003-10-07 Dan R
1d70: 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 azzell <research
1d80: 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 @starfishsystems
1d90: 2e 63 61 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 .ca>...* tls.c:
1da0: 61 64 64 65 64 20 43 4f 4e 53 54 20 77 69 74 68 added CONST with
1db0: 20 69 6e 74 65 6e 74 20 73 69 6d 69 6c 61 72 20 intent similar
1dc0: 74 6f 20 74 68 6f 73 65 20 66 72 6f 6d 20 32 30 to those from 20
1dd0: 30 32 2d 30 32 2d 30 34 2e 0a 09 5b 52 65 71 75 02-02-04...[Requ
1de0: 65 73 74 20 23 38 31 31 39 31 31 5d 0a 0a 32 30 est #811911]..20
1df0: 30 33 2d 30 37 2d 30 37 20 20 4a 65 66 66 20 48 03-07-07 Jeff H
1e00: 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 obbs <jeffh@Act
1e10: 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 iveState.com>...
1e20: 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 * tls.c (Tls_Ini
1e30: 74 29 3a 20 20 20 61 64 64 65 64 20 74 6c 73 3a t): added tls:
1e40: 3a 6d 69 73 63 20 63 6f 6d 6d 61 6e 64 20 70 72 :misc command pr
1e50: 6f 76 69 64 65 64 20 62 79 0a 09 2a 20 74 6c 73 ovided by..* tls
1e60: 58 35 30 39 2e 63 3a 20 20 20 20 20 20 20 20 20 X509.c:
1e70: 20 57 6f 6a 63 69 65 63 68 20 4b 6f 63 6a 61 6e Wojciech Kocjan
1e80: 20 28 77 6f 6a 63 69 65 63 68 20 6b 6f 63 6a 61 (wojciech kocja
1e90: 6e 2e 6f 72 67 29 0a 09 2a 20 74 65 73 74 73 2f n.org)..* tests/
1ea0: 6b 65 79 74 65 73 74 31 2e 74 63 6c 3a 20 74 6f keytest1.tcl: to
1eb0: 20 65 78 70 6f 73 65 20 6d 6f 72 65 20 6c 6f 77 expose more low
1ec0: 2d 6c 65 76 65 6c 20 53 53 4c 20 63 6f 6d 6d 61 -level SSL comma
1ed0: 6e 64 73 0a 09 2a 20 74 65 73 74 73 2f 6b 65 79 nds..* tests/key
1ee0: 74 65 73 74 32 2e 74 63 6c 3a 0a 0a 32 30 30 33 test2.tcl:..2003
1ef0: 2d 30 35 2d 31 35 20 20 44 61 6e 20 52 61 7a 7a -05-15 Dan Razz
1f00: 65 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 73 74 ell.<research@st
1f10: 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 arfishsystems.ca
1f20: 3e 20 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c 3a 0a > ...* tls.tcl:.
1f30: 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 .* tlsInt.h:..*
1f40: 74 6c 73 2e 63 3a 20 61 64 64 20 73 75 70 70 6f tls.c: add suppo
1f50: 72 74 20 66 6f 72 20 62 69 6e 64 69 6e 67 20 61 rt for binding a
1f60: 20 70 61 73 73 77 6f 72 64 20 63 61 6c 6c 62 61 password callba
1f70: 63 6b 20 74 6f 20 74 68 65 20 73 6f 63 6b 65 74 ck to the socket
1f80: 2e 0a 09 4e 6f 77 20 65 61 63 68 20 73 6f 63 6b ...Now each sock
1f90: 65 74 20 63 61 6e 20 68 61 76 65 20 69 74 73 20 et can have its
1fa0: 6f 77 6e 20 63 6f 6d 6d 61 6e 64 20 61 6e 64 20 own command and
1fb0: 70 61 73 73 77 6f 72 64 20 63 61 6c 6c 62 61 63 password callbac
1fc0: 6b 73 20 69 6e 73 74 65 61 64 0a 09 6f 66 20 62 ks instead..of b
1fd0: 65 69 6e 67 20 66 6f 72 63 65 64 20 74 6f 20 68 eing forced to h
1fe0: 61 76 65 20 61 6c 6c 20 70 61 73 73 77 6f 72 64 ave all password
1ff0: 20 6d 61 6e 61 67 65 6d 65 6e 74 20 70 61 73 73 management pass
2000: 20 74 68 72 6f 75 67 68 20 61 20 63 6f 6d 6d 6f through a commo
2010: 6e 0a 09 70 72 6f 63 65 64 75 72 65 2e 20 20 54 n..procedure. T
2020: 68 65 20 63 6f 6d 6d 6f 6e 20 70 61 73 73 77 6f he common passwo
2030: 72 64 20 70 72 6f 63 65 64 75 72 65 20 69 73 20 rd procedure is
2040: 72 65 74 61 69 6e 65 64 20 66 6f 72 20 63 6f 6d retained for com
2050: 70 61 74 69 62 69 6c 69 74 79 0a 09 62 75 74 20 patibility..but
2060: 69 74 73 20 75 73 65 20 73 68 6f 75 6c 64 20 62 its use should b
2070: 65 20 44 45 50 52 45 43 41 54 45 44 2e 0a 09 41 e DEPRECATED...A
2080: 64 64 20 76 65 72 73 69 6f 6e 20 63 6f 6d 6d 61 dd version comma
2090: 6e 64 20 74 6f 20 72 65 74 75 72 6e 20 4f 70 65 nd to return Ope
20a0: 6e 53 53 4c 20 76 65 72 73 69 6f 6e 20 73 74 72 nSSL version str
20b0: 69 6e 67 2e 0a 09 52 65 6d 6f 76 65 20 75 6e 73 ing...Remove uns
20c0: 74 61 62 6c 65 20 77 6f 72 6b 61 72 6f 75 6e 64 table workaround
20d0: 73 20 6e 65 65 64 65 64 20 66 6f 72 20 76 65 72 s needed for ver
20e0: 69 66 79 20 69 6e 20 6f 62 73 6f 6c 65 74 65 20 ify in obsolete
20f0: 76 65 72 73 69 6f 6e 73 20 6f 66 0a 09 4f 70 65 versions of..Ope
2100: 6e 53 53 4c 2e 0a 09 46 69 78 20 6d 65 6d 6f 72 nSSL...Fix memor
2110: 79 20 6c 65 61 6b 2e 20 5b 52 65 71 75 65 73 74 y leak. [Request
2120: 20 23 36 34 30 36 36 30 5d 0a 09 4d 6f 72 65 20 #640660]..More
2130: 63 61 73 74 73 20 74 6f 20 65 6c 69 6d 69 6e 61 casts to elimina
2140: 74 65 20 63 6f 6d 70 69 6c 65 72 20 77 61 72 6e te compiler warn
2150: 69 6e 67 73 2e 0a 0a 09 2a 20 74 6c 73 2e 68 74 ings....* tls.ht
2160: 6d 3a 20 64 6f 63 75 6d 65 6e 74 20 70 61 73 73 m: document pass
2170: 77 6f 72 64 20 63 61 6c 6c 62 61 63 6b 2e 0a 09 word callback...
2180: 43 6f 72 72 65 63 74 20 74 65 63 68 6e 69 63 61 Correct technica
2190: 6c 20 61 6e 64 20 74 79 70 6f 67 72 61 70 68 69 l and typographi
21a0: 63 20 65 72 72 6f 72 73 2e 0a 0a 09 2a 20 52 45 c errors....* RE
21b0: 41 44 4d 45 2e 74 78 74 3a 20 69 64 65 6e 74 69 ADME.txt: identi
21c0: 66 79 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 4f fy versions of O
21d0: 70 65 6e 53 53 4c 20 77 68 69 63 68 20 66 69 78 penSSL which fix
21e0: 20 6b 6e 6f 77 6e 20 70 72 6f 62 6c 65 6d 73 2e known problems.
21f0: 0a 09 47 65 6e 65 72 61 6c 20 77 61 72 6e 69 6e ..General warnin
2200: 67 20 6f 66 20 73 65 63 75 72 69 74 79 20 70 72 g of security pr
2210: 6f 62 6c 65 6d 73 20 69 6e 20 6f 6c 64 65 72 20 oblems in older
2220: 76 65 72 73 69 6f 6e 73 20 6f 66 20 4f 70 65 6e versions of Open
2230: 53 53 4c 2e 0a 0a 32 30 30 32 2d 30 32 2d 30 34 SSL...2002-02-04
2240: 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a Jeff Hobbs <j
2250: 65 66 66 68 40 41 63 74 69 76 65 53 74 61 74 65 effh@ActiveState
2260: 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 68 74 .com>...* tls.ht
2270: 6d 3a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64 64 m:..* tls.c: add
2280: 65 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 6c ed support for l
2290: 6f 63 61 6c 20 63 65 72 74 69 66 69 63 61 74 65 ocal certificate
22a0: 20 73 74 61 74 75 73 20 63 68 65 63 6b 2c 20 61 status check, a
22b0: 73 20 77 65 6c 6c 0a 09 61 73 20 72 65 74 75 72 s well..as retur
22c0: 6e 69 6e 67 20 74 68 65 20 23 20 6f 66 20 62 69 ning the # of bi
22d0: 74 73 20 69 6e 20 74 68 65 20 73 65 73 73 69 6f ts in the sessio
22e0: 6e 20 6b 65 79 2e 20 5b 50 61 74 63 68 20 23 35 n key. [Patch #5
22f0: 30 35 36 39 38 5d 20 28 72 6f 73 65 29 0a 0a 09 05698] (rose)...
2300: 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 74 6c 73 49 * tls.c:..* tlsI
2310: 4f 2e 63 3a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 O.c:..* tlsBIO.c
2320: 3a 20 61 64 64 65 64 20 43 4f 4e 53 54 73 20 74 : added CONSTs t
2330: 6f 20 73 61 74 69 73 66 79 20 54 63 6c 20 38 2e o satisfy Tcl 8.
2340: 34 20 73 6f 75 72 63 65 73 2e 20 20 54 68 69 73 4 sources. This
2350: 20 6d 61 79 0a 09 67 69 76 65 20 77 61 72 6e 69 may..give warni
2360: 6e 67 73 20 77 68 65 6e 20 63 6f 6d 70 69 6c 65 ngs when compile
2370: 64 20 61 67 61 69 6e 73 74 20 38 2e 33 2c 20 62 d against 8.3, b
2380: 75 74 20 74 68 65 79 20 63 61 6e 20 62 65 20 69 ut they can be i
2390: 67 6e 6f 72 65 64 2e 0a 0a 09 2a 20 74 65 73 74 gnored....* test
23a0: 73 2f 73 69 6d 70 6c 65 43 6c 69 65 6e 74 2e 74 s/simpleClient.t
23b0: 63 6c 3a 0a 09 2a 20 74 65 73 74 73 2f 73 69 6d cl:..* tests/sim
23c0: 70 6c 65 53 65 72 76 65 72 2e 74 63 6c 3a 20 70 pleServer.tcl: p
23d0: 6f 69 6e 74 20 74 6f 20 75 70 64 61 74 65 64 20 oint to updated
23e0: 63 6c 69 65 6e 74 2f 73 65 72 76 65 72 20 6b 65 client/server ke
23f0: 79 20 66 69 6c 65 73 2e 0a 0a 09 2a 20 74 65 73 y files....* tes
2400: 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 0a 09 ts/tlsIO.test:..
2410: 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72 73 2e * tests/ciphers.
2420: 74 65 73 74 3a 20 75 70 64 61 74 65 64 20 74 6f test: updated to
2430: 20 6c 6f 61 64 20 74 6c 73 20 66 72 6f 6d 20 62 load tls from b
2440: 75 69 6c 64 20 64 69 72 2e 0a 0a 09 2a 20 4d 61 uild dir....* Ma
2450: 6b 65 66 69 6c 65 2e 69 6e 3a 20 72 65 6d 6f 76 kefile.in: remov
2460: 65 64 20 73 74 72 6e 63 61 73 65 63 6d 70 20 66 ed strncasecmp f
2470: 72 6f 6d 20 64 65 66 61 75 6c 74 20 6f 62 6a 65 rom default obje
2480: 63 74 20 73 65 74 2e 20 20 54 68 69 73 0a 09 69 ct set. This..i
2490: 73 20 6f 6e 6c 79 20 6e 65 65 64 65 64 20 6f 6e s only needed on
24a0: 20 74 68 65 20 4d 61 63 2c 20 61 6e 64 20 54 63 the Mac, and Tc
24b0: 6c 20 73 74 75 62 73 20 70 72 6f 76 69 64 65 73 l stubs provides
24c0: 20 69 74 2e 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 it....* configu
24d0: 72 65 3a 20 72 65 67 65 6e 27 65 64 2e 0a 09 2a re: regen'ed...*
24e0: 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 75 configure.in: u
24f0: 70 64 61 74 65 64 20 74 6f 20 31 2e 35 2e 30 20 pdated to 1.5.0
2500: 66 6f 72 20 6e 65 78 74 20 72 65 6c 65 61 73 65 for next release
2510: 2e 0a 09 43 68 61 6e 67 65 64 20 64 65 66 61 75 ...Changed defau
2520: 6c 74 20 6f 70 65 6e 73 73 6c 20 6c 6f 63 61 74 lt openssl locat
2530: 69 6f 6e 20 74 6f 20 2f 75 73 72 2f 6c 6f 63 61 ion to /usr/loca
2540: 6c 2f 73 73 6c 20 28 74 68 69 73 20 69 73 20 77 l/ssl (this is w
2550: 68 65 72 65 0a 09 6f 70 65 6e 73 73 6c 20 30 2e here..openssl 0.
2560: 39 2e 36 63 20 69 6e 73 74 61 6c 6c 73 20 62 79 9.6c installs by
2570: 20 64 65 66 61 75 6c 74 29 2e 0a 09 43 68 61 6e default)...Chan
2580: 67 65 64 20 74 6f 20 75 73 65 20 70 75 62 6c 69 ged to use publi
2590: 63 20 54 63 6c 20 68 65 61 64 65 72 73 20 28 70 c Tcl headers (p
25a0: 72 69 76 61 74 65 20 6e 6f 74 20 6e 65 65 64 65 rivate not neede
25b0: 64 29 2e 0a 0a 32 30 30 31 2d 30 36 2d 32 31 20 d)...2001-06-21
25c0: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 Jeff Hobbs <je
25d0: 66 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e ffh@ActiveState.
25e0: 63 6f 6d 3e 0a 0a 09 54 4c 53 20 31 2e 34 2e 31 com>...TLS 1.4.1
25f0: 20 52 45 4c 45 41 53 45 0a 0a 09 2a 20 63 6f 6e RELEASE...* con
2600: 66 69 67 75 72 65 3a 20 61 64 64 65 64 20 63 6f figure: added co
2610: 6e 66 69 67 75 72 65 20 74 6f 20 43 56 53 0a 09 nfigure to CVS..
2620: 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 * configure.in:
2630: 6d 6f 76 65 64 20 74 6f 20 70 61 74 63 68 6c 65 moved to patchle
2640: 76 65 6c 20 31 2e 34 2e 31 0a 0a 09 2a 20 4d 61 vel 1.4.1...* Ma
2650: 6b 65 66 69 6c 65 2e 69 6e 3a 20 63 6f 72 72 65 kefile.in: corre
2660: 63 74 65 64 20 27 64 69 73 74 27 20 74 61 72 67 cted 'dist' targ
2670: 65 74 0a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 et...* tests/cer
2680: 74 73 2f 66 69 6c 65 2e 73 72 6c 3a 0a 09 2a 20 ts/file.srl:..*
2690: 74 65 73 74 73 2f 63 65 72 74 73 2f 63 61 2e 70 tests/certs/ca.p
26a0: 65 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 em:..* tests/cer
26b0: 74 73 2f 63 6c 69 65 6e 74 2e 6b 65 79 3a 0a 09 ts/client.key:..
26c0: 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63 6c * tests/certs/cl
26d0: 69 65 6e 74 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 ient.pem:..* tes
26e0: 74 73 2f 63 65 72 74 73 2f 63 6c 69 65 6e 74 2e ts/certs/client.
26f0: 72 65 71 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 req:..* tests/ce
2700: 72 74 73 2f 70 72 69 76 6b 65 79 2e 70 65 6d 3a rts/privkey.pem:
2710: 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f ..* tests/certs/
2720: 73 65 72 76 65 72 2e 6b 65 79 3a 0a 09 2a 20 74 server.key:..* t
2730: 65 73 74 73 2f 63 65 72 74 73 2f 73 65 72 76 65 ests/certs/serve
2740: 72 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 74 73 2f r.pem:..* tests/
2750: 63 65 72 74 73 2f 73 65 72 76 65 72 2e 72 65 71 certs/server.req
2760: 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 :..* tests/certs
2770: 2f 63 61 63 65 72 74 2e 70 65 6d 3a 20 72 65 70 /cacert.pem: rep
2780: 6c 61 63 65 64 20 62 79 20 6e 65 77 20 63 61 2e laced by new ca.
2790: 70 65 6d 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 pem..* tests/cer
27a0: 74 73 2f 73 6b 65 79 2e 70 65 6d 3a 20 72 65 70 ts/skey.pem: rep
27b0: 6c 61 63 65 64 20 62 79 20 6e 65 77 20 73 65 72 laced by new ser
27c0: 76 65 72 2e 6b 65 79 0a 09 2a 20 74 65 73 74 73 ver.key..* tests
27d0: 2f 63 65 72 74 73 2f 63 6b 65 79 2e 70 65 6d 3a /certs/ckey.pem:
27e0: 20 72 65 70 6c 61 63 65 64 20 62 79 20 6e 65 77 replaced by new
27f0: 20 63 6c 69 65 6e 74 2e 6b 65 79 0a 09 2a 20 74 client.key..* t
2800: 65 73 74 73 2f 63 65 72 74 73 2f 52 45 41 44 4d ests/certs/READM
2810: 45 2e 74 78 74 3a 20 6e 65 77 20 73 65 74 20 6f E.txt: new set o
2820: 66 20 74 65 73 74 20 63 65 72 74 69 66 69 63 61 f test certifica
2830: 74 65 73 20 77 69 74 68 20 73 6f 6d 65 0a 09 52 tes with some..R
2840: 45 41 44 4d 45 20 69 6e 66 6f 20 6f 6e 20 74 68 EADME info on th
2850: 65 69 72 20 67 65 6e 65 72 61 74 69 6f 6e 2e 0a eir generation..
2860: 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72 ..* tests/cipher
2870: 73 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 20 s.test: updated
2880: 63 69 70 68 65 72 73 20 65 78 70 65 63 74 65 64 ciphers expected
2890: 20 77 69 74 68 20 64 65 66 61 75 6c 74 0a 09 6f with default..o
28a0: 70 65 6e 73 73 6c 20 62 75 69 6c 64 2e 0a 0a 09 penssl build....
28b0: 2a 20 74 65 73 74 73 2f 74 63 6c 49 4f 2e 74 65 * tests/tclIO.te
28c0: 73 74 3a 20 75 70 64 61 74 65 64 20 74 6f 20 75 st: updated to u
28d0: 73 65 20 6e 65 77 20 6e 61 6d 65 73 20 66 6f 72 se new names for
28e0: 20 63 65 72 74 73 2f 6b 65 79 73 2e 0a 0a 32 30 certs/keys...20
28f0: 30 31 2d 30 33 2d 31 34 20 20 4a 65 66 66 20 48 01-03-14 Jeff H
2900: 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 67 69 6d obbs <jeffh@gim
2910: 6c 65 74 2e 61 63 74 69 76 65 73 74 61 74 65 2e let.activestate.
2920: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 com>...* tls.c (
2930: 54 6c 73 5f 49 6e 69 74 29 3a 20 61 64 64 20 64 Tls_Init): add d
2940: 6f 2f 77 68 69 6c 65 20 66 6f 72 20 72 61 6e 64 o/while for rand
2950: 6f 6d 20 6e 75 6d 62 65 72 20 69 6e 69 74 69 61 om number initia
2960: 6c 69 7a 61 74 69 6f 6e 0a 09 74 6f 20 77 6f 72 lization..to wor
2970: 6b 20 61 72 6f 75 6e 64 20 73 6f 6d 65 20 4f 53 k around some OS
2980: 65 73 20 71 75 69 72 6b 73 2e 20 20 28 52 61 6c es quirks. (Ral
2990: 70 68 2e 42 69 6c 6c 65 73 40 74 65 6c 74 65 63 ph.Billes@teltec
29a0: 68 2e 63 6f 6d 2e 61 75 29 0a 0a 32 30 30 30 2d h.com.au)..2000-
29b0: 30 39 2d 30 37 20 20 4a 65 66 66 20 48 6f 62 62 09-07 Jeff Hobb
29c0: 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 s <hobbs@script
29d0: 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 ics.com>...* tls
29e0: 49 4f 2e 63 20 28 54 6c 73 5f 43 68 61 6e 6e 65 IO.c (Tls_Channe
29f0: 6c 54 79 70 65 29 3a 20 73 65 74 20 74 79 70 65 lType): set type
2a00: 4e 61 6d 65 20 66 69 65 6c 64 20 6f 66 20 63 68 Name field of ch
2a10: 61 6e 6e 65 6c 20 74 79 70 65 20 74 6f 0a 09 22 annel type to.."
2a20: 74 6c 73 22 20 28 74 68 69 73 20 67 6f 74 20 6c tls" (this got l
2a30: 6f 73 74 20 69 6e 20 6d 6f 76 65 20 74 6f 20 64 ost in move to d
2a40: 79 6e 61 6d 69 63 20 76 65 72 73 69 6f 6e 20 63 ynamic version c
2a50: 6f 6d 70 61 74 61 62 69 6c 69 74 79 0a 09 63 68 ompatability..ch
2a60: 65 63 6b 69 6e 67 29 2e 0a 0a 32 30 30 30 2d 30 ecking)...2000-0
2a70: 38 2d 32 33 20 20 4a 65 66 66 20 48 6f 62 62 73 8-23 Jeff Hobbs
2a80: 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 <hobbs@scripti
2a90: 63 73 2e 63 6f 6d 3e 0a 0a 09 54 4c 53 20 31 2e cs.com>...TLS 1.
2aa0: 34 20 52 45 4c 45 41 53 45 44 0a 0a 09 2a 20 4d 4 RELEASED...* M
2ab0: 61 6b 65 66 69 6c 65 2e 69 6e 20 28 64 69 73 74 akefile.in (dist
2ac0: 29 3a 20 63 72 65 61 74 65 20 64 69 73 74 20 74 ): create dist t
2ad0: 61 72 67 65 74 20 66 6f 72 20 61 72 63 68 69 76 arget for archiv
2ae0: 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 73 0a e distributions.
2af0: 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e ..* tests/tlsIO.
2b00: 74 65 73 74 20 28 74 6c 73 49 4f 2d 38 2e 31 29 test (tlsIO-8.1)
2b10: 3a 20 61 64 64 65 64 20 61 20 64 65 6c 61 79 20 : added a delay
2b20: 6f 6e 20 74 68 65 20 61 63 63 65 70 74 20 63 6c on the accept cl
2b30: 6f 73 65 0a 09 74 6f 20 6d 61 6b 65 20 74 68 65 ose..to make the
2b40: 20 74 65 73 74 20 77 6f 72 6b 20 77 69 74 68 20 test work with
2b50: 4f 70 65 6e 53 53 4c 20 6f 6e 20 57 69 6e 64 6f OpenSSL on Windo
2b60: 77 73 20 28 64 6f 65 73 6e 27 74 20 61 66 66 65 ws (doesn't affe
2b70: 63 74 0a 09 6f 74 68 65 72 20 62 75 69 6c 64 73 ct..other builds
2b80: 29 2e 0a 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 20 )....* tls.htm:
2b90: 75 70 64 61 74 65 64 20 77 69 74 68 20 6e 6f 74 updated with not
2ba0: 65 73 20 66 6f 72 20 31 2e 34 2e 0a 0a 32 30 30 es for 1.4...200
2bb0: 30 2d 30 38 2d 32 31 20 20 4a 65 66 66 20 48 6f 0-08-21 Jeff Ho
2bc0: 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 bbs <hobbs@scri
2bd0: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 ptics.com>...* t
2be0: 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a ests/tlsIO.test:
2bf0: 20 72 65 71 75 69 72 65 20 61 74 20 6c 65 61 73 require at leas
2c00: 74 20 74 6c 73 31 2e 34 20 69 6e 20 74 65 73 74 t tls1.4 in test
2c10: 20 73 75 69 74 65 2e 0a 0a 32 30 30 30 2d 30 38 suite...2000-08
2c20: 2d 31 38 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -18 Jeff Hobbs
2c30: 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 <hobbs@scriptic
2c40: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 s.com>...* tls.c
2c50: 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 61 64 64 (Tls_Init): add
2c60: 65 64 20 63 61 6c 6c 20 74 6f 20 52 41 4e 44 5f ed call to RAND_
2c70: 73 65 65 64 20 74 6f 20 73 65 65 64 20 74 68 65 seed to seed the
2c80: 20 53 53 4c 20 72 61 6e 64 6f 6d 0a 09 6e 75 6d SSL random..num
2c90: 62 65 72 20 67 65 6e 65 72 61 74 6f 72 2e 20 20 ber generator.
2ca0: 57 69 74 68 6f 75 74 20 74 68 69 73 2c 20 4f 70 Without this, Op
2cb0: 65 6e 53 53 4c 20 30 2e 39 2e 35 20 63 68 6f 6b enSSL 0.9.5 chok
2cc0: 65 73 2c 20 61 6e 64 20 69 6e 20 61 6e 79 0a 09 es, and in any..
2cd0: 63 61 73 65 20 69 74 20 69 73 20 61 20 62 69 67 case it is a big
2ce0: 20 73 65 63 75 72 69 74 79 20 68 6f 6c 65 20 74 security hole t
2cf0: 6f 20 64 6f 20 77 69 74 68 6f 75 74 20 69 74 2e o do without it.
2d00: 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 ...* configure.i
2d10: 6e 20 28 4f 50 45 4e 53 53 4c 29 3a 20 61 64 64 n (OPENSSL): add
2d20: 65 64 20 4e 4f 5f 49 44 45 41 20 61 6e 64 20 4e ed NO_IDEA and N
2d30: 4f 5f 52 43 35 20 64 65 66 69 6e 65 73 20 62 79 O_RC5 defines by
2d40: 0a 09 64 65 66 61 75 6c 74 20 77 68 65 6e 20 63 ..default when c
2d50: 6f 6d 70 69 6c 69 6e 67 20 77 69 74 68 20 4f 70 ompiling with Op
2d60: 65 6e 53 53 4c 2e 0a 0a 09 2a 20 74 6c 73 49 6e enSSL....* tlsIn
2d70: 74 2e 68 3a 20 61 64 64 65 64 20 65 72 72 2e 68 t.h: added err.h
2d80: 20 69 6e 63 6c 75 64 65 0a 0a 09 2a 20 74 6c 73 include...* tls
2d90: 42 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e BIO.c:..* tlsIO.
2da0: 63 3a 20 63 6f 72 72 65 63 74 65 64 20 70 65 64 c: corrected ped
2db0: 61 6e 74 69 63 20 63 61 73 74 20 65 72 72 6f 72 antic cast error
2dc0: 73 2e 0a 0a 32 30 30 30 2d 30 38 2d 31 36 20 20 s...2000-08-16
2dd0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 Jeff Hobbs <hob
2de0: 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d bs@scriptics.com
2df0: 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 68 >...* tests/ciph
2e00: 65 72 73 2e 74 65 73 74 3a 20 69 6d 70 72 6f 76 ers.test: improv
2e10: 65 64 20 61 62 69 6c 69 74 79 20 74 6f 20 63 68 ed ability to ch
2e20: 61 6e 67 65 20 63 6f 6e 73 74 72 61 69 6e 74 0a ange constraint.
2e30: 09 73 65 74 74 69 6e 67 20 66 6f 72 20 77 68 65 .setting for whe
2e40: 74 68 65 72 20 75 73 65 72 20 63 6f 6d 70 69 6c ther user compil
2e50: 65 64 20 61 67 61 69 6e 73 74 20 52 53 41 20 6f ed against RSA o
2e60: 72 20 4f 70 65 6e 53 53 4c 20 6c 69 62 73 2e 0a r OpenSSL libs..
2e70: 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 ..* tls.c (Tls_I
2e80: 6e 69 74 29 3a 20 63 6f 72 72 65 63 74 65 64 20 nit): corrected
2e90: 69 6e 74 65 72 70 72 65 74 61 74 69 6f 6e 20 6f interpretation o
2ea0: 66 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 f version number
2eb0: 0a 09 28 70 61 74 63 68 6c 65 76 65 6c 20 61 6e ..(patchlevel an
2ec0: 64 20 72 65 6c 65 61 73 65 2f 73 65 72 69 61 6c d release/serial
2ed0: 20 77 65 72 65 20 73 77 61 70 70 65 64 29 2e 0a were swapped)..
2ee0: 0a 32 30 30 30 2d 30 38 2d 31 35 20 20 4a 65 66 .2000-08-15 Jef
2ef0: 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 f Hobbs <hobbs@
2f00: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a scriptics.com>..
2f10: 09 2a 20 52 45 41 44 4d 45 2e 74 78 74 3a 20 61 .* README.txt: a
2f20: 64 64 65 64 20 6e 6f 74 65 73 20 61 62 6f 75 74 dded notes about
2f30: 20 6e 65 65 64 20 74 6f 20 75 73 65 20 38 2e 32 need to use 8.2
2f40: 2e 30 2b 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e .0+....* tlsInt.
2f50: 68 3a 0a 09 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 h:..* tls.c:..*
2f60: 74 6c 73 49 4f 2e 63 3a 20 63 6f 72 72 65 63 74 tlsIO.c: correct
2f70: 65 64 20 73 74 72 75 63 74 75 72 65 20 69 6e 69 ed structure ini
2f80: 74 69 61 6c 69 7a 61 74 69 6f 6e 20 74 6f 20 77 tialization to w
2f90: 6f 72 6b 20 77 68 65 6e 0a 09 63 6f 6d 70 69 6c ork when..compil
2fa0: 69 6e 67 20 77 69 74 68 20 38 2e 32 2e 20 20 4e ing with 8.2. N
2fb0: 6f 77 20 63 6f 6d 70 69 6c 65 73 20 77 69 74 68 ow compiles with
2fc0: 20 38 2e 32 2b 20 61 6e 64 20 74 65 73 74 65 64 8.2+ and tested
2fd0: 20 74 6f 20 77 6f 72 6b 0a 09 77 69 74 68 20 38 to work..with 8
2fe0: 2e 32 2b 20 61 6e 64 20 64 79 6e 61 6d 69 63 61 .2+ and dynamica
2ff0: 6c 6c 79 20 61 64 6a 75 73 74 20 74 6f 20 74 68 lly adjust to th
3000: 65 20 76 65 72 73 69 6f 6e 20 6f 66 20 54 63 6c e version of Tcl
3010: 20 69 74 20 77 61 73 0a 09 6c 6f 61 64 65 64 20 it was..loaded
3020: 69 6e 74 6f 2e 20 20 54 4c 53 20 77 69 6c 6c 20 into. TLS will
3030: 66 61 69 6c 20 74 68 65 20 74 65 73 74 20 73 75 fail the test su
3040: 69 74 65 20 77 69 74 68 20 54 63 6c 20 38 2e 32 ite with Tcl 8.2
3050: 2d 38 2e 33 2e 31 2e 0a 0a 09 2a 20 74 65 73 74 -8.3.1....* test
3060: 73 2f 61 6c 6c 2e 74 63 6c 3a 20 61 64 64 65 64 s/all.tcl: added
3070: 20 63 61 74 63 68 20 61 72 6f 75 6e 64 20 3a 3a catch around ::
3080: 74 63 6c 74 65 73 74 3a 3a 6e 6f 72 6d 61 6c 69 tcltest::normali
3090: 7a 65 50 61 74 68 0a 09 62 65 63 61 75 73 65 20 zePath..because
30a0: 69 74 20 64 6f 65 73 6e 27 74 20 65 78 69 73 74 it doesn't exist
30b0: 20 69 6e 20 70 72 65 2d 38 2e 33 20 74 63 6c 74 in pre-8.3 tclt
30c0: 65 73 74 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 73 est....* tests/s
30d0: 69 6d 70 6c 65 43 6c 69 65 6e 74 2e 74 63 6c 3a impleClient.tcl:
30e0: 20 0a 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c ..* tests/simpl
30f0: 65 53 65 72 76 65 72 2e 74 63 6c 3a 20 61 64 64 eServer.tcl: add
3100: 65 64 20 73 69 6d 70 6c 65 20 63 6c 69 65 6e 74 ed simple client
3110: 2f 73 65 72 76 65 72 20 74 65 73 74 20 73 63 72 /server test scr
3120: 69 70 74 73 0a 09 74 68 61 74 20 75 73 65 20 74 ipts..that use t
3130: 65 73 74 20 63 65 72 74 73 20 61 6e 64 20 63 61 est certs and ca
3140: 6e 20 64 6f 20 73 69 6d 70 6c 65 20 73 74 72 65 n do simple stre
3150: 73 73 20 74 65 73 74 73 2e 0a 0a 32 30 30 30 2d ss tests...2000-
3160: 30 38 2d 31 34 20 20 4a 65 66 66 20 48 6f 62 62 08-14 Jeff Hobb
3170: 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 s <hobbs@script
3180: 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 ics.com>...* tls
3190: 49 6e 74 2e 68 3a 0a 09 2a 20 74 6c 73 49 4f 2e Int.h:..* tlsIO.
31a0: 63 3a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a c:..* tlsBIO.c:.
31b0: 09 2a 20 74 6c 73 2e 63 3a 20 63 68 61 6e 67 65 .* tls.c: change
31c0: 64 20 61 72 6f 75 6e 64 20 74 6f 20 6f 6e 6c 79 d around to only
31d0: 20 77 6f 72 6b 69 6e 67 20 77 69 74 68 20 38 2e working with 8.
31e0: 32 2e 30 2b 20 28 38 2e 33 2e 32 2b 0a 09 70 72 2.0+ (8.3.2+..pr
31f0: 65 66 65 72 72 65 64 29 2c 20 77 69 74 68 20 72 eferred), with r
3200: 75 6e 74 69 6d 65 20 63 68 65 63 6b 73 20 66 6f untime checks fo
3210: 72 20 70 72 65 2d 20 61 6e 64 20 70 6f 73 74 2d r pre- and post-
3220: 69 6f 2d 72 65 77 72 69 74 65 2e 0a 0a 09 2a 20 io-rewrite....*
3230: 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 tls.c (Tls_Init)
3240: 3a 20 63 68 61 6e 67 65 64 20 69 74 20 74 6f 20 : changed it to
3250: 72 65 71 75 69 72 65 20 38 2e 33 2e 32 20 77 68 require 8.3.2 wh
3260: 65 6e 20 54 63 6c 5f 49 6e 69 74 53 74 75 62 73 en Tcl_InitStubs
3270: 0a 09 77 61 73 20 63 61 6c 6c 65 64 20 62 65 63 ..was called bec
3280: 61 75 73 65 20 77 65 20 64 6f 6e 27 74 20 77 61 ause we don't wa
3290: 6e 74 20 70 65 6f 70 6c 65 20 75 73 69 6e 67 20 nt people using
32a0: 54 4c 53 20 77 69 74 68 20 74 68 65 0a 09 6f 72 TLS with the..or
32b0: 69 67 69 6e 61 6c 20 73 74 61 63 6b 65 64 20 63 iginal stacked c
32c0: 68 61 6e 6e 65 6c 20 69 6d 70 6c 65 6d 65 6e 74 hannel implement
32d0: 61 74 69 6f 6e 2e 0a 0a 32 30 30 30 2d 30 37 2d ation...2000-07-
32e0: 32 36 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 26 Jeff Hobbs
32f0: 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 <hobbs@scriptics
3300: 2e 63 6f 6d 3e 0a 0a 09 2a 20 6d 65 72 67 65 64 .com>...* merged
3310: 20 61 6c 6c 20 63 68 61 6e 67 65 73 20 66 72 6f all changes fro
3320: 6d 20 74 6c 73 2d 31 2d 33 2d 69 6f 2d 72 65 77 m tls-1-3-io-rew
3330: 72 69 74 65 20 62 61 63 6b 20 69 6e 74 6f 20 6d rite back into m
3340: 61 69 6e 20 62 72 61 6e 63 68 0a 0a 09 2a 20 74 ain branch...* t
3350: 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a ests/tlsIO.test:
3360: 20 75 70 64 61 74 65 64 20 63 6f 6d 6d 65 6e 74 updated comment
3370: 73 2c 20 66 69 78 65 64 20 61 20 70 63 43 72 61 s, fixed a pcCra
3380: 73 68 20 63 61 73 65 20 74 68 61 74 0a 09 77 61 sh case that..wa
3390: 73 20 64 75 65 20 74 6f 20 64 65 62 75 67 20 61 s due to debug a
33a0: 73 73 65 72 74 69 6f 6e 20 69 6e 20 57 69 6e 64 ssertion in Wind
33b0: 6f 77 73 20 53 53 4c 2e 0a 0a 09 2a 20 74 6c 73 ows SSL....* tls
33c0: 2e 63 20 28 49 6d 70 6f 72 74 4f 62 6a 43 6d 64 .c (ImportObjCmd
33d0: 29 3a 20 72 65 6d 6f 76 65 64 20 75 6e 6e 65 63 ): removed unnec
33e0: 65 73 73 61 72 79 20 75 73 65 20 6f 66 20 27 62 essary use of 'b
33f0: 69 6f 27 20 61 72 67 2e 0a 09 28 54 6c 73 5f 49 io' arg...(Tls_I
3400: 6e 69 74 29 3a 20 63 68 65 63 6b 20 72 65 74 75 nit): check retu
3410: 72 6e 20 76 61 6c 75 65 20 6f 66 20 53 53 4c 5f rn value of SSL_
3420: 6c 69 62 72 61 72 79 5f 69 6e 69 74 2e 20 20 41 library_init. A
3430: 6c 73 6f 20 6c 6f 74 73 20 6f 66 0a 09 77 68 69 lso lots of..whi
3440: 74 65 73 70 61 63 65 20 63 6c 65 61 6e 75 70 20 tespace cleanup
3450: 28 6d 6f 72 65 20 6c 69 6b 65 20 54 63 6c 20 45 (more like Tcl E
3460: 6e 67 20 73 74 79 6c 65 20 67 75 69 64 65 29 2c ng style guide),
3470: 20 62 75 74 20 6e 6f 74 20 61 6c 6c 0a 09 63 6f but not all..co
3480: 64 65 20 77 61 73 20 63 6c 65 61 6e 65 64 20 75 de was cleaned u
3490: 70 2e 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a p....* tlsBIO.c:
34a0: 20 6d 69 6e 6f 72 20 77 68 69 74 65 73 70 61 63 minor whitespac
34b0: 65 20 63 6c 65 61 6e 75 70 0a 0a 09 2a 20 74 6c e cleanup...* tl
34c0: 73 49 4f 2e 63 3a 20 6d 69 6e 6f 72 20 77 68 69 sIO.c: minor whi
34d0: 74 65 73 70 61 63 65 20 63 6c 65 61 6e 75 70 2e tespace cleanup.
34e0: 0a 09 28 54 6c 73 49 6e 70 75 74 50 72 6f 63 2c ..(TlsInputProc,
34f0: 20 54 6c 73 4f 75 74 70 75 74 50 72 6f 63 29 3a TlsOutputProc):
3500: 20 41 64 64 65 64 20 45 52 52 5f 63 6c 65 61 72 Added ERR_clear
3510: 5f 65 72 72 6f 72 20 62 65 66 6f 72 65 20 63 61 _error before ca
3520: 6c 6c 73 0a 09 74 6f 20 42 49 4f 5f 72 65 61 64 lls..to BIO_read
3530: 20 6f 72 20 42 49 4f 5f 77 72 69 74 65 2c 20 62 or BIO_write, b
3540: 65 63 61 75 73 65 20 77 65 20 63 6f 75 6c 64 20 ecause we could
3550: 6f 74 68 65 72 77 69 73 65 20 65 6e 64 20 75 70 otherwise end up
3560: 0a 09 70 75 6c 6c 69 6e 67 20 61 6e 20 65 72 72 ..pulling an err
3570: 6f 72 20 6f 66 66 20 74 68 65 20 73 74 61 63 6b or off the stack
3580: 20 74 68 61 74 20 64 69 64 6e 27 74 20 62 65 6c that didn't bel
3590: 6f 6e 67 20 74 6f 20 75 73 2e 20 20 41 6c 73 6f ong to us. Also
35a0: 0a 09 63 6c 65 61 6e 75 70 20 75 70 20 65 78 63 ..cleanup up exc
35b0: 65 73 73 69 76 65 20 75 73 65 20 6f 66 20 67 6f essive use of go
35c0: 74 6f 73 2e 0a 0a 32 30 30 30 2d 30 37 2d 32 30 tos...2000-07-20
35d0: 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 Jeff Hobbs <h
35e0: 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 obbs@scriptics.c
35f0: 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c om>...* tests/tl
3600: 73 49 4f 2e 74 65 73 74 3a 20 63 6f 72 72 65 63 sIO.test: correc
3610: 74 65 64 20 76 61 72 69 6f 75 73 20 74 65 73 74 ted various test
3620: 73 20 74 6f 20 62 65 20 63 6f 72 72 65 63 74 20 s to be correct
3630: 66 6f 72 20 54 4c 53 0a 09 73 74 61 63 6b 65 64 for TLS..stacked
3640: 20 63 68 61 6e 6e 65 6c 73 20 28 61 73 20 6f 70 channels (as op
3650: 70 6f 73 65 64 20 74 6f 20 74 68 65 20 73 74 61 posed to the sta
3660: 6e 64 61 72 64 20 73 6f 63 6b 65 74 73 20 74 68 ndard sockets th
3670: 65 20 74 65 73 74 0a 09 73 75 69 74 65 20 77 61 e test..suite wa
3680: 73 20 61 64 6f 70 74 65 64 20 66 72 6f 6d 29 2e s adopted from).
3690: 20 20 4b 65 79 20 64 69 66 66 65 72 65 6e 63 65 Key difference
36a0: 73 20 61 72 65 20 74 68 61 74 20 54 4c 53 20 63 s are that TLS c
36b0: 61 6e 6e 6f 74 0a 09 6f 70 65 72 61 74 65 20 69 annot..operate i
36c0: 6e 20 6f 6e 65 20 70 72 6f 63 65 73 73 20 77 69 n one process wi
36d0: 74 68 6f 75 74 20 61 6c 6c 20 63 68 61 6e 6e 65 thout all channe
36e0: 6c 73 20 62 65 69 6e 67 20 6e 6f 6e 2d 62 6c 6f ls being non-blo
36f0: 63 6b 69 6e 67 2c 20 6f 72 0a 09 74 68 65 20 68 cking, or..the h
3700: 61 6e 64 73 68 61 6b 65 20 77 69 6c 6c 20 62 6c andshake will bl
3710: 6f 63 6b 2c 20 61 6e 64 20 68 61 6e 64 73 68 61 ock, and handsha
3720: 6b 69 6e 67 20 6d 75 73 74 20 62 65 20 66 6f 72 king must be for
3730: 63 65 64 20 69 6e 20 73 6f 6d 65 0a 09 63 61 73 ced in some..cas
3740: 65 73 2e 20 20 41 6c 73 6f 2c 20 68 61 6e 64 73 es. Also, hands
3750: 68 61 6b 65 73 20 64 6f 6e 27 74 20 73 65 65 6d hakes don't seem
3760: 20 74 6f 20 63 6f 6d 70 6c 65 74 65 20 75 6e 6c to complete unl
3770: 65 73 73 20 74 68 65 20 63 6c 69 65 6e 74 0a 09 ess the client..
3780: 68 61 73 20 70 6c 61 63 65 64 20 61 74 20 6c 65 has placed at le
3790: 61 73 74 20 6f 6e 65 20 62 79 74 65 20 66 6f 72 ast one byte for
37a0: 20 74 68 65 20 73 65 72 76 65 72 20 74 6f 20 72 the server to r
37b0: 65 61 64 20 69 6e 20 74 68 65 20 63 68 61 6e 6e ead in the chann
37c0: 65 6c 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 72 65 el....* tests/re
37d0: 6d 6f 74 65 2e 74 63 6c 3a 20 63 6f 72 72 65 63 mote.tcl: correc
37e0: 74 65 64 20 74 68 65 20 66 69 6e 64 69 6e 67 20 ted the finding
37f0: 6f 66 20 74 65 73 74 73 20 63 65 72 74 69 66 69 of tests certifi
3800: 63 61 74 65 73 0a 0a 09 2a 20 74 6c 73 49 4f 2e cates...* tlsIO.
3810: 63 20 28 54 6c 73 43 6c 6f 73 65 50 72 6f 63 29 c (TlsCloseProc)
3820: 3a 20 72 65 6d 6f 76 65 64 20 64 65 6c 65 74 69 : removed deleti
3830: 6e 67 20 6f 66 20 74 69 6d 65 72 20 68 61 6e 64 ng of timer hand
3840: 6c 65 72 20 61 73 0a 09 74 68 61 74 20 69 73 20 ler as..that is
3850: 68 61 6e 64 6c 65 64 20 62 79 20 54 6c 73 5f 43 handled by Tls_C
3860: 6c 65 61 6e 2e 0a 0a 09 2a 20 74 6c 73 2e 74 63 lean....* tls.tc
3870: 6c 20 28 74 6c 73 3a 3a 5f 61 63 63 65 70 74 29 l (tls::_accept)
3880: 3a 20 63 6f 72 72 65 63 74 65 64 20 74 68 65 20 : corrected the
3890: 69 6e 74 65 72 6e 61 6c 20 5f 61 63 63 65 70 74 internal _accept
38a0: 20 74 6f 0a 09 74 72 69 63 6b 6c 65 20 63 61 6c to..trickle cal
38b0: 6c 62 61 63 6b 20 65 72 72 6f 72 73 20 74 6f 20 lback errors to
38c0: 74 68 65 20 75 73 65 72 2e 0a 0a 09 2a 20 4d 61 the user....* Ma
38d0: 6b 65 66 69 6c 65 2e 69 6e 3a 20 6d 61 64 65 20 kefile.in: made
38e0: 74 68 65 20 69 6e 73 74 61 6c 6c 2d 62 69 6e 61 the install-bina
38f0: 72 69 65 73 20 74 61 72 67 65 74 20 72 65 67 65 ries target rege
3900: 6e 65 72 61 74 65 20 74 68 65 0a 09 70 6b 67 49 nerate the..pkgI
3910: 6e 64 65 78 2e 74 63 6c 20 63 6f 72 72 65 63 74 ndex.tcl correct
3920: 6c 79 2e 20 20 54 68 65 20 74 65 73 74 20 74 61 ly. The test ta
3930: 72 67 65 74 20 70 72 6f 62 61 62 6c 79 20 73 68 rget probably sh
3940: 6f 75 6c 64 6e 27 74 20 73 63 72 65 77 0a 09 69 ouldn't screw..i
3950: 74 20 75 70 2c 20 62 75 74 20 74 68 69 73 20 69 t up, but this i
3960: 73 20 74 6f 20 62 65 20 6f 6e 20 74 68 65 20 73 s to be on the s
3970: 61 66 65 20 73 69 64 65 2e 0a 0a 32 30 30 30 2d afe side...2000-
3980: 30 37 2d 31 37 20 20 4a 65 66 66 20 48 6f 62 62 07-17 Jeff Hobb
3990: 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 s <hobbs@script
39a0: 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 70 6b 67 ics.com>...* pkg
39b0: 49 6e 64 65 78 2e 74 63 6c 2e 69 6e 3a 0a 09 2a Index.tcl.in:..*
39c0: 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 75 configure.in: u
39d0: 70 64 61 74 65 64 20 76 65 72 73 69 6f 6e 20 74 pdated version t
39e0: 6f 20 31 2e 34 0a 0a 32 30 30 30 2d 30 37 2d 31 o 1.4..2000-07-1
39f0: 33 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 3 Jeff Hobbs <
3a00: 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e hobbs@scriptics.
3a10: 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 com>...* tests/t
3a20: 6c 73 49 4f 2e 74 65 73 74 3a 20 65 6e 61 62 6c lsIO.test: enabl
3a30: 65 64 20 74 65 73 74 73 20 32 2e 31 30 2c 20 37 ed tests 2.10, 7
3a40: 2e 5b 31 32 34 35 5d 20 28 74 68 65 72 65 20 69 .[1245] (there i
3a50: 73 20 6e 6f 20 33 29 2c 0a 09 77 68 69 63 68 20 s no 3),..which
3a60: 6e 6f 77 20 70 61 73 73 2e 20 20 41 64 64 65 64 now pass. Added
3a70: 20 73 6f 6d 65 20 63 6f 6d 6d 65 6e 74 73 20 74 some comments t
3a80: 6f 20 6f 74 68 65 72 20 66 61 69 6c 69 6e 67 20 o other failing
3a90: 74 65 73 74 73 2e 0a 0a 32 30 30 30 2d 30 37 2d tests...2000-07-
3aa0: 31 31 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 11 Jeff Hobbs
3ab0: 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 <hobbs@scriptics
3ac0: 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e .com>...* tlsIO.
3ad0: 63 3a 20 63 68 61 6e 67 65 64 20 61 6c 6c 20 74 c: changed all t
3ae0: 68 65 20 63 68 61 6e 6e 65 6c 20 70 72 6f 63 73 he channel procs
3af0: 20 74 6f 20 73 74 61 72 74 20 77 69 74 68 20 54 to start with T
3b00: 6c 73 2a 20 66 6f 72 0a 09 62 65 74 74 65 72 20 ls* for..better
3b10: 70 61 72 69 74 79 20 77 68 65 6e 20 63 6f 6d 70 parity when comp
3b20: 61 72 69 6e 67 20 77 69 74 68 20 54 72 61 6e 73 aring with Trans
3b30: 66 6f 72 6d 20 63 68 61 6e 6e 65 6c 20 70 72 6f form channel pro
3b40: 63 73 2e 0a 09 52 65 77 72 6f 74 65 20 54 6c 73 cs...Rewrote Tls
3b50: 57 61 74 63 68 50 72 6f 63 2c 20 61 64 64 65 64 WatchProc, added
3b60: 20 54 6c 73 4e 6f 74 69 66 79 50 72 6f 63 20 61 TlsNotifyProc a
3b70: 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 ccording to the
3b80: 6e 65 77 0a 09 63 68 61 6e 6e 65 6c 20 64 65 73 new..channel des
3b90: 69 67 6e 2c 20 77 68 69 63 68 20 61 6c 73 6f 20 ign, which also
3ba0: 6c 65 61 76 65 73 20 54 6c 73 43 68 61 6e 6e 65 leaves TlsChanne
3bb0: 6c 48 61 6e 64 6c 65 72 20 75 6e 75 73 65 64 2e lHandler unused.
3bc0: 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 20 28 42 ...* tlsBIO.c (B
3bd0: 69 6f 43 74 72 6c 29 3a 20 63 68 61 6e 67 65 64 ioCtrl): changed
3be0: 20 42 49 4f 5f 43 54 52 4c 5f 46 4c 55 53 48 20 BIO_CTRL_FLUSH
3bf0: 63 61 73 65 20 74 6f 20 75 73 65 0a 09 54 63 6c case to use..Tcl
3c00: 5f 57 72 69 74 65 52 61 77 20 69 6e 73 74 65 61 _WriteRaw instea
3c10: 64 20 6f 66 20 54 63 6c 5f 46 6c 75 73 68 20 28 d of Tcl_Flush (
3c20: 74 6f 20 6f 70 65 72 61 74 65 20 6f 6e 20 63 6f to operate on co
3c30: 72 72 65 63 74 20 63 68 61 6e 6e 65 6c 0a 09 69 rrect channel..i
3c40: 6e 20 74 68 65 20 73 74 61 63 6b 20 69 6e 73 74 n the stack inst
3c50: 65 61 64 20 6f 66 20 73 74 61 72 74 69 6e 67 20 ead of starting
3c60: 61 74 20 74 68 65 20 74 6f 70 20 61 67 61 69 6e at the top again
3c70: 29 2e 20 20 57 6f 75 6c 64 0a 09 6f 74 68 65 72 ). Would..other
3c80: 77 69 73 65 20 63 61 75 73 65 20 61 20 72 65 63 wise cause a rec
3c90: 75 72 73 69 76 65 20 73 74 61 63 6b 20 62 6f 6d ursive stack bom
3ca0: 62 20 77 68 65 6e 20 69 6d 70 6c 69 63 69 74 20 b when implicit
3cb0: 68 61 6e 64 73 68 61 6b 69 6e 67 0a 09 74 6f 6f handshaking..too
3cc0: 6b 20 65 66 66 65 63 74 2e 0a 0a 09 2a 20 74 65 k effect....* te
3cd0: 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 sts/tlsIO.test:
3ce0: 72 65 6d 6f 76 65 64 20 63 68 61 6e 67 65 73 20 removed changes
3cf0: 6d 61 64 65 20 74 6f 20 74 65 73 74 20 73 75 69 made to test sui
3d00: 74 65 20 28 61 6c 6c 20 74 65 73 74 73 0a 09 74 te (all tests..t
3d10: 68 61 74 20 72 61 6e 20 62 65 66 6f 72 65 20 6e hat ran before n
3d20: 6f 77 20 70 61 73 73 20 63 6f 72 72 65 63 74 6c ow pass correctl
3d30: 79 29 2c 20 61 6e 64 20 63 68 61 6e 67 65 64 20 y), and changed
3d40: 73 6f 6d 65 20 61 63 63 65 70 74 20 70 72 6f 63 some accept proc
3d50: 0a 09 61 72 67 73 20 74 6f 20 72 65 66 6c 65 63 ..args to reflec
3d60: 74 20 74 68 61 74 20 61 20 73 6f 63 6b 20 69 73 t that a sock is
3d70: 20 61 6e 20 61 72 67 2c 20 6e 6f 74 20 61 20 66 an arg, not a f
3d80: 69 6c 65 2e 0a 0a 32 30 30 30 2d 30 37 2d 31 30 ile...2000-07-10
3d90: 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 Jeff Hobbs <h
3da0: 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 obbs@scriptics.c
3db0: 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 om>...* tlsBIO.c
3dc0: 20 28 42 69 6f 57 72 69 74 65 2c 20 42 69 6f 52 (BioWrite, BioR
3dd0: 65 61 64 29 3a 20 63 68 61 6e 67 65 64 20 54 63 ead): changed Tc
3de0: 6c 5f 52 65 61 64 2f 57 72 69 74 65 20 74 6f 0a l_Read/Write to.
3df0: 09 54 63 6c 5f 52 65 61 64 52 61 77 2f 54 63 6c .Tcl_ReadRaw/Tcl
3e00: 57 72 69 74 65 52 61 77 2e 0a 0a 09 2a 20 74 6c WriteRaw....* tl
3e10: 73 2e 63 3a 20 61 64 64 65 64 20 75 73 65 20 6f s.c: added use o
3e20: 66 20 54 63 6c 5f 47 65 74 54 6f 70 43 68 61 6e f Tcl_GetTopChan
3e30: 6e 65 6c 20 61 66 74 65 72 20 54 63 6c 5f 47 65 nel after Tcl_Ge
3e40: 74 43 68 61 6e 6e 65 6c 20 61 6e 64 0a 09 67 6f tChannel and..go
3e50: 74 20 72 65 74 75 72 6e 20 76 61 6c 75 65 20 66 t return value f
3e60: 72 6f 6d 20 54 63 6c 5f 53 74 61 63 6b 43 68 61 rom Tcl_StackCha
3e70: 6e 6e 65 6c 2e 0a 0a 09 2a 20 74 65 73 74 73 2f nnel....* tests/
3e80: 74 6c 73 49 4f 2e 74 65 73 74 3a 20 61 64 64 65 tlsIO.test: adde
3e90: 64 20 73 6f 6d 65 20 68 61 6e 64 73 68 61 6b 69 d some handshaki
3ea0: 6e 67 20 74 68 61 74 20 73 68 6f 75 6c 64 6e 27 ng that shouldn'
3eb0: 74 20 62 65 0a 09 6e 65 63 65 73 73 61 72 79 2c t be..necessary,
3ec0: 20 62 75 74 20 77 65 20 63 72 61 73 68 20 6f 74 but we crash ot
3ed0: 68 65 72 77 69 73 65 20 28 6e 65 65 64 73 20 6d herwise (needs m
3ee0: 6f 72 65 20 74 65 73 74 69 6e 67 29 2e 0a 0a 09 ore testing)....
3ef0: 2a 20 74 6c 73 49 4f 2e 63 3a 20 61 64 64 65 64 * tlsIO.c: added
3f00: 20 73 75 70 70 6f 72 74 20 66 6f 72 20 22 63 6f support for "co
3f10: 72 72 65 63 74 65 64 22 20 73 74 61 63 6b 65 64 rrected" stacked
3f20: 20 63 68 61 6e 6e 65 6c 73 2e 20 20 41 6c 6c 0a channels. All.
3f30: 09 74 68 65 20 61 62 6f 76 65 20 63 68 61 6e 6e .the above chann
3f40: 65 6c 73 20 61 72 65 20 69 6e 20 54 43 4c 5f 43 els are in TCL_C
3f50: 48 41 4e 4e 45 4c 5f 56 45 52 53 49 4f 4e 5f 32 HANNEL_VERSION_2
3f60: 20 23 69 66 64 65 66 73 2e 0a 0a 32 30 30 30 2d #ifdefs...2000-
3f70: 30 36 2d 30 35 20 20 53 63 6f 74 74 20 53 74 61 06-05 Scott Sta
3f80: 6e 74 6f 6e 20 20 3c 73 74 61 6e 74 6f 6e 40 61 nton <stanton@a
3f90: 6a 75 62 61 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f jubasolutions.co
3fa0: 6d 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e m>...* Makefile.
3fb0: 69 6e 3a 20 46 69 78 65 64 20 62 72 6f 6b 65 6e in: Fixed broken
3fc0: 20 74 65 73 74 20 74 61 72 67 65 74 2e 0a 0a 09 test target....
3fd0: 2a 20 74 6c 73 49 6e 74 2e 68 3a 20 0a 09 2a 20 * tlsInt.h: ..*
3fe0: 74 6c 73 2e 63 3a 20 43 6c 65 61 6e 65 64 20 75 tls.c: Cleaned u
3ff0: 70 20 64 65 63 6c 61 72 61 74 69 6f 6e 73 20 6f p declarations o
4000: 66 20 54 6c 73 5f 43 6c 65 61 6e 20 74 6f 20 61 f Tls_Clean to a
4010: 76 6f 69 64 20 65 72 72 6f 72 73 20 6f 6e 0a 09 void errors on..
4020: 57 69 6e 64 6f 77 73 20 28 6c 69 6e 74 29 2e 0a Windows (lint)..
4030: 0a 32 30 30 30 2d 30 36 2d 30 35 20 20 42 72 65 .2000-06-05 Bre
4040: 6e 74 20 57 65 6c 63 68 20 3c 77 65 6c 63 68 40 nt Welch <welch@
4050: 61 6a 75 62 61 73 6f 6c 75 74 69 6f 6e 73 2e 63 ajubasolutions.c
4060: 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 2c 20 74 om>...* tls.c, t
4070: 6c 73 49 4f 2e 63 3a 20 20 53 70 6c 69 74 20 54 lsIO.c: Split T
4080: 6c 73 5f 46 72 65 65 20 69 6e 74 6f 20 54 6c 73 ls_Free into Tls
4090: 5f 43 6c 65 61 6e 2c 20 77 68 69 63 68 20 64 6f _Clean, which do
40a0: 65 73 0a 09 74 68 65 20 53 53 4c 20 63 6c 65 61 es..the SSL clea
40b0: 6e 75 70 2c 20 61 6e 64 20 74 68 65 20 54 63 6c nup, and the Tcl
40c0: 5f 46 72 65 65 20 63 61 6c 6c 2e 20 20 49 74 20 _Free call. It
40d0: 69 73 20 69 6d 70 6f 72 74 61 6e 74 20 74 6f 20 is important to
40e0: 73 68 75 74 64 6f 77 6e 0a 09 74 68 65 20 53 53 shutdown..the SS
40f0: 4c 20 73 74 61 74 65 20 22 73 79 6e 63 68 72 6f L state "synchro
4100: 6e 6f 75 73 6c 79 22 20 64 75 72 69 6e 67 20 61 nously" during a
4110: 20 73 74 61 63 6b 65 64 20 66 6c 75 73 68 2e 0a stacked flush..
4120: 0a 32 30 30 30 2d 30 36 2d 30 31 20 20 53 63 6f .2000-06-01 Sco
4130: 74 74 20 53 74 61 6e 74 6f 6e 20 20 3c 73 74 61 tt Stanton <sta
4140: 6e 74 6f 6e 40 61 6a 75 62 61 73 6f 6c 75 74 69 nton@ajubasoluti
4150: 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 ons.com>...* tls
4160: 49 4f 2e 63 3a 20 52 65 73 74 6f 72 65 64 20 63 IO.c: Restored c
4170: 61 6c 6c 20 74 6f 20 54 63 6c 5f 4e 6f 74 69 66 all to Tcl_Notif
4180: 79 43 68 61 6e 6e 65 6c 20 66 72 6f 6d 20 43 68 yChannel from Ch
4190: 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 0a 09 74 6f annelHandler..to
41a0: 20 65 6e 73 75 72 65 20 74 68 61 74 20 65 76 65 ensure that eve
41b0: 6e 74 73 20 70 72 6f 70 61 67 61 74 65 20 66 72 nts propagate fr
41c0: 6f 6d 20 74 68 65 20 6c 6f 77 65 72 20 64 72 69 om the lower dri
41d0: 76 65 72 2e 20 20 54 68 69 73 20 6d 61 79 0a 09 ver. This may..
41e0: 72 65 73 75 6c 74 20 69 6e 20 61 6e 20 69 6e 66 result in an inf
41f0: 69 6e 69 74 65 20 6c 6f 6f 70 20 69 6e 20 73 6f inite loop in so
4200: 6d 65 20 63 61 73 65 73 2c 20 73 6f 20 74 68 69 me cases, so thi
4210: 73 20 69 73 20 6e 6f 74 20 61 20 74 6f 74 61 6c s is not a total
4220: 0a 09 66 69 78 2e 20 20 54 68 69 73 20 6d 61 79 ..fix. This may
4230: 20 62 65 20 73 75 66 66 69 63 69 65 6e 74 20 66 be sufficient f
4240: 6f 72 20 6e 6f 77 2c 20 68 6f 77 65 76 65 72 2e or now, however.
4250: 20 5b 42 75 67 3a 20 35 36 32 33 5d 0a 0a 32 30 [Bug: 5623]..20
4260: 30 30 2d 30 36 2d 30 31 20 20 53 63 6f 74 74 20 00-06-01 Scott
4270: 53 74 61 6e 74 6f 6e 20 20 3c 73 74 61 6e 74 6f Stanton <stanto
4280: 6e 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e n@scriptics.com>
4290: 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 52 65 ...* tlsIO.c: Re
42a0: 73 74 6f 72 65 20 74 68 65 20 70 72 65 76 69 6f store the previo
42b0: 75 73 20 76 65 72 73 69 6f 6e 2e 20 20 46 69 78 us version. Fix
42c0: 65 64 20 74 68 65 20 43 6c 6f 73 65 50 72 6f 63 ed the CloseProc
42d0: 20 73 6f 0a 09 69 74 20 75 6e 72 65 67 69 73 74 so..it unregist
42e0: 65 72 73 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 ers the channel
42f0: 68 61 6e 64 6c 65 72 20 6f 6e 20 74 68 65 20 73 handler on the s
4300: 75 70 65 72 63 65 64 65 64 20 63 68 61 6e 6e 65 uperceded channe
4310: 6c 0a 09 69 6e 73 74 65 61 64 20 6f 66 20 74 68 l..instead of th
4320: 65 20 75 70 70 65 72 20 63 68 61 6e 6e 65 6c 2e e upper channel.
4330: 20 41 6c 73 6f 20 72 65 6d 6f 76 65 64 20 74 68 Also removed th
4340: 65 20 63 61 6c 6c 20 74 6f 0a 09 54 63 6c 5f 4e e call to..Tcl_N
4350: 6f 74 69 66 79 43 68 61 6e 6e 65 6c 20 69 6e 20 otifyChannel in
4360: 74 68 65 20 43 68 61 6e 6e 65 6c 48 61 6e 64 6c the ChannelHandl
4370: 65 72 20 62 65 63 61 75 73 65 20 74 68 69 73 20 er because this
4380: 77 69 6c 6c 20 72 65 73 75 6c 74 0a 09 69 6e 20 will result..in
4390: 61 6e 20 69 6e 66 69 6e 69 74 65 20 6c 6f 6f 70 an infinite loop
43a0: 20 69 66 20 64 61 74 61 20 69 73 20 65 76 65 72 if data is ever
43b0: 20 62 75 66 66 65 72 65 64 20 69 6e 20 74 68 65 buffered in the
43c0: 20 42 49 4f 0a 09 73 74 72 75 63 74 75 72 65 2e BIO..structure.
43d0: 20 5b 42 75 67 3a 20 35 36 32 33 5d 0a 0a 32 30 [Bug: 5623]..20
43e0: 30 30 2d 30 35 2d 33 31 20 20 42 72 65 6e 74 20 00-05-31 Brent
43f0: 57 65 6c 63 68 20 3c 77 65 6c 63 68 40 73 63 72 Welch <welch@scr
4400: 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 iptics.com>...*
4410: 74 6c 73 2e 63 3a 20 43 68 61 6e 67 65 20 74 68 tls.c: Change th
4420: 65 20 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 e ChannelHandler
4430: 20 74 6f 20 62 65 20 72 65 67 69 73 74 65 72 65 to be registere
4440: 64 20 6f 6e 20 74 68 65 20 6d 61 69 6e 0a 09 63 d on the main..c
4450: 68 61 6e 6e 65 6c 20 61 73 20 6f 70 70 73 65 64 hannel as oppsed
4460: 20 74 6f 20 74 68 65 20 22 70 61 72 65 6e 74 22 to the "parent"
4470: 2c 20 6f 72 20 73 75 70 65 72 63 65 65 64 65 64 , or superceeded
4480: 2c 20 63 68 61 6e 6e 65 6c 2e 20 20 54 68 69 73 , channel. This
4490: 0a 09 69 73 20 62 65 63 61 75 73 65 20 74 68 65 ..is because the
44a0: 20 73 6f 63 6b 65 74 20 64 72 69 76 65 72 20 6e socket driver n
44b0: 6f 74 69 66 69 65 73 20 74 68 65 20 6d 61 69 6e otifies the main
44c0: 20 63 68 61 6e 6e 65 6c 2c 20 61 6e 64 20 74 68 channel, and th
44d0: 65 72 65 0a 09 61 72 65 20 74 69 6d 65 73 20 77 ere..are times w
44e0: 69 74 68 20 74 68 65 20 6d 61 69 6e 20 63 68 61 ith the main cha
44f0: 6e 6e 65 6c 20 67 65 74 73 20 63 6c 6f 73 65 64 nnel gets closed
4500: 2c 20 62 75 74 20 74 68 65 20 73 75 70 65 72 63 , but the superc
4510: 65 64 65 64 0a 09 6f 6e 65 20 69 73 20 6e 6f 74 eded..one is not
4520: 20 79 65 74 20 63 6c 6f 73 65 64 2e 20 20 49 66 yet closed. If
4530: 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 68 61 6e the channel han
4540: 64 6c 65 72 20 67 65 74 73 20 74 72 69 67 67 65 dler gets trigge
4550: 72 65 64 20 69 6e 0a 09 74 68 69 73 20 68 61 6c red in..this hal
4560: 66 2d 6f 70 65 6e 20 73 74 61 74 65 20 69 74 20 f-open state it
4570: 69 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 is associated wi
4580: 74 68 20 74 68 65 20 73 75 70 65 72 63 65 65 64 th the superceed
4590: 65 64 0a 09 63 68 61 6e 6e 65 64 6c 2c 20 62 75 ed..channedl, bu
45a0: 74 20 75 73 65 73 20 69 74 73 20 70 72 69 76 61 t uses its priva
45b0: 74 65 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 te pointer to th
45c0: 65 20 6d 61 69 6e 20 63 68 61 6e 6e 65 6c 2c 20 e main channel,
45d0: 77 68 69 63 68 0a 09 69 73 20 6d 6f 73 74 6c 79 which..is mostly
45e0: 20 64 65 73 74 72 6f 79 65 64 2e 20 20 45 6c 69 destroyed. Eli
45f0: 6d 69 6e 61 74 65 64 20 74 68 65 20 72 65 64 75 minated the redu
4600: 6e 64 61 6e 74 20 63 61 6c 6c 20 74 6f 0a 09 54 ndant call to..T
4610: 63 6c 5f 4e 6f 74 69 66 79 43 68 61 6e 6e 65 6c cl_NotifyChannel
4620: 20 66 72 6f 6d 20 54 6c 73 57 61 74 63 68 50 72 from TlsWatchPr
4630: 6f 63 2e 20 5b 42 75 67 3a 20 35 36 32 33 5d 0a oc. [Bug: 5623].