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 73 n [ticket](https
0180: 3a 2f 2f 63 6f 72 65 2e 74 63 6c 2d 6c 61 6e 67 ://core.tcl-lang
0190: 2e 6f 72 67 2f 74 63 6c 2f 74 6b 74 76 69 65 77 .org/tcl/tktview
01a0: 2f 30 66 39 34 66 38 35 35 63 61 66 65 64 39 32 /0f94f855cafed92
01b0: 64 30 65 31 37 34 62 37 64 38 33 35 34 35 33 61 d0e174b7d835453a
01c0: 30 32 38 33 31 62 34 64 64 29 2e 0a 0a 32 30 31 02831b4dd)...201
01d0: 34 2d 31 32 2d 30 35 20 20 41 6e 64 72 65 61 73 4-12-05 Andreas
01e0: 20 4b 75 70 72 69 65 73 20 20 3c 61 6e 64 72 65 Kupries <andre
01f0: 61 73 6b 40 61 63 74 69 76 65 73 74 61 74 65 2e ask@activestate.
0200: 63 6f 6d 3e 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 com>...* configu
0210: 72 65 2e 69 6e 3a 20 42 75 6d 70 20 74 6f 20 76 re.in: Bump to v
0220: 65 72 73 69 6f 6e 20 31 2e 36 2e 34 2e 0a 09 2a ersion 1.6.4...*
0230: 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 win/makefile.vc
0240: 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 :..* configure:
0250: 72 65 67 65 6e 20 77 69 74 68 20 61 63 2d 32 2e regen with ac-2.
0260: 35 39 0a 09 2a 20 74 6c 73 2e 63 3a 20 41 63 63 59..* tls.c: Acc
0270: 65 70 74 65 64 20 53 46 20 54 4c 53 20 70 61 74 epted SF TLS pat
0280: 63 68 65 73 20 23 31 32 20 61 6e 64 20 23 31 33 ches #12 and #13
0290: 20 69 6d 70 6c 65 6d 65 6e 74 69 6e 67 0a 09 2a implementing..*
02a0: 20 74 6c 73 2e 68 74 6d 3a 20 73 75 70 70 6f 72 tls.htm: suppor
02b0: 74 20 66 6f 72 20 53 4e 49 2c 20 61 6e 64 20 54 t for SNI, and T
02c0: 4c 53 20 31 2e 31 20 2b 20 31 2e 32 0a 09 2a 20 LS 1.1 + 1.2..*
02d0: 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 74 6c 73 tlsInt.h:..* tls
02e0: 49 4f 2e 63 3a 20 54 68 69 73 20 61 6c 73 6f 20 IO.c: This also
02f0: 61 63 63 65 70 74 65 64 20 70 61 74 63 68 20 66 accepted patch f
0300: 6f 72 20 62 75 67 20 23 35 33 2e 0a 09 2a 20 74 or bug #53...* t
0310: 6c 73 2e 74 63 6c 3a 20 50 61 74 63 68 20 61 76 ls.tcl: Patch av
0320: 61 69 6c 61 62 6c 65 20 73 69 6e 63 65 20 4a 75 ailable since Ju
0330: 6e 65 2c 20 6e 6f 77 20 63 6f 6d 6d 69 74 74 65 ne, now committe
0340: 64 2e 0a 0a 32 30 31 32 2d 30 37 2d 30 39 20 20 d...2012-07-09
0350: 41 6e 64 72 65 61 73 20 4b 75 70 72 69 65 73 20 Andreas Kupries
0360: 20 3c 61 6e 64 72 65 61 73 6b 40 61 63 74 69 76 <andreask@activ
0370: 65 73 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 estate.com>...*
0380: 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 42 75 configure.in: Bu
0390: 6d 70 20 74 6f 20 76 65 72 73 69 6f 6e 20 31 2e mp to version 1.
03a0: 36 2e 33 2e 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 6.3...* win/make
03b0: 66 69 6c 65 2e 76 63 3a 0a 09 2a 20 63 6f 6e 66 file.vc:..* conf
03c0: 69 67 75 72 65 3a 20 72 65 67 65 6e 20 77 69 74 igure: regen wit
03d0: 68 20 61 63 2d 32 2e 35 39 0a 0a 09 2a 20 74 6c h ac-2.59...* tl
03e0: 73 2e 63 20 28 4d 69 73 63 4f 62 6a 43 6d 64 29 s.c (MiscObjCmd)
03f0: 3a 20 46 69 78 65 64 20 6e 6f 6e 2d 73 74 61 74 : Fixed non-stat
0400: 69 63 20 73 74 72 69 6e 67 20 61 72 72 61 79 20 ic string array
0410: 75 73 65 64 20 69 6e 20 63 61 6c 6c 0a 09 20 20 used in call..
0420: 6f 66 20 54 63 6c 5f 47 65 74 49 6e 64 65 78 46 of Tcl_GetIndexF
0430: 72 6f 6d 4f 62 6a 28 29 2e 20 4d 65 6d 6f 72 79 romObj(). Memory
0440: 20 73 6d 61 73 68 20 77 61 69 74 69 6e 67 20 74 smash waiting t
0450: 6f 20 68 61 70 70 65 6e 2e 20 54 68 61 6e 6b 73 o happen. Thanks
0460: 0a 09 20 20 74 6f 20 42 72 69 61 6e 20 47 72 69 .. to Brian Gri
0470: 66 66 69 6e 20 66 6f 72 20 61 6c 65 72 74 69 6e ffin for alertin
0480: 67 20 75 73 20 61 6c 6c 20 74 6f 20 74 68 65 20 g us all to the
0490: 70 72 6f 62 6c 65 6d 2e 0a 0a 32 30 31 32 2d 30 problem...2012-0
04a0: 36 2d 30 31 20 20 41 6e 64 72 65 61 73 20 4b 75 6-01 Andreas Ku
04b0: 70 72 69 65 73 20 20 3c 61 6e 64 72 65 61 73 6b pries <andreask
04c0: 40 61 63 74 69 76 65 73 74 61 74 65 2e 63 6f 6d @activestate.com
04d0: 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 41 70 70 >...* tls.c: App
04e0: 6c 69 65 64 20 4a 65 66 66 27 73 20 70 61 74 63 lied Jeff's patc
04f0: 68 20 66 72 6f 6d 0a 09 20 20 68 74 74 70 3a 2f h from.. http:/
0500: 2f 77 77 77 2e 6d 61 69 6c 2d 61 72 63 68 69 76 /www.mail-archiv
0510: 65 2e 63 6f 6d 2f 61 6f 6c 73 65 72 76 65 72 40 e.com/aolserver@
0520: 6c 69 73 74 73 65 72 76 2e 61 6f 6c 2e 63 6f 6d listserv.aol.com
0530: 2f 6d 73 67 31 32 33 35 36 2e 68 74 6d 6c 0a 0a /msg12356.html..
0540: 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a .* configure.in:
0550: 20 42 75 6d 70 20 74 6f 20 76 65 72 73 69 6f 6e Bump to version
0560: 20 31 2e 36 2e 32 2e 0a 09 2a 20 77 69 6e 2f 6d 1.6.2...* win/m
0570: 61 6b 65 66 69 6c 65 2e 76 63 3a 0a 09 2a 20 63 akefile.vc:..* c
0580: 6f 6e 66 69 67 75 72 65 3a 20 72 65 67 65 6e 20 onfigure: regen
0590: 77 69 74 68 20 61 63 2d 32 2e 35 39 0a 0a 32 30 with ac-2.59..20
05a0: 31 30 2d 30 38 2d 31 31 20 20 4a 65 66 66 20 48 10-08-11 Jeff H
05b0: 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 obbs <jeffh@Act
05c0: 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 iveState.com>...
05d0: 2a 2a 2a 20 54 4c 53 20 31 2e 36 2e 31 20 54 41 *** TLS 1.6.1 TA
05e0: 47 47 45 44 20 2a 2a 2a 0a 0a 09 2a 20 63 6f 6e GGED ***...* con
05f0: 66 69 67 75 72 65 3a 20 72 65 67 65 6e 20 77 69 figure: regen wi
0600: 74 68 20 61 63 2d 32 2e 35 39 0a 09 2a 20 77 69 th ac-2.59..* wi
0610: 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 2c 20 63 n/makefile.vc, c
0620: 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 62 75 6d onfigure.in: bum
0630: 70 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e 36 p version to 1.6
0640: 2e 31 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 67 2f .1..* tclconfig/
0650: 74 63 6c 2e 6d 34 3a 20 75 70 64 61 74 65 64 20 tcl.m4: updated
0660: 74 6f 20 54 45 41 20 33 2e 38 0a 0a 09 2a 20 74 to TEA 3.8...* t
0670: 6c 73 2e 63 20 28 53 74 61 74 75 73 4f 62 6a 43 ls.c (StatusObjC
0680: 6d 64 29 3a 20 6d 65 6d 6c 65 61 6b 3a 20 66 72 md): memleak: fr
0690: 65 65 20 70 65 65 72 20 69 66 20 6c 6f 61 64 65 ee peer if loade
06a0: 64 2e 20 5b 42 75 67 20 33 30 34 31 39 32 35 5d d. [Bug 3041925]
06b0: 0a 0a 32 30 31 30 2d 30 37 2d 32 37 20 20 4a 65 ..2010-07-27 Je
06c0: 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 ff Hobbs <jeffh
06d0: 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d @ActiveState.com
06e0: 3e 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 28 74 >...* tls.tcl (t
06f0: 6c 73 3a 3a 73 6f 63 6b 65 74 29 3a 20 73 6f 6d ls::socket): som
0700: 65 20 73 6f 63 6b 65 74 20 69 6d 70 6c 65 6d 65 e socket impleme
0710: 6e 74 61 74 69 6f 6e 73 20 68 61 76 65 20 61 20 ntations have a
0720: 2d 74 79 70 65 0a 09 73 75 70 70 6f 72 74 20 28 -type..support (
0730: 65 2e 67 2e 20 66 6f 72 20 69 6e 65 74 36 29 2e e.g. for inet6).
0740: 0a 0a 32 30 30 39 2d 30 34 2d 32 33 20 20 4a 65 ..2009-04-23 Je
0750: 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 ff Hobbs <jeffh
0760: 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d @ActiveState.com
0770: 3e 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 28 74 >...* tls.tcl (t
0780: 6c 73 3a 3a 69 6e 69 74 6c 69 62 29 3a 20 61 64 ls::initlib): ad
0790: 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 57 69 d support for Wi
07a0: 6e 64 6f 77 73 20 73 74 61 72 70 61 63 6b 0a 09 ndows starpack..
07b0: 6f 70 65 72 61 74 69 6f 6e 20 74 68 61 74 20 75 operation that u
07c0: 6e 62 75 6e 64 6c 65 73 20 61 6e 79 20 63 6f 6e nbundles any con
07d0: 73 74 69 74 75 65 6e 74 20 6c 69 62 72 61 72 69 stituent librari
07e0: 65 73 2e 20 5b 41 53 20 42 75 67 20 38 32 38 38 es. [AS Bug 8288
07f0: 38 5d 0a 0a 32 30 30 38 2d 30 36 2d 31 38 20 20 8]..2008-06-18
0800: 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74 Pat Thoyts <pat
0810: 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75 [email protected]
0820: 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 rceforge.net>...
0830: 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72 73 2e * tests/ciphers.
0840: 74 65 73 74 3a 20 46 69 78 20 66 6f 72 20 64 69 test: Fix for di
0850: 66 66 65 72 65 6e 74 20 6f 70 65 6e 73 73 6c 20 fferent openssl
0860: 76 65 72 73 69 6f 6e 73 2e 0a 09 2a 20 77 69 6e versions...* win
0870: 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 20 20 20 /makefile.vc:
0880: 20 55 70 64 61 74 65 73 20 74 6f 20 73 75 70 70 Updates to supp
0890: 6f 72 74 20 74 65 73 74 73 2e 0a 09 2a 20 77 69 ort tests...* wi
08a0: 6e 2f 72 75 6c 65 73 2e 76 63 3a 0a 09 2a 20 77 n/rules.vc:..* w
08b0: 69 6e 2f 6e 6d 61 6b 65 68 6c 70 2e 63 3a 0a 0a in/nmakehlp.c:..
08c0: 32 30 30 38 2d 30 33 2d 31 39 20 20 4a 65 66 66 2008-03-19 Jeff
08d0: 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 Hobbs <jeffh@A
08e0: 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a ctiveState.com>.
08f0: 0a 09 2a 2a 2a 20 54 4c 53 20 31 2e 36 20 54 41 ..*** TLS 1.6 TA
0900: 47 47 45 44 20 2a 2a 2a 0a 0a 09 2a 20 4d 61 6b GGED ***...* Mak
0910: 65 66 69 6c 65 2e 69 6e 20 28 64 69 73 74 29 3a efile.in (dist):
0920: 20 75 70 64 61 74 65 20 74 6f 20 69 6e 63 6c 75 update to inclu
0930: 64 65 20 77 69 6e 2f 20 61 6e 64 20 66 69 6c 65 de win/ and file
0940: 2e 73 72 6c 0a 0a 09 2a 20 77 69 6e 2f 6d 61 6b .srl...* win/mak
0950: 65 66 69 6c 65 2e 76 63 3a 20 62 75 6d 70 20 76 efile.vc: bump v
0960: 65 72 73 69 6f 6e 20 74 6f 20 31 2e 36 0a 09 2a ersion to 1.6..*
0970: 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 75 configure.in: u
0980: 73 65 20 2d 4c 20 61 6e 64 20 2d 52 20 77 68 65 se -L and -R whe
0990: 72 65 20 6e 65 63 65 73 73 61 72 79 2e 20 5b 42 re necessary. [B
09a0: 75 67 20 31 37 34 32 38 35 39 5d 0a 0a 09 2a 20 ug 1742859]...*
09b0: 61 63 6c 6f 63 61 6c 2e 6d 34 3a 20 69 6d 70 72 aclocal.m4: impr
09c0: 6f 76 65 20 2d 2d 77 69 74 68 2d 73 73 6c 2d 64 ove --with-ssl-d
09d0: 69 72 20 63 68 65 63 6b 2e 0a 0a 09 2a 20 74 65 ir check....* te
09e0: 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 20 28 sts/tlsIO.test (
09f0: 74 6c 73 49 4f 2d 31 34 2e 2a 29 3a 20 20 20 41 tlsIO-14.*): A
0a00: 64 64 20 74 6c 73 3a 3a 75 6e 69 6d 70 6f 72 74 dd tls::unimport
0a10: 20 66 6f 72 20 73 79 6d 6d 65 74 72 79 0a 09 2a for symmetry..*
0a20: 20 74 6c 73 2e 68 74 6d 2c 20 74 6c 73 2e 63 20 tls.htm, tls.c
0a30: 28 55 6e 69 6d 70 6f 72 74 4f 62 6a 43 6d 64 29 (UnimportObjCmd)
0a40: 3a 20 74 6f 20 74 6c 73 3a 3a 69 6d 70 6f 72 74 : to tls::import
0a50: 2e 20 5b 42 75 67 20 31 32 30 33 32 37 33 5d 0a . [Bug 1203273].
0a60: 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 43 ..* tls.c (Tls_C
0a70: 6c 65 61 6e 2c 20 49 6d 70 6f 72 74 4f 62 6a 43 lean, ImportObjC
0a80: 6d 64 29 3a 20 46 69 78 20 63 6c 65 61 6e 75 70 md): Fix cleanup
0a90: 20 6d 65 6d 20 6c 65 61 6b 20 5b 42 75 67 20 31 mem leak [Bug 1
0aa0: 34 31 34 30 34 35 5d 0a 09 55 73 65 20 62 65 74 414045]..Use bet
0ab0: 74 65 72 20 45 76 61 6c 20 41 50 49 73 2c 20 63 ter Eval APIs, c
0ac0: 6c 65 61 6e 65 72 20 54 63 6c 5f 4f 62 6a 2d 68 leaner Tcl_Obj-h
0ad0: 61 6e 64 6c 69 6e 67 2e 0a 0a 32 30 30 38 2d 30 andling...2008-0
0ae0: 33 2d 31 39 20 20 50 61 74 20 54 68 6f 79 74 73 3-19 Pat Thoyts
0af0: 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 <patthoyts@use
0b00: 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e rs.sourceforge.n
0b10: 65 74 3e 0a 0a 09 2a 20 77 69 6e 2f 4d 61 6b 65 et>...* win/Make
0b20: 66 69 6c 65 2e 76 63 20 20 55 70 64 61 74 65 64 file.vc Updated
0b30: 20 74 68 65 20 6e 6d 61 6b 65 20 62 75 69 6c 64 the nmake build
0b40: 20 66 69 6c 65 73 20 77 69 74 68 20 4d 53 56 43 files with MSVC
0b50: 39 20 73 75 70 70 6f 72 74 0a 09 2a 20 77 69 6e 9 support..* win
0b60: 2f 72 75 6c 65 73 2e 76 63 3a 20 20 20 20 61 6e /rules.vc: an
0b70: 64 20 66 69 78 65 64 20 74 6f 20 72 75 6e 20 74 d fixed to run t
0b80: 68 65 20 74 65 73 74 2d 73 75 69 74 65 20 70 72 he test-suite pr
0b90: 6f 70 65 72 6c 79 2e 0a 09 2a 20 77 69 6e 2f 6e operly...* win/n
0ba0: 6d 61 6b 65 68 6c 70 2e 63 3a 0a 09 2a 20 74 6c makehlp.c:..* tl
0bb0: 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 69 6e 69 74 s.tcl (tls::init
0bc0: 6c 69 62 29 3a 20 43 6f 72 72 65 63 74 65 64 20 lib): Corrected
0bd0: 6e 61 6d 65 73 70 61 63 65 20 68 61 6e 64 6c 69 namespace handli
0be0: 6e 67 2e 0a 09 2a 20 74 6c 73 2e 63 3a 20 41 70 ng...* tls.c: Ap
0bf0: 70 6c 69 65 64 20 23 31 38 39 30 32 32 33 20 74 plied #1890223 t
0c00: 6f 20 66 69 78 20 68 61 6e 64 73 68 61 6b 65 20 o fix handshake
0c10: 6f 6e 20 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e 67 20 on non-blocking
0c20: 73 6f 63 6b 65 74 73 0a 0a 32 30 30 38 2d 30 33 sockets..2008-03
0c30: 2d 31 37 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -17 Jeff Hobbs
0c40: 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 <jeffh@ActiveSt
0c50: 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 ate.com>...* tls
0c60: 2e 74 63 6c 20 28 74 6c 73 3a 3a 69 6e 69 74 6c .tcl (tls::initl
0c70: 69 62 29 3a 20 20 20 20 20 6c 6f 61 64 20 74 6c ib): load tl
0c80: 73 2e 74 63 6c 20 66 69 72 73 74 20 61 6e 64 20 s.tcl first and
0c90: 63 61 6c 6c 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 call..* Makefile
0ca0: 2e 69 6e 20 28 70 6b 67 49 6e 64 65 78 2e 74 63 .in (pkgIndex.tc
0cb0: 6c 29 3a 20 74 6c 73 3a 3a 69 6e 69 74 6c 69 62 l): tls::initlib
0cc0: 20 74 6f 20 6c 6f 61 64 20 6c 69 62 72 61 72 79 to load library
0cd0: 20 74 6f 0a 09 68 61 6e 64 6c 65 20 63 77 64 20 to..handle cwd
0ce0: 63 68 61 6e 67 65 73 2e 20 5b 42 75 67 20 31 38 changes. [Bug 18
0cf0: 38 38 31 31 33 5d 0a 0a 32 30 30 37 2d 30 39 2d 88113]..2007-09-
0d00: 30 36 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 06 Pat Thoyts
0d10: 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 <patthoyts@users
0d20: 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 .sourceforge.net
0d30: 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 20 20 20 >...* tls.c:
0d40: 20 20 20 20 20 20 20 53 69 6c 65 6e 63 65 20 36 Silence 6
0d50: 34 20 62 69 74 20 69 6e 74 65 67 65 72 20 63 6f 4 bit integer co
0d60: 6e 76 65 72 73 69 6f 6e 20 77 61 72 6e 69 6e 67 nversion warning
0d70: 73 0a 09 2a 20 77 69 6e 2f 6e 6d 61 6b 65 68 6c s..* win/nmakehl
0d80: 70 2e 63 3a 20 20 55 70 64 61 74 65 20 62 75 69 p.c: Update bui
0d90: 6c 64 20 73 79 73 74 65 6d 20 74 6f 20 73 75 70 ld system to sup
0da0: 70 6f 72 74 20 41 4d 44 36 34 20 74 61 72 67 65 port AMD64 targe
0db0: 74 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c t..* win/makefil
0dc0: 65 2e 76 63 3a 20 77 69 74 68 20 4d 53 56 43 38 e.vc: with MSVC8
0dd0: 0a 09 2a 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63 ..* win/rules.vc
0de0: 3a 0a 0a 32 30 30 37 2d 30 36 2d 32 32 20 20 4a :..2007-06-22 J
0df0: 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 eff Hobbs <jeff
0e00: 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f [email protected]
0e10: 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 20 28 m>...* tlsIO.c (
0e20: 54 6c 73 49 6e 70 75 74 50 72 6f 63 2c 20 54 6c TlsInputProc, Tl
0e30: 73 4f 75 74 70 75 74 50 72 6f 63 2c 20 54 6c 73 sOutputProc, Tls
0e40: 57 61 74 63 68 50 72 6f 63 29 3a 0a 09 2a 20 74 WatchProc):..* t
0e50: 6c 73 2e 63 20 28 56 65 72 69 66 79 43 61 6c 6c ls.c (VerifyCall
0e60: 62 61 63 6b 29 3a 20 61 64 64 20 61 6e 20 73 74 back): add an st
0e70: 61 74 65 20 66 6c 61 67 20 69 6e 20 74 68 65 20 ate flag in the
0e80: 76 65 72 69 66 79 20 63 61 6c 6c 62 61 63 6b 0a verify callback.
0e90: 09 74 68 61 74 20 70 72 65 76 65 6e 74 73 20 70 .that prevents p
0ea0: 6f 73 73 69 62 6c 79 20 72 65 63 75 72 73 69 6f ossibly recursio
0eb0: 6e 20 28 6f 6e 20 27 75 70 64 61 74 65 27 29 2e n (on 'update').
0ec0: 20 5b 42 75 67 20 31 36 35 32 33 38 30 5d 0a 0a [Bug 1652380]..
0ed0: 09 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72 73 .* tests/ciphers
0ee0: 2e 74 65 73 74 3a 20 72 65 77 6f 72 6b 65 64 20 .test: reworked
0ef0: 74 6f 20 6d 61 6b 65 20 74 65 73 74 20 6f 75 74 to make test out
0f00: 70 75 74 20 63 6c 65 61 6e 65 72 20 74 6f 0a 09 put cleaner to..
0f10: 75 6e 64 65 72 73 74 61 6e 64 20 6d 69 73 73 69 understand missi
0f20: 6e 67 20 63 69 70 68 65 72 73 20 28 69 66 20 61 ng ciphers (if a
0f30: 6e 79 29 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 ny)...* Makefile
0f40: 2e 69 6e 2c 20 74 63 6c 63 6f 6e 66 69 67 2f 74 .in, tclconfig/t
0f50: 63 6c 2e 6d 34 3a 20 75 70 64 61 74 65 20 74 6f cl.m4: update to
0f60: 20 54 45 41 20 33 2e 36 0a 09 2a 20 63 6f 6e 66 TEA 3.6..* conf
0f70: 69 67 75 72 65 2c 20 63 6f 6e 66 69 67 75 72 65 igure, configure
0f80: 2e 69 6e 3a 20 20 20 20 20 20 20 75 73 69 6e 67 .in: using
0f90: 20 61 75 74 6f 63 6f 6e 66 2d 32 2e 35 39 0a 0a autoconf-2.59..
0fa0: 32 30 30 37 2d 30 32 2d 32 38 20 20 50 61 74 20 2007-02-28 Pat
0fb0: 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 Thoyts <patthoy
0fc0: 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 [email protected]
0fd0: 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 77 69 orge.net>...* wi
0fe0: 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 20 52 n/makefile.vc: R
0ff0: 65 62 61 73 65 20 74 68 65 20 44 4c 4c 20 73 65 ebase the DLL se
1000: 6e 73 69 62 6c 79 2e 20 41 64 64 69 74 69 6f 6e nsibly. Addition
1010: 61 6c 20 6c 69 62 73 20 66 6f 72 0a 09 73 74 61 al libs for..sta
1020: 74 69 63 20 6c 69 6e 6b 20 6f 66 20 6f 70 65 6e tic link of open
1030: 73 73 6c 2e 0a 09 2a 20 74 6c 73 2e 74 63 6c 3a ssl...* tls.tcl:
1040: 20 62 75 67 20 23 31 35 37 39 38 33 37 20 2d 20 bug #1579837 -
1050: 54 49 50 20 32 37 38 20 62 75 67 20 28 70 6f 73 TIP 278 bug (pos
1060: 73 69 62 6c 79 29 20 2d 20 66 69 78 65 64 2e 0a sibly) - fixed..
1070: 0a 32 30 30 36 2d 30 33 2d 33 30 20 20 50 61 74 .2006-03-30 Pat
1080: 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f Thoyts <pattho
1090: 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 [email protected]
10a0: 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 forge.net>...* t
10b0: 63 6c 63 6f 6e 66 69 67 2f 2a 3a 20 20 55 70 64 clconfig/*: Upd
10c0: 61 74 65 64 20 74 6f 20 54 45 41 20 33 2e 35 20 ated to TEA 3.5
10d0: 69 6e 20 72 65 73 70 6f 6e 73 65 20 74 6f 20 62 in response to b
10e0: 75 67 20 31 34 36 30 34 39 31 0a 09 2a 20 63 6f ug 1460491..* co
10f0: 6e 66 69 67 75 72 65 2a 3a 20 20 20 52 65 67 65 nfigure*: Rege
1100: 6e 65 72 61 74 65 64 20 63 6f 6e 66 69 67 75 72 nerated configur
1110: 65 2e 0a 0a 32 30 30 35 2d 30 32 2d 30 38 20 20 e...2005-02-08
1120: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 Jeff Hobbs <jef
1130: 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 [email protected]
1140: 6f 6d 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 om>...* Makefile
1150: 2e 69 6e 2c 20 74 63 6c 63 6f 6e 66 69 67 2f 74 .in, tclconfig/t
1160: 63 6c 2e 6d 34 3a 20 75 70 64 61 74 65 20 74 6f cl.m4: update to
1170: 20 54 45 41 20 33 2e 32 0a 09 2a 20 63 6f 6e 66 TEA 3.2..* conf
1180: 69 67 75 72 65 2c 20 63 6f 6e 66 69 67 75 72 65 igure, configure
1190: 2e 69 6e 3a 20 20 20 20 20 20 20 75 73 69 6e 67 .in: using
11a0: 20 61 75 74 6f 63 6f 6e 66 2d 32 2e 35 39 0a 0a autoconf-2.59..
11b0: 32 30 30 34 2d 31 32 2d 32 33 20 20 50 61 74 20 2004-12-23 Pat
11c0: 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 Thoyts <patthoy
11d0: 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 [email protected]
11e0: 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 4d 61 orge.net>...* Ma
11f0: 6b 65 66 69 6c 65 2e 69 6e 3a 20 20 20 20 20 20 kefile.in:
1200: 52 65 6d 6f 76 65 64 20 73 70 75 72 69 6f 75 73 Removed spurious
1210: 20 63 6f 70 79 69 6e 67 20 6f 66 20 74 6c 73 2e copying of tls.
1220: 74 63 6c 20 69 6e 74 6f 20 74 68 65 0a 09 20 20 tcl into the..
1230: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
1240: 20 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72 build director
1250: 79 2e 0a 0a 32 30 30 34 2d 31 32 2d 32 32 20 20 y...2004-12-22
1260: 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74 Pat Thoyts <pat
1270: 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75 [email protected]
1280: 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 rceforge.net>...
1290: 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 * configure.in:
12a0: 20 20 20 20 49 6e 63 72 65 6d 65 6e 74 65 64 20 Incremented
12b0: 6d 69 6e 6f 72 20 76 65 72 73 69 6f 6e 20 74 6f minor version to
12c0: 20 31 2e 35 2e 31 0a 09 2a 20 63 6f 6e 66 69 67 1.5.1..* config
12d0: 75 72 65 3a 0a 0a 32 30 30 34 2d 31 32 2d 31 37 ure:..2004-12-17
12e0: 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 Pat Thoyts <p
12f0: 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 [email protected]
1300: 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a ourceforge.net>.
1310: 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 ..* win/makefile
1320: 2e 76 63 3a 20 20 41 64 64 65 64 20 74 68 65 20 .vc: Added the
1330: 4d 53 56 43 20 62 75 69 6c 64 20 73 79 73 74 65 MSVC build syste
1340: 6d 20 28 66 72 6f 6d 20 74 68 65 20 54 63 6c 0a m (from the Tcl.
1350: 09 2a 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63 3a .* win/rules.vc:
1360: 20 20 20 20 20 73 61 6d 70 6c 65 65 78 74 65 6e sampleexten
1370: 73 69 6f 6e 29 2e 0a 09 2a 20 77 69 6e 2f 6e 6d sion)...* win/nm
1380: 61 6b 65 68 6c 70 2e 63 3a 0a 09 2a 20 77 69 6e akehlp.c:..* win
1390: 2f 74 6c 73 2e 72 63 20 20 20 20 20 20 20 20 41 /tls.rc A
13a0: 64 64 65 64 20 57 69 6e 64 6f 77 73 20 72 65 73 dded Windows res
13b0: 6f 75 72 63 65 20 66 69 6c 65 2e 0a 0a 09 2a 20 ource file....*
13c0: 74 6c 73 2e 74 63 6c 3a 20 20 20 20 20 20 20 20 tls.tcl:
13d0: 20 20 46 72 6f 6d 20 70 61 74 63 68 20 23 39 34 From patch #94
13e0: 38 31 35 35 2c 20 61 64 64 65 64 20 73 75 70 70 8155, added supp
13f0: 6f 72 74 20 66 6f 72 0a 09 20 20 20 20 20 20 20 ort for..
1400: 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 74 alt
1410: 65 72 6e 61 74 65 20 73 6f 63 6b 65 74 20 63 6f ernate socket co
1420: 6d 6d 61 6e 64 73 2e 0a 09 2a 20 74 6c 73 2e 63 mmands...* tls.c
1430: 3a 20 20 20 20 20 20 20 20 20 20 20 20 51 75 69 : Qui
1440: 65 74 65 6e 20 73 6f 6d 65 20 4d 53 56 43 20 77 eten some MSVC w
1450: 61 72 6e 69 6e 67 73 2e 20 50 72 65 66 65 72 20 arnings. Prefer
1460: 63 6b 61 6c 6c 6f 63 0a 09 20 20 20 20 20 20 20 ckalloc..
1470: 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 76 65 ove
1480: 72 20 54 63 6c 5f 41 6c 6c 6f 63 2e 20 28 44 61 r Tcl_Alloc. (Da
1490: 76 69 64 20 47 72 61 76 65 72 61 75 78 29 2e 0a vid Graveraux)..
14a0: 0a 32 30 30 34 2d 30 36 2d 32 39 20 20 50 61 74 .2004-06-29 Pat
14b0: 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f Thoyts <pattho
14c0: 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 [email protected]
14d0: 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 forge.net>...* t
14e0: 6c 73 2e 63 3a 20 20 20 20 20 20 20 20 20 20 20 ls.c:
14f0: 20 46 69 78 75 70 20 74 6f 20 62 75 69 6c 64 20 Fixup to build
1500: 61 67 61 69 6e 73 74 20 74 63 6c 20 38 2e 33 2e against tcl 8.3.
1510: 33 2e 20 48 61 6e 64 6c 65 0a 09 2a 20 74 6c 73 3. Handle..* tls
1520: 49 4f 2e 63 3a 20 20 20 20 20 20 20 20 20 20 38 IO.c: 8
1530: 2e 34 20 63 6f 6e 73 74 69 66 69 63 61 74 69 6f .4 constificatio
1540: 6e 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a n....* tlsInt.h:
1550: 20 20 20 20 20 20 20 20 20 41 64 64 65 64 20 68 Added h
1560: 65 61 64 65 72 73 20 72 65 71 75 69 72 65 64 20 eaders required
1570: 77 69 74 68 20 4d 53 56 43 20 6f 6e 20 57 69 6e with MSVC on Win
1580: 33 32 2e 0a 09 2a 20 74 6c 73 58 35 30 39 2e 63 32...* tlsX509.c
1590: 3a 20 20 20 20 20 20 20 20 75 6e 64 65 66 20 6d : undef m
15a0: 69 6e 20 61 6e 64 20 6d 61 78 20 69 66 20 64 65 in and max if de
15b0: 66 69 6e 65 64 20 28 77 69 6e 33 32 29 2e 0a 0a fined (win32)...
15c0: 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 .* Makefile.in:
15d0: 20 20 20 20 20 46 69 78 65 64 20 74 6f 20 62 75 Fixed to bu
15e0: 69 6c 64 20 6f 6e 20 77 69 6e 33 32 20 75 73 69 ild on win32 usi
15f0: 6e 67 20 6d 73 79 73 20 77 69 74 68 0a 09 2a 20 ng msys with..*
1600: 61 63 6c 6f 63 61 6c 2e 6d 34 3a 20 20 20 20 20 aclocal.m4:
1610: 20 20 4d 53 56 43 2e 20 41 6c 73 6f 20 66 69 78 MSVC. Also fix
1620: 65 64 20 74 68 65 20 74 65 73 74 20 74 61 72 67 ed the test targ
1630: 65 74 2e 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 et...* configure
1640: 2e 69 6e 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 .in:..* configur
1650: 65 3a 20 20 20 20 20 20 20 20 52 65 67 65 6e 65 e: Regene
1660: 72 61 74 65 64 2e 0a 09 2a 20 74 63 6c 63 6f 6e rated...* tclcon
1670: 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 55 70 64 61 fig/tcl.m4: Upda
1680: 74 65 64 20 74 6f 20 6d 6f 73 74 20 72 65 63 65 ted to most rece
1690: 6e 74 20 76 65 72 73 69 6f 6e 2e 0a 0a 32 30 30 nt version...200
16a0: 34 2d 30 33 2d 32 33 20 20 44 61 6e 20 52 61 7a 4-03-23 Dan Raz
16b0: 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 zell <research@s
16c0: 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 tarfishsystems.c
16d0: 61 3e 0a 09 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 a>..* tls.c:..*
16e0: 74 6c 73 42 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 tlsBIO.c:..* tls
16f0: 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 49 6e 74 2e IO.c:..* tlsInt.
1700: 68 3a 09 46 69 78 65 64 20 74 79 70 65 20 6d 61 h:.Fixed type ma
1710: 74 63 68 20 77 61 72 6e 69 6e 67 73 2e 0a 0a 32 tch warnings...2
1720: 30 30 34 2d 30 33 2d 31 39 20 20 4a 65 66 66 20 004-03-19 Jeff
1730: 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 Hobbs <jeffh@Ac
1740: 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a tiveState.com>..
1750: 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e .* tls.c (Tls_In
1760: 69 74 29 3a 20 20 20 72 65 70 6c 61 63 65 64 20 it): replaced
1770: 6f 6c 64 65 72 20 54 45 41 20 63 6f 6e 66 69 67 older TEA config
1780: 20 77 69 74 68 20 6e 65 77 65 72 0a 09 2a 20 63 with newer..* c
1790: 6f 6e 66 69 67 2f 2a 20 28 72 65 6d 6f 76 65 64 onfig/* (removed
17a0: 29 3a 0a 09 2a 20 70 6b 67 49 6e 64 65 78 2e 74 ):..* pkgIndex.t
17b0: 63 6c 2e 69 6e 2c 20 73 74 72 6e 63 61 73 65 63 cl.in, strncasec
17c0: 6d 70 2e 63 20 28 72 65 6d 6f 76 65 64 29 3a 0a mp.c (removed):.
17d0: 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 2c 20 .* Makefile.in,
17e0: 61 63 6c 6f 63 61 6c 2e 6d 34 2c 20 63 6f 6e 66 aclocal.m4, conf
17f0: 69 67 75 72 65 2c 20 63 6f 6e 66 69 67 75 72 65 igure, configure
1800: 2e 69 6e 3a 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 .in:..* tclconfi
1810: 67 2f 52 45 41 44 4d 45 2e 74 78 74 2c 20 74 63 g/README.txt, tc
1820: 6c 63 6f 6e 66 69 67 2f 69 6e 73 74 61 6c 6c 2d lconfig/install-
1830: 73 68 2c 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 sh, tclconfig/tc
1840: 6c 2e 6d 34 3a 0a 0a 32 30 30 34 2d 30 33 2d 31 l.m4:..2004-03-1
1850: 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 7 Dan Razzell <
1860: 72 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73 research@starfis
1870: 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a hsystems.ca>...*
1880: 20 74 6c 73 58 35 30 39 2e 63 3a 09 41 64 64 20 tlsX509.c:.Add
1890: 73 75 70 70 6f 72 74 20 66 6f 72 20 6c 6f 6e 67 support for long
18a0: 20 73 65 72 69 61 6c 20 6e 75 6d 62 65 72 73 20 serial numbers
18b0: 70 65 72 20 52 46 43 20 33 32 38 30 2e 0a 09 09 per RFC 3280....
18c0: 09 46 6f 72 6d 61 74 20 69 73 20 6e 6f 77 20 68 .Format is now h
18d0: 65 78 61 64 65 63 69 6d 61 6c 2e 0a 09 09 09 5b exadecimal.....[
18e0: 52 65 71 75 65 73 74 20 23 39 31 35 33 31 33 5d Request #915313]
18f0: 0a 09 09 09 43 6f 72 72 65 63 74 6c 79 20 63 6f ....Correctly co
1900: 6e 76 65 72 74 20 63 65 72 74 69 66 69 63 61 74 nvert certificat
1910: 65 20 44 69 73 74 69 6e 67 75 69 73 68 65 64 20 e Distinguished
1920: 4e 61 6d 65 73 0a 09 09 09 74 6f 20 54 63 6c 20 Names....to Tcl
1930: 73 74 72 69 6e 67 20 72 65 70 72 65 73 65 6e 74 string represent
1940: 61 74 69 6f 6e 2e 20 20 45 6c 69 6d 69 6e 61 74 ation. Eliminat
1950: 65 73 20 75 73 65 20 6f 66 0a 09 09 09 64 65 70 es use of....dep
1960: 72 65 63 61 74 65 64 20 4f 70 65 6e 53 53 4c 20 recated OpenSSL
1970: 66 75 6e 63 74 69 6f 6e 2e 20 20 46 6f 72 6d 61 function. Forma
1980: 74 20 69 73 20 6e 6f 77 20 63 6f 6d 70 6c 69 61 t is now complia
1990: 6e 74 0a 09 09 09 77 69 74 68 20 52 46 43 20 32 nt....with RFC 2
19a0: 32 35 33 2e 20 20 5b 52 65 71 75 65 73 74 20 23 253. [Request #
19b0: 39 31 35 33 31 35 5d 0a 0a 32 30 30 34 2d 30 32 915315]..2004-02
19c0: 2d 31 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c -17 Dan Razzell
19d0: 20 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66 <research@starf
19e0: 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a ishsystems.ca>..
19f0: 09 54 4c 53 20 31 2e 35 2e 30 20 52 45 4c 45 41 .TLS 1.5.0 RELEA
1a00: 53 45 0a 0a 32 30 30 34 2d 30 32 2d 31 32 20 20 SE..2004-02-12
1a10: 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 Dan Razzell.<res
1a20: 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79 earch@starfishsy
1a30: 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 6c stems.ca>...* tl
1a40: 73 2e 63 3a 09 41 6c 6c 6f 77 20 76 65 72 69 66 s.c:.Allow verif
1a50: 79 20 63 61 6c 6c 62 61 63 6b 20 74 6f 20 72 65 y callback to re
1a60: 74 75 72 6e 20 65 6d 70 74 79 20 72 65 73 75 6c turn empty resul
1a70: 74 2e 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 09 44 t...* tls.htm:.D
1a80: 6f 63 75 6d 65 6e 74 20 63 61 6c 6c 62 61 63 6b ocument callback
1a90: 20 62 65 68 61 76 69 6f 72 73 2e 0a 0a 32 30 30 behaviors...200
1aa0: 34 2d 30 32 2d 31 31 20 20 44 61 6e 20 52 61 7a 4-02-11 Dan Raz
1ab0: 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 73 zell.<research@s
1ac0: 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 tarfishsystems.c
1ad0: 61 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 a>...* tests/tls
1ae0: 49 4f 2e 74 65 73 74 3a 0a 09 2a 20 72 65 6d 6f IO.test:..* remo
1af0: 74 65 2e 74 63 6c 3a 09 43 6f 6d 70 6c 65 74 65 te.tcl:.Complete
1b00: 20 70 72 69 76 61 74 65 20 6b 65 79 20 6e 61 6d private key nam
1b10: 65 20 63 68 61 6e 67 65 73 20 66 72 6f 6d 20 32 e changes from 2
1b20: 30 30 31 2d 30 36 2d 32 31 2e 0a 0a 32 30 30 34 001-06-21...2004
1b30: 2d 30 32 2d 30 33 20 20 44 61 6e 20 52 61 7a 7a -02-03 Dan Razz
1b40: 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 74 ell <research@st
1b50: 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 arfishsystems.ca
1b60: 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 >...* Makefile.i
1b70: 6e 3a 09 52 65 6d 6f 76 65 64 20 63 69 72 63 75 n:.Removed circu
1b80: 6c 61 72 20 64 65 70 65 6e 64 65 6e 63 79 2e 0a lar dependency..
1b90: 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 09 4d 61 6b .* tlsInt.h:.Mak
1ba0: 65 20 66 75 6e 63 74 69 6f 6e 20 64 65 63 6c 61 e function decla
1bb0: 72 61 74 69 6f 6e 73 20 65 78 70 6c 69 63 69 74 rations explicit
1bc0: 2e 0a 09 2a 20 74 6c 73 2e 63 3a 09 46 69 78 20 ...* tls.c:.Fix
1bd0: 74 79 70 65 20 6d 61 74 63 68 20 61 6e 64 20 75 type match and u
1be0: 6e 75 73 65 64 20 76 61 72 69 61 62 6c 65 20 77 nused variable w
1bf0: 61 72 6e 69 6e 67 73 2e 0a 09 2a 20 74 6c 73 42 arnings...* tlsB
1c00: 49 4f 2e 63 3a 09 46 69 78 20 74 79 70 65 20 6d IO.c:.Fix type m
1c10: 61 74 63 68 20 77 61 72 6e 69 6e 67 2e 0a 0a 32 atch warning...2
1c20: 30 30 33 2d 31 32 2d 31 35 20 20 44 61 6e 20 52 003-12-15 Dan R
1c30: 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63 68 azzell.<research
1c40: 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 @starfishsystems
1c50: 2e 63 61 3e 0a 0a 09 2a 20 70 6b 67 49 6e 64 65 .ca>...* pkgInde
1c60: 78 2e 74 63 6c 2e 69 6e 3a 0a 09 2a 20 74 6c 73 x.tcl.in:..* tls
1c70: 2e 68 74 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 74 .htm:..* tests/t
1c80: 6c 73 49 4f 2e 74 65 73 74 3a 20 75 70 64 61 74 lsIO.test: updat
1c90: 65 64 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e ed version to 1.
1ca0: 35 2e 0a 0a 32 30 30 33 2d 31 30 2d 30 37 20 20 5...2003-10-07
1cb0: 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 Dan Razzell.<res
1cc0: 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79 earch@starfishsy
1cd0: 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 65 stems.ca>...* te
1ce0: 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74 sts/ciphers.test
1cf0: 3a 20 75 70 64 61 74 65 64 20 6c 69 73 74 20 6f : updated list o
1d00: 66 20 74 65 73 74 65 64 20 63 69 70 68 65 72 73 f tested ciphers
1d10: 20 74 6f 20 63 6f 72 72 65 73 70 6f 6e 64 0a 09 to correspond..
1d20: 2a 20 77 69 74 68 20 74 68 6f 73 65 20 61 76 61 * with those ava
1d30: 69 6c 61 62 6c 65 20 66 72 6f 6d 20 4f 70 65 6e ilable from Open
1d40: 53 53 4c 2e 20 5b 52 65 71 75 65 73 74 20 23 38 SSL. [Request #8
1d50: 31 31 39 38 31 5d 0a 0a 32 30 30 33 2d 31 30 2d 11981]..2003-10-
1d60: 30 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 20 07 Dan Razzell
1d70: 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66 69 <research@starfi
1d80: 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 shsystems.ca>...
1d90: 2a 20 74 6c 73 2e 63 3a 20 61 64 64 65 64 20 43 * tls.c: added C
1da0: 4f 4e 53 54 20 77 69 74 68 20 69 6e 74 65 6e 74 ONST with intent
1db0: 20 73 69 6d 69 6c 61 72 20 74 6f 20 74 68 6f 73 similar to thos
1dc0: 65 20 66 72 6f 6d 20 32 30 30 32 2d 30 32 2d 30 e from 2002-02-0
1dd0: 34 2e 0a 09 5b 52 65 71 75 65 73 74 20 23 38 31 4...[Request #81
1de0: 31 39 31 31 5d 0a 0a 32 30 30 33 2d 30 37 2d 30 1911]..2003-07-0
1df0: 37 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 7 Jeff Hobbs <
1e00: 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 74 jeffh@ActiveStat
1e10: 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 e.com>...* tls.c
1e20: 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 20 20 61 (Tls_Init): a
1e30: 64 64 65 64 20 74 6c 73 3a 3a 6d 69 73 63 20 63 dded tls::misc c
1e40: 6f 6d 6d 61 6e 64 20 70 72 6f 76 69 64 65 64 20 ommand provided
1e50: 62 79 0a 09 2a 20 74 6c 73 58 35 30 39 2e 63 3a by..* tlsX509.c:
1e60: 20 20 20 20 20 20 20 20 20 20 57 6f 6a 63 69 65 Wojcie
1e70: 63 68 20 4b 6f 63 6a 61 6e 20 28 77 6f 6a 63 69 ch Kocjan (wojci
1e80: 65 63 68 20 6b 6f 63 6a 61 6e 2e 6f 72 67 29 0a ech kocjan.org).
1e90: 09 2a 20 74 65 73 74 73 2f 6b 65 79 74 65 73 74 .* tests/keytest
1ea0: 31 2e 74 63 6c 3a 20 74 6f 20 65 78 70 6f 73 65 1.tcl: to expose
1eb0: 20 6d 6f 72 65 20 6c 6f 77 2d 6c 65 76 65 6c 20 more low-level
1ec0: 53 53 4c 20 63 6f 6d 6d 61 6e 64 73 0a 09 2a 20 SSL commands..*
1ed0: 74 65 73 74 73 2f 6b 65 79 74 65 73 74 32 2e 74 tests/keytest2.t
1ee0: 63 6c 3a 0a 0a 32 30 30 33 2d 30 35 2d 31 35 20 cl:..2003-05-15
1ef0: 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 Dan Razzell.<re
1f00: 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 search@starfishs
1f10: 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 ystems.ca>...* t
1f20: 6c 73 2e 74 63 6c 3a 0a 09 2a 20 74 6c 73 49 6e ls.tcl:..* tlsIn
1f30: 74 2e 68 3a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 t.h:..* tls.c: a
1f40: 64 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 62 dd support for b
1f50: 69 6e 64 69 6e 67 20 61 20 70 61 73 73 77 6f 72 inding a passwor
1f60: 64 20 63 61 6c 6c 62 61 63 6b 20 74 6f 20 74 68 d callback to th
1f70: 65 20 73 6f 63 6b 65 74 2e 0a 09 4e 6f 77 20 65 e socket...Now e
1f80: 61 63 68 20 73 6f 63 6b 65 74 20 63 61 6e 20 68 ach socket can h
1f90: 61 76 65 20 69 74 73 20 6f 77 6e 20 63 6f 6d 6d ave its own comm
1fa0: 61 6e 64 20 61 6e 64 20 70 61 73 73 77 6f 72 64 and and password
1fb0: 20 63 61 6c 6c 62 61 63 6b 73 20 69 6e 73 74 65 callbacks inste
1fc0: 61 64 0a 09 6f 66 20 62 65 69 6e 67 20 66 6f 72 ad..of being for
1fd0: 63 65 64 20 74 6f 20 68 61 76 65 20 61 6c 6c 20 ced to have all
1fe0: 70 61 73 73 77 6f 72 64 20 6d 61 6e 61 67 65 6d password managem
1ff0: 65 6e 74 20 70 61 73 73 20 74 68 72 6f 75 67 68 ent pass through
2000: 20 61 20 63 6f 6d 6d 6f 6e 0a 09 70 72 6f 63 65 a common..proce
2010: 64 75 72 65 2e 20 20 54 68 65 20 63 6f 6d 6d 6f dure. The commo
2020: 6e 20 70 61 73 73 77 6f 72 64 20 70 72 6f 63 65 n password proce
2030: 64 75 72 65 20 69 73 20 72 65 74 61 69 6e 65 64 dure is retained
2040: 20 66 6f 72 20 63 6f 6d 70 61 74 69 62 69 6c 69 for compatibili
2050: 74 79 0a 09 62 75 74 20 69 74 73 20 75 73 65 20 ty..but its use
2060: 73 68 6f 75 6c 64 20 62 65 20 44 45 50 52 45 43 should be DEPREC
2070: 41 54 45 44 2e 0a 09 41 64 64 20 76 65 72 73 69 ATED...Add versi
2080: 6f 6e 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 72 65 on command to re
2090: 74 75 72 6e 20 4f 70 65 6e 53 53 4c 20 76 65 72 turn OpenSSL ver
20a0: 73 69 6f 6e 20 73 74 72 69 6e 67 2e 0a 09 52 65 sion string...Re
20b0: 6d 6f 76 65 20 75 6e 73 74 61 62 6c 65 20 77 6f move unstable wo
20c0: 72 6b 61 72 6f 75 6e 64 73 20 6e 65 65 64 65 64 rkarounds needed
20d0: 20 66 6f 72 20 76 65 72 69 66 79 20 69 6e 20 6f for verify in o
20e0: 62 73 6f 6c 65 74 65 20 76 65 72 73 69 6f 6e 73 bsolete versions
20f0: 20 6f 66 0a 09 4f 70 65 6e 53 53 4c 2e 0a 09 46 of..OpenSSL...F
2100: 69 78 20 6d 65 6d 6f 72 79 20 6c 65 61 6b 2e 20 ix memory leak.
2110: 5b 52 65 71 75 65 73 74 20 23 36 34 30 36 36 30 [Request #640660
2120: 5d 0a 09 4d 6f 72 65 20 63 61 73 74 73 20 74 6f ]..More casts to
2130: 20 65 6c 69 6d 69 6e 61 74 65 20 63 6f 6d 70 69 eliminate compi
2140: 6c 65 72 20 77 61 72 6e 69 6e 67 73 2e 0a 0a 09 ler warnings....
2150: 2a 20 74 6c 73 2e 68 74 6d 3a 20 64 6f 63 75 6d * tls.htm: docum
2160: 65 6e 74 20 70 61 73 73 77 6f 72 64 20 63 61 6c ent password cal
2170: 6c 62 61 63 6b 2e 0a 09 43 6f 72 72 65 63 74 20 lback...Correct
2180: 74 65 63 68 6e 69 63 61 6c 20 61 6e 64 20 74 79 technical and ty
2190: 70 6f 67 72 61 70 68 69 63 20 65 72 72 6f 72 73 pographic errors
21a0: 2e 0a 0a 09 2a 20 52 45 41 44 4d 45 2e 74 78 74 ....* README.txt
21b0: 3a 20 69 64 65 6e 74 69 66 79 20 76 65 72 73 69 : identify versi
21c0: 6f 6e 73 20 6f 66 20 4f 70 65 6e 53 53 4c 20 77 ons of OpenSSL w
21d0: 68 69 63 68 20 66 69 78 20 6b 6e 6f 77 6e 20 70 hich fix known p
21e0: 72 6f 62 6c 65 6d 73 2e 0a 09 47 65 6e 65 72 61 roblems...Genera
21f0: 6c 20 77 61 72 6e 69 6e 67 20 6f 66 20 73 65 63 l warning of sec
2200: 75 72 69 74 79 20 70 72 6f 62 6c 65 6d 73 20 69 urity problems i
2210: 6e 20 6f 6c 64 65 72 20 76 65 72 73 69 6f 6e 73 n older versions
2220: 20 6f 66 20 4f 70 65 6e 53 53 4c 2e 0a 0a 32 30 of OpenSSL...20
2230: 30 32 2d 30 32 2d 30 34 20 20 4a 65 66 66 20 48 02-02-04 Jeff H
2240: 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 obbs <jeffh@Act
2250: 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 iveState.com>...
2260: 2a 20 74 6c 73 2e 68 74 6d 3a 0a 09 2a 20 74 6c * tls.htm:..* tl
2270: 73 2e 63 3a 20 61 64 64 65 64 20 73 75 70 70 6f s.c: added suppo
2280: 72 74 20 66 6f 72 20 6c 6f 63 61 6c 20 63 65 72 rt for local cer
2290: 74 69 66 69 63 61 74 65 20 73 74 61 74 75 73 20 tificate status
22a0: 63 68 65 63 6b 2c 20 61 73 20 77 65 6c 6c 0a 09 check, as well..
22b0: 61 73 20 72 65 74 75 72 6e 69 6e 67 20 74 68 65 as returning the
22c0: 20 23 20 6f 66 20 62 69 74 73 20 69 6e 20 74 68 # of bits in th
22d0: 65 20 73 65 73 73 69 6f 6e 20 6b 65 79 2e 20 5b e session key. [
22e0: 50 61 74 63 68 20 23 35 30 35 36 39 38 5d 20 28 Patch #505698] (
22f0: 72 6f 73 65 29 0a 0a 09 2a 20 74 6c 73 2e 63 3a rose)...* tls.c:
2300: 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 ..* tlsIO.c:..*
2310: 74 6c 73 42 49 4f 2e 63 3a 20 61 64 64 65 64 20 tlsBIO.c: added
2320: 43 4f 4e 53 54 73 20 74 6f 20 73 61 74 69 73 66 CONSTs to satisf
2330: 79 20 54 63 6c 20 38 2e 34 20 73 6f 75 72 63 65 y Tcl 8.4 source
2340: 73 2e 20 20 54 68 69 73 20 6d 61 79 0a 09 67 69 s. This may..gi
2350: 76 65 20 77 61 72 6e 69 6e 67 73 20 77 68 65 6e ve warnings when
2360: 20 63 6f 6d 70 69 6c 65 64 20 61 67 61 69 6e 73 compiled agains
2370: 74 20 38 2e 33 2c 20 62 75 74 20 74 68 65 79 20 t 8.3, but they
2380: 63 61 6e 20 62 65 20 69 67 6e 6f 72 65 64 2e 0a can be ignored..
2390: 0a 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c 65 ..* tests/simple
23a0: 43 6c 69 65 6e 74 2e 74 63 6c 3a 0a 09 2a 20 74 Client.tcl:..* t
23b0: 65 73 74 73 2f 73 69 6d 70 6c 65 53 65 72 76 65 ests/simpleServe
23c0: 72 2e 74 63 6c 3a 20 70 6f 69 6e 74 20 74 6f 20 r.tcl: point to
23d0: 75 70 64 61 74 65 64 20 63 6c 69 65 6e 74 2f 73 updated client/s
23e0: 65 72 76 65 72 20 6b 65 79 20 66 69 6c 65 73 2e erver key files.
23f0: 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f ...* tests/tlsIO
2400: 2e 74 65 73 74 3a 0a 09 2a 20 74 65 73 74 73 2f .test:..* tests/
2410: 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20 75 70 ciphers.test: up
2420: 64 61 74 65 64 20 74 6f 20 6c 6f 61 64 20 74 6c dated to load tl
2430: 73 20 66 72 6f 6d 20 62 75 69 6c 64 20 64 69 72 s from build dir
2440: 2e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 ....* Makefile.i
2450: 6e 3a 20 72 65 6d 6f 76 65 64 20 73 74 72 6e 63 n: removed strnc
2460: 61 73 65 63 6d 70 20 66 72 6f 6d 20 64 65 66 61 asecmp from defa
2470: 75 6c 74 20 6f 62 6a 65 63 74 20 73 65 74 2e 20 ult object set.
2480: 20 54 68 69 73 0a 09 69 73 20 6f 6e 6c 79 20 6e This..is only n
2490: 65 65 64 65 64 20 6f 6e 20 74 68 65 20 4d 61 63 eeded on the Mac
24a0: 2c 20 61 6e 64 20 54 63 6c 20 73 74 75 62 73 20 , and Tcl stubs
24b0: 70 72 6f 76 69 64 65 73 20 69 74 2e 0a 0a 09 2a provides it....*
24c0: 20 63 6f 6e 66 69 67 75 72 65 3a 20 72 65 67 65 configure: rege
24d0: 6e 27 65 64 2e 0a 09 2a 20 63 6f 6e 66 69 67 75 n'ed...* configu
24e0: 72 65 2e 69 6e 3a 20 75 70 64 61 74 65 64 20 74 re.in: updated t
24f0: 6f 20 31 2e 35 2e 30 20 66 6f 72 20 6e 65 78 74 o 1.5.0 for next
2500: 20 72 65 6c 65 61 73 65 2e 0a 09 43 68 61 6e 67 release...Chang
2510: 65 64 20 64 65 66 61 75 6c 74 20 6f 70 65 6e 73 ed default opens
2520: 73 6c 20 6c 6f 63 61 74 69 6f 6e 20 74 6f 20 2f sl location to /
2530: 75 73 72 2f 6c 6f 63 61 6c 2f 73 73 6c 20 28 74 usr/local/ssl (t
2540: 68 69 73 20 69 73 20 77 68 65 72 65 0a 09 6f 70 his is where..op
2550: 65 6e 73 73 6c 20 30 2e 39 2e 36 63 20 69 6e 73 enssl 0.9.6c ins
2560: 74 61 6c 6c 73 20 62 79 20 64 65 66 61 75 6c 74 talls by default
2570: 29 2e 0a 09 43 68 61 6e 67 65 64 20 74 6f 20 75 )...Changed to u
2580: 73 65 20 70 75 62 6c 69 63 20 54 63 6c 20 68 65 se public Tcl he
2590: 61 64 65 72 73 20 28 70 72 69 76 61 74 65 20 6e aders (private n
25a0: 6f 74 20 6e 65 65 64 65 64 29 2e 0a 0a 32 30 30 ot needed)...200
25b0: 31 2d 30 36 2d 32 31 20 20 4a 65 66 66 20 48 6f 1-06-21 Jeff Ho
25c0: 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 bbs <jeffh@Acti
25d0: 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 54 veState.com>...T
25e0: 4c 53 20 31 2e 34 2e 31 20 52 45 4c 45 41 53 45 LS 1.4.1 RELEASE
25f0: 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 ...* configure:
2600: 61 64 64 65 64 20 63 6f 6e 66 69 67 75 72 65 20 added configure
2610: 74 6f 20 43 56 53 0a 09 2a 20 63 6f 6e 66 69 67 to CVS..* config
2620: 75 72 65 2e 69 6e 3a 20 6d 6f 76 65 64 20 74 6f ure.in: moved to
2630: 20 70 61 74 63 68 6c 65 76 65 6c 20 31 2e 34 2e patchlevel 1.4.
2640: 31 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 1...* Makefile.i
2650: 6e 3a 20 63 6f 72 72 65 63 74 65 64 20 27 64 69 n: corrected 'di
2660: 73 74 27 20 74 61 72 67 65 74 0a 0a 09 2a 20 74 st' target...* t
2670: 65 73 74 73 2f 63 65 72 74 73 2f 66 69 6c 65 2e ests/certs/file.
2680: 73 72 6c 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 srl:..* tests/ce
2690: 72 74 73 2f 63 61 2e 70 65 6d 3a 0a 09 2a 20 74 rts/ca.pem:..* t
26a0: 65 73 74 73 2f 63 65 72 74 73 2f 63 6c 69 65 6e ests/certs/clien
26b0: 74 2e 6b 65 79 3a 0a 09 2a 20 74 65 73 74 73 2f t.key:..* tests/
26c0: 63 65 72 74 73 2f 63 6c 69 65 6e 74 2e 70 65 6d certs/client.pem
26d0: 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 :..* tests/certs
26e0: 2f 63 6c 69 65 6e 74 2e 72 65 71 3a 0a 09 2a 20 /client.req:..*
26f0: 74 65 73 74 73 2f 63 65 72 74 73 2f 70 72 69 76 tests/certs/priv
2700: 6b 65 79 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 74 key.pem:..* test
2710: 73 2f 63 65 72 74 73 2f 73 65 72 76 65 72 2e 6b s/certs/server.k
2720: 65 79 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 ey:..* tests/cer
2730: 74 73 2f 73 65 72 76 65 72 2e 70 65 6d 3a 0a 09 ts/server.pem:..
2740: 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 73 65 * tests/certs/se
2750: 72 76 65 72 2e 72 65 71 3a 0a 09 2a 20 74 65 73 rver.req:..* tes
2760: 74 73 2f 63 65 72 74 73 2f 63 61 63 65 72 74 2e ts/certs/cacert.
2770: 70 65 6d 3a 20 72 65 70 6c 61 63 65 64 20 62 79 pem: replaced by
2780: 20 6e 65 77 20 63 61 2e 70 65 6d 0a 09 2a 20 74 new ca.pem..* t
2790: 65 73 74 73 2f 63 65 72 74 73 2f 73 6b 65 79 2e ests/certs/skey.
27a0: 70 65 6d 3a 20 72 65 70 6c 61 63 65 64 20 62 79 pem: replaced by
27b0: 20 6e 65 77 20 73 65 72 76 65 72 2e 6b 65 79 0a new server.key.
27c0: 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63 .* tests/certs/c
27d0: 6b 65 79 2e 70 65 6d 3a 20 72 65 70 6c 61 63 65 key.pem: replace
27e0: 64 20 62 79 20 6e 65 77 20 63 6c 69 65 6e 74 2e d by new client.
27f0: 6b 65 79 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 key..* tests/cer
2800: 74 73 2f 52 45 41 44 4d 45 2e 74 78 74 3a 20 6e ts/README.txt: n
2810: 65 77 20 73 65 74 20 6f 66 20 74 65 73 74 20 63 ew set of test c
2820: 65 72 74 69 66 69 63 61 74 65 73 20 77 69 74 68 ertificates with
2830: 20 73 6f 6d 65 0a 09 52 45 41 44 4d 45 20 69 6e some..README in
2840: 66 6f 20 6f 6e 20 74 68 65 69 72 20 67 65 6e 65 fo on their gene
2850: 72 61 74 69 6f 6e 2e 0a 0a 09 2a 20 74 65 73 74 ration....* test
2860: 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20 s/ciphers.test:
2870: 75 70 64 61 74 65 64 20 63 69 70 68 65 72 73 20 updated ciphers
2880: 65 78 70 65 63 74 65 64 20 77 69 74 68 20 64 65 expected with de
2890: 66 61 75 6c 74 0a 09 6f 70 65 6e 73 73 6c 20 62 fault..openssl b
28a0: 75 69 6c 64 2e 0a 0a 09 2a 20 74 65 73 74 73 2f uild....* tests/
28b0: 74 63 6c 49 4f 2e 74 65 73 74 3a 20 75 70 64 61 tclIO.test: upda
28c0: 74 65 64 20 74 6f 20 75 73 65 20 6e 65 77 20 6e ted to use new n
28d0: 61 6d 65 73 20 66 6f 72 20 63 65 72 74 73 2f 6b ames for certs/k
28e0: 65 79 73 2e 0a 0a 32 30 30 31 2d 30 33 2d 31 34 eys...2001-03-14
28f0: 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a Jeff Hobbs <j
2900: 65 66 66 68 40 67 69 6d 6c 65 74 2e 61 63 74 69 [email protected]
2910: 76 65 73 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a vestate.com>...*
2920: 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 tls.c (Tls_Init
2930: 29 3a 20 61 64 64 20 64 6f 2f 77 68 69 6c 65 20 ): add do/while
2940: 66 6f 72 20 72 61 6e 64 6f 6d 20 6e 75 6d 62 65 for random numbe
2950: 72 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e r initialization
2960: 0a 09 74 6f 20 77 6f 72 6b 20 61 72 6f 75 6e 64 ..to work around
2970: 20 73 6f 6d 65 20 4f 53 65 73 20 71 75 69 72 6b some OSes quirk
2980: 73 2e 20 20 28 52 61 6c 70 68 2e 42 69 6c 6c 65 s. (Ralph.Bille
2990: 73 40 74 65 6c 74 65 63 68 2e 63 6f 6d 2e 61 75 [email protected]
29a0: 29 0a 0a 32 30 30 30 2d 30 39 2d 30 37 20 20 4a )..2000-09-07 J
29b0: 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 eff Hobbs <hobb
29c0: 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e [email protected]>
29d0: 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 20 28 54 6c ...* tlsIO.c (Tl
29e0: 73 5f 43 68 61 6e 6e 65 6c 54 79 70 65 29 3a 20 s_ChannelType):
29f0: 73 65 74 20 74 79 70 65 4e 61 6d 65 20 66 69 65 set typeName fie
2a00: 6c 64 20 6f 66 20 63 68 61 6e 6e 65 6c 20 74 79 ld of channel ty
2a10: 70 65 20 74 6f 0a 09 22 74 6c 73 22 20 28 74 68 pe to.."tls" (th
2a20: 69 73 20 67 6f 74 20 6c 6f 73 74 20 69 6e 20 6d is got lost in m
2a30: 6f 76 65 20 74 6f 20 64 79 6e 61 6d 69 63 20 76 ove to dynamic v
2a40: 65 72 73 69 6f 6e 20 63 6f 6d 70 61 74 61 62 69 ersion compatabi
2a50: 6c 69 74 79 0a 09 63 68 65 63 6b 69 6e 67 29 2e lity..checking).
2a60: 0a 0a 32 30 30 30 2d 30 38 2d 32 33 20 20 4a 65 ..2000-08-23 Je
2a70: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 ff Hobbs <hobbs
2a80: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a @scriptics.com>.
2a90: 0a 09 54 4c 53 20 31 2e 34 20 52 45 4c 45 41 53 ..TLS 1.4 RELEAS
2aa0: 45 44 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e ED...* Makefile.
2ab0: 69 6e 20 28 64 69 73 74 29 3a 20 63 72 65 61 74 in (dist): creat
2ac0: 65 20 64 69 73 74 20 74 61 72 67 65 74 20 66 6f e dist target fo
2ad0: 72 20 61 72 63 68 69 76 65 20 64 69 73 74 72 69 r archive distri
2ae0: 62 75 74 69 6f 6e 73 0a 0a 09 2a 20 74 65 73 74 butions...* test
2af0: 73 2f 74 6c 73 49 4f 2e 74 65 73 74 20 28 74 6c s/tlsIO.test (tl
2b00: 73 49 4f 2d 38 2e 31 29 3a 20 61 64 64 65 64 20 sIO-8.1): added
2b10: 61 20 64 65 6c 61 79 20 6f 6e 20 74 68 65 20 61 a delay on the a
2b20: 63 63 65 70 74 20 63 6c 6f 73 65 0a 09 74 6f 20 ccept close..to
2b30: 6d 61 6b 65 20 74 68 65 20 74 65 73 74 20 77 6f make the test wo
2b40: 72 6b 20 77 69 74 68 20 4f 70 65 6e 53 53 4c 20 rk with OpenSSL
2b50: 6f 6e 20 57 69 6e 64 6f 77 73 20 28 64 6f 65 73 on Windows (does
2b60: 6e 27 74 20 61 66 66 65 63 74 0a 09 6f 74 68 65 n't affect..othe
2b70: 72 20 62 75 69 6c 64 73 29 2e 0a 0a 09 2a 20 74 r builds)....* t
2b80: 6c 73 2e 68 74 6d 3a 20 75 70 64 61 74 65 64 20 ls.htm: updated
2b90: 77 69 74 68 20 6e 6f 74 65 73 20 66 6f 72 20 31 with notes for 1
2ba0: 2e 34 2e 0a 0a 32 30 30 30 2d 30 38 2d 32 31 20 .4...2000-08-21
2bb0: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f Jeff Hobbs <ho
2bc0: 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f [email protected]
2bd0: 6d 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 m>...* tests/tls
2be0: 49 4f 2e 74 65 73 74 3a 20 72 65 71 75 69 72 65 IO.test: require
2bf0: 20 61 74 20 6c 65 61 73 74 20 74 6c 73 31 2e 34 at least tls1.4
2c00: 20 69 6e 20 74 65 73 74 20 73 75 69 74 65 2e 0a in test suite..
2c10: 0a 32 30 30 30 2d 30 38 2d 31 38 20 20 4a 65 66 .2000-08-18 Jef
2c20: 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 f Hobbs <hobbs@
2c30: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a scriptics.com>..
2c40: 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e .* tls.c (Tls_In
2c50: 69 74 29 3a 20 61 64 64 65 64 20 63 61 6c 6c 20 it): added call
2c60: 74 6f 20 52 41 4e 44 5f 73 65 65 64 20 74 6f 20 to RAND_seed to
2c70: 73 65 65 64 20 74 68 65 20 53 53 4c 20 72 61 6e seed the SSL ran
2c80: 64 6f 6d 0a 09 6e 75 6d 62 65 72 20 67 65 6e 65 dom..number gene
2c90: 72 61 74 6f 72 2e 20 20 57 69 74 68 6f 75 74 20 rator. Without
2ca0: 74 68 69 73 2c 20 4f 70 65 6e 53 53 4c 20 30 2e this, OpenSSL 0.
2cb0: 39 2e 35 20 63 68 6f 6b 65 73 2c 20 61 6e 64 20 9.5 chokes, and
2cc0: 69 6e 20 61 6e 79 0a 09 63 61 73 65 20 69 74 20 in any..case it
2cd0: 69 73 20 61 20 62 69 67 20 73 65 63 75 72 69 74 is a big securit
2ce0: 79 20 68 6f 6c 65 20 74 6f 20 64 6f 20 77 69 74 y hole to do wit
2cf0: 68 6f 75 74 20 69 74 2e 0a 0a 09 2a 20 63 6f 6e hout it....* con
2d00: 66 69 67 75 72 65 2e 69 6e 20 28 4f 50 45 4e 53 figure.in (OPENS
2d10: 53 4c 29 3a 20 61 64 64 65 64 20 4e 4f 5f 49 44 SL): added NO_ID
2d20: 45 41 20 61 6e 64 20 4e 4f 5f 52 43 35 20 64 65 EA and NO_RC5 de
2d30: 66 69 6e 65 73 20 62 79 0a 09 64 65 66 61 75 6c fines by..defaul
2d40: 74 20 77 68 65 6e 20 63 6f 6d 70 69 6c 69 6e 67 t when compiling
2d50: 20 77 69 74 68 20 4f 70 65 6e 53 53 4c 2e 0a 0a with OpenSSL...
2d60: 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 20 61 64 64 .* tlsInt.h: add
2d70: 65 64 20 65 72 72 2e 68 20 69 6e 63 6c 75 64 65 ed err.h include
2d80: 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a 09 ...* tlsBIO.c:..
2d90: 2a 20 74 6c 73 49 4f 2e 63 3a 20 63 6f 72 72 65 * tlsIO.c: corre
2da0: 63 74 65 64 20 70 65 64 61 6e 74 69 63 20 63 61 cted pedantic ca
2db0: 73 74 20 65 72 72 6f 72 73 2e 0a 0a 32 30 30 30 st errors...2000
2dc0: 2d 30 38 2d 31 36 20 20 4a 65 66 66 20 48 6f 62 -08-16 Jeff Hob
2dd0: 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 bs <hobbs@scrip
2de0: 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 tics.com>...* te
2df0: 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74 sts/ciphers.test
2e00: 3a 20 69 6d 70 72 6f 76 65 64 20 61 62 69 6c 69 : improved abili
2e10: 74 79 20 74 6f 20 63 68 61 6e 67 65 20 63 6f 6e ty to change con
2e20: 73 74 72 61 69 6e 74 0a 09 73 65 74 74 69 6e 67 straint..setting
2e30: 20 66 6f 72 20 77 68 65 74 68 65 72 20 75 73 65 for whether use
2e40: 72 20 63 6f 6d 70 69 6c 65 64 20 61 67 61 69 6e r compiled again
2e50: 73 74 20 52 53 41 20 6f 72 20 4f 70 65 6e 53 53 st RSA or OpenSS
2e60: 4c 20 6c 69 62 73 2e 0a 0a 09 2a 20 74 6c 73 2e L libs....* tls.
2e70: 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 63 6f c (Tls_Init): co
2e80: 72 72 65 63 74 65 64 20 69 6e 74 65 72 70 72 65 rrected interpre
2e90: 74 61 74 69 6f 6e 20 6f 66 20 76 65 72 73 69 6f tation of versio
2ea0: 6e 20 6e 75 6d 62 65 72 0a 09 28 70 61 74 63 68 n number..(patch
2eb0: 6c 65 76 65 6c 20 61 6e 64 20 72 65 6c 65 61 73 level and releas
2ec0: 65 2f 73 65 72 69 61 6c 20 77 65 72 65 20 73 77 e/serial were sw
2ed0: 61 70 70 65 64 29 2e 0a 0a 32 30 30 30 2d 30 38 apped)...2000-08
2ee0: 2d 31 35 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -15 Jeff Hobbs
2ef0: 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 <hobbs@scriptic
2f00: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 52 45 41 44 4d s.com>...* READM
2f10: 45 2e 74 78 74 3a 20 61 64 64 65 64 20 6e 6f 74 E.txt: added not
2f20: 65 73 20 61 62 6f 75 74 20 6e 65 65 64 20 74 6f es about need to
2f30: 20 75 73 65 20 38 2e 32 2e 30 2b 2e 0a 0a 09 2a use 8.2.0+....*
2f40: 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 74 6c tlsInt.h:..* tl
2f50: 73 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a s.c:..* tlsIO.c:
2f60: 20 63 6f 72 72 65 63 74 65 64 20 73 74 72 75 63 corrected struc
2f70: 74 75 72 65 20 69 6e 69 74 69 61 6c 69 7a 61 74 ture initializat
2f80: 69 6f 6e 20 74 6f 20 77 6f 72 6b 20 77 68 65 6e ion to work when
2f90: 0a 09 63 6f 6d 70 69 6c 69 6e 67 20 77 69 74 68 ..compiling with
2fa0: 20 38 2e 32 2e 20 20 4e 6f 77 20 63 6f 6d 70 69 8.2. Now compi
2fb0: 6c 65 73 20 77 69 74 68 20 38 2e 32 2b 20 61 6e les with 8.2+ an
2fc0: 64 20 74 65 73 74 65 64 20 74 6f 20 77 6f 72 6b d tested to work
2fd0: 0a 09 77 69 74 68 20 38 2e 32 2b 20 61 6e 64 20 ..with 8.2+ and
2fe0: 64 79 6e 61 6d 69 63 61 6c 6c 79 20 61 64 6a 75 dynamically adju
2ff0: 73 74 20 74 6f 20 74 68 65 20 76 65 72 73 69 6f st to the versio
3000: 6e 20 6f 66 20 54 63 6c 20 69 74 20 77 61 73 0a n of Tcl it was.
3010: 09 6c 6f 61 64 65 64 20 69 6e 74 6f 2e 20 20 54 .loaded into. T
3020: 4c 53 20 77 69 6c 6c 20 66 61 69 6c 20 74 68 65 LS will fail the
3030: 20 74 65 73 74 20 73 75 69 74 65 20 77 69 74 68 test suite with
3040: 20 54 63 6c 20 38 2e 32 2d 38 2e 33 2e 31 2e 0a Tcl 8.2-8.3.1..
3050: 0a 09 2a 20 74 65 73 74 73 2f 61 6c 6c 2e 74 63 ..* tests/all.tc
3060: 6c 3a 20 61 64 64 65 64 20 63 61 74 63 68 20 61 l: added catch a
3070: 72 6f 75 6e 64 20 3a 3a 74 63 6c 74 65 73 74 3a round ::tcltest:
3080: 3a 6e 6f 72 6d 61 6c 69 7a 65 50 61 74 68 0a 09 :normalizePath..
3090: 62 65 63 61 75 73 65 20 69 74 20 64 6f 65 73 6e because it doesn
30a0: 27 74 20 65 78 69 73 74 20 69 6e 20 70 72 65 2d 't exist in pre-
30b0: 38 2e 33 20 74 63 6c 74 65 73 74 2e 0a 0a 09 2a 8.3 tcltest....*
30c0: 20 74 65 73 74 73 2f 73 69 6d 70 6c 65 43 6c 69 tests/simpleCli
30d0: 65 6e 74 2e 74 63 6c 3a 0a 09 2a 20 74 65 73 74 ent.tcl:..* test
30e0: 73 2f 73 69 6d 70 6c 65 53 65 72 76 65 72 2e 74 s/simpleServer.t
30f0: 63 6c 3a 20 61 64 64 65 64 20 73 69 6d 70 6c 65 cl: added simple
3100: 20 63 6c 69 65 6e 74 2f 73 65 72 76 65 72 20 74 client/server t
3110: 65 73 74 20 73 63 72 69 70 74 73 0a 09 74 68 61 est scripts..tha
3120: 74 20 75 73 65 20 74 65 73 74 20 63 65 72 74 73 t use test certs
3130: 20 61 6e 64 20 63 61 6e 20 64 6f 20 73 69 6d 70 and can do simp
3140: 6c 65 20 73 74 72 65 73 73 20 74 65 73 74 73 2e le stress tests.
3150: 0a 0a 32 30 30 30 2d 30 38 2d 31 34 20 20 4a 65 ..2000-08-14 Je
3160: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 ff Hobbs <hobbs
3170: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a @scriptics.com>.
3180: 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a ..* tlsInt.h:..*
3190: 20 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 tlsIO.c:..* tls
31a0: 42 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 2e 63 3a BIO.c:..* tls.c:
31b0: 20 63 68 61 6e 67 65 64 20 61 72 6f 75 6e 64 20 changed around
31c0: 74 6f 20 6f 6e 6c 79 20 77 6f 72 6b 69 6e 67 20 to only working
31d0: 77 69 74 68 20 38 2e 32 2e 30 2b 20 28 38 2e 33 with 8.2.0+ (8.3
31e0: 2e 32 2b 0a 09 70 72 65 66 65 72 72 65 64 29 2c .2+..preferred),
31f0: 20 77 69 74 68 20 72 75 6e 74 69 6d 65 20 63 68 with runtime ch
3200: 65 63 6b 73 20 66 6f 72 20 70 72 65 2d 20 61 6e ecks for pre- an
3210: 64 20 70 6f 73 74 2d 69 6f 2d 72 65 77 72 69 74 d post-io-rewrit
3220: 65 2e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c e....* tls.c (Tl
3230: 73 5f 49 6e 69 74 29 3a 20 63 68 61 6e 67 65 64 s_Init): changed
3240: 20 69 74 20 74 6f 20 72 65 71 75 69 72 65 20 38 it to require 8
3250: 2e 33 2e 32 20 77 68 65 6e 20 54 63 6c 5f 49 6e .3.2 when Tcl_In
3260: 69 74 53 74 75 62 73 0a 09 77 61 73 20 63 61 6c itStubs..was cal
3270: 6c 65 64 20 62 65 63 61 75 73 65 20 77 65 20 64 led because we d
3280: 6f 6e 27 74 20 77 61 6e 74 20 70 65 6f 70 6c 65 on't want people
3290: 20 75 73 69 6e 67 20 54 4c 53 20 77 69 74 68 20 using TLS with
32a0: 74 68 65 0a 09 6f 72 69 67 69 6e 61 6c 20 73 74 the..original st
32b0: 61 63 6b 65 64 20 63 68 61 6e 6e 65 6c 20 69 6d acked channel im
32c0: 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 2e 0a 0a 32 plementation...2
32d0: 30 30 30 2d 30 37 2d 32 36 20 20 4a 65 66 66 20 000-07-26 Jeff
32e0: 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 Hobbs <hobbs@sc
32f0: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a riptics.com>...*
3300: 20 6d 65 72 67 65 64 20 61 6c 6c 20 63 68 61 6e merged all chan
3310: 67 65 73 20 66 72 6f 6d 20 74 6c 73 2d 31 2d 33 ges from tls-1-3
3320: 2d 69 6f 2d 72 65 77 72 69 74 65 20 62 61 63 6b -io-rewrite back
3330: 20 69 6e 74 6f 20 6d 61 69 6e 20 62 72 61 6e 63 into main branc
3340: 68 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 h...* tests/tlsI
3350: 4f 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 20 O.test: updated
3360: 63 6f 6d 6d 65 6e 74 73 2c 20 66 69 78 65 64 20 comments, fixed
3370: 61 20 70 63 43 72 61 73 68 20 63 61 73 65 20 74 a pcCrash case t
3380: 68 61 74 0a 09 77 61 73 20 64 75 65 20 74 6f 20 hat..was due to
3390: 64 65 62 75 67 20 61 73 73 65 72 74 69 6f 6e 20 debug assertion
33a0: 69 6e 20 57 69 6e 64 6f 77 73 20 53 53 4c 2e 0a in Windows SSL..
33b0: 0a 09 2a 20 74 6c 73 2e 63 20 28 49 6d 70 6f 72 ..* tls.c (Impor
33c0: 74 4f 62 6a 43 6d 64 29 3a 20 72 65 6d 6f 76 65 tObjCmd): remove
33d0: 64 20 75 6e 6e 65 63 65 73 73 61 72 79 20 75 73 d unnecessary us
33e0: 65 20 6f 66 20 27 62 69 6f 27 20 61 72 67 2e 0a e of 'bio' arg..
33f0: 09 28 54 6c 73 5f 49 6e 69 74 29 3a 20 63 68 65 .(Tls_Init): che
3400: 63 6b 20 72 65 74 75 72 6e 20 76 61 6c 75 65 20 ck return value
3410: 6f 66 20 53 53 4c 5f 6c 69 62 72 61 72 79 5f 69 of SSL_library_i
3420: 6e 69 74 2e 20 20 41 6c 73 6f 20 6c 6f 74 73 20 nit. Also lots
3430: 6f 66 0a 09 77 68 69 74 65 73 70 61 63 65 20 63 of..whitespace c
3440: 6c 65 61 6e 75 70 20 28 6d 6f 72 65 20 6c 69 6b leanup (more lik
3450: 65 20 54 63 6c 20 45 6e 67 20 73 74 79 6c 65 20 e Tcl Eng style
3460: 67 75 69 64 65 29 2c 20 62 75 74 20 6e 6f 74 20 guide), but not
3470: 61 6c 6c 0a 09 63 6f 64 65 20 77 61 73 20 63 6c all..code was cl
3480: 65 61 6e 65 64 20 75 70 2e 0a 0a 09 2a 20 74 6c eaned up....* tl
3490: 73 42 49 4f 2e 63 3a 20 6d 69 6e 6f 72 20 77 68 sBIO.c: minor wh
34a0: 69 74 65 73 70 61 63 65 20 63 6c 65 61 6e 75 70 itespace cleanup
34b0: 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 6d 69 ...* tlsIO.c: mi
34c0: 6e 6f 72 20 77 68 69 74 65 73 70 61 63 65 20 63 nor whitespace c
34d0: 6c 65 61 6e 75 70 2e 0a 09 28 54 6c 73 49 6e 70 leanup...(TlsInp
34e0: 75 74 50 72 6f 63 2c 20 54 6c 73 4f 75 74 70 75 utProc, TlsOutpu
34f0: 74 50 72 6f 63 29 3a 20 41 64 64 65 64 20 45 52 tProc): Added ER
3500: 52 5f 63 6c 65 61 72 5f 65 72 72 6f 72 20 62 65 R_clear_error be
3510: 66 6f 72 65 20 63 61 6c 6c 73 0a 09 74 6f 20 42 fore calls..to B
3520: 49 4f 5f 72 65 61 64 20 6f 72 20 42 49 4f 5f 77 IO_read or BIO_w
3530: 72 69 74 65 2c 20 62 65 63 61 75 73 65 20 77 65 rite, because we
3540: 20 63 6f 75 6c 64 20 6f 74 68 65 72 77 69 73 65 could otherwise
3550: 20 65 6e 64 20 75 70 0a 09 70 75 6c 6c 69 6e 67 end up..pulling
3560: 20 61 6e 20 65 72 72 6f 72 20 6f 66 66 20 74 68 an error off th
3570: 65 20 73 74 61 63 6b 20 74 68 61 74 20 64 69 64 e stack that did
3580: 6e 27 74 20 62 65 6c 6f 6e 67 20 74 6f 20 75 73 n't belong to us
3590: 2e 20 20 41 6c 73 6f 0a 09 63 6c 65 61 6e 75 70 . Also..cleanup
35a0: 20 75 70 20 65 78 63 65 73 73 69 76 65 20 75 73 up excessive us
35b0: 65 20 6f 66 20 67 6f 74 6f 73 2e 0a 0a 32 30 30 e of gotos...200
35c0: 30 2d 30 37 2d 32 30 20 20 4a 65 66 66 20 48 6f 0-07-20 Jeff Ho
35d0: 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 bbs <hobbs@scri
35e0: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 ptics.com>...* t
35f0: 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a ests/tlsIO.test:
3600: 20 63 6f 72 72 65 63 74 65 64 20 76 61 72 69 6f corrected vario
3610: 75 73 20 74 65 73 74 73 20 74 6f 20 62 65 20 63 us tests to be c
3620: 6f 72 72 65 63 74 20 66 6f 72 20 54 4c 53 0a 09 orrect for TLS..
3630: 73 74 61 63 6b 65 64 20 63 68 61 6e 6e 65 6c 73 stacked channels
3640: 20 28 61 73 20 6f 70 70 6f 73 65 64 20 74 6f 20 (as opposed to
3650: 74 68 65 20 73 74 61 6e 64 61 72 64 20 73 6f 63 the standard soc
3660: 6b 65 74 73 20 74 68 65 20 74 65 73 74 0a 09 73 kets the test..s
3670: 75 69 74 65 20 77 61 73 20 61 64 6f 70 74 65 64 uite was adopted
3680: 20 66 72 6f 6d 29 2e 20 20 4b 65 79 20 64 69 66 from). Key dif
3690: 66 65 72 65 6e 63 65 73 20 61 72 65 20 74 68 61 ferences are tha
36a0: 74 20 54 4c 53 20 63 61 6e 6e 6f 74 0a 09 6f 70 t TLS cannot..op
36b0: 65 72 61 74 65 20 69 6e 20 6f 6e 65 20 70 72 6f erate in one pro
36c0: 63 65 73 73 20 77 69 74 68 6f 75 74 20 61 6c 6c cess without all
36d0: 20 63 68 61 6e 6e 65 6c 73 20 62 65 69 6e 67 20 channels being
36e0: 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e 67 2c 20 6f 72 non-blocking, or
36f0: 0a 09 74 68 65 20 68 61 6e 64 73 68 61 6b 65 20 ..the handshake
3700: 77 69 6c 6c 20 62 6c 6f 63 6b 2c 20 61 6e 64 20 will block, and
3710: 68 61 6e 64 73 68 61 6b 69 6e 67 20 6d 75 73 74 handshaking must
3720: 20 62 65 20 66 6f 72 63 65 64 20 69 6e 20 73 6f be forced in so
3730: 6d 65 0a 09 63 61 73 65 73 2e 20 20 41 6c 73 6f me..cases. Also
3740: 2c 20 68 61 6e 64 73 68 61 6b 65 73 20 64 6f 6e , handshakes don
3750: 27 74 20 73 65 65 6d 20 74 6f 20 63 6f 6d 70 6c 't seem to compl
3760: 65 74 65 20 75 6e 6c 65 73 73 20 74 68 65 20 63 ete unless the c
3770: 6c 69 65 6e 74 0a 09 68 61 73 20 70 6c 61 63 65 lient..has place
3780: 64 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 62 d at least one b
3790: 79 74 65 20 66 6f 72 20 74 68 65 20 73 65 72 76 yte for the serv
37a0: 65 72 20 74 6f 20 72 65 61 64 20 69 6e 20 74 68 er to read in th
37b0: 65 20 63 68 61 6e 6e 65 6c 2e 0a 0a 09 2a 20 74 e channel....* t
37c0: 65 73 74 73 2f 72 65 6d 6f 74 65 2e 74 63 6c 3a ests/remote.tcl:
37d0: 20 63 6f 72 72 65 63 74 65 64 20 74 68 65 20 66 corrected the f
37e0: 69 6e 64 69 6e 67 20 6f 66 20 74 65 73 74 73 20 inding of tests
37f0: 63 65 72 74 69 66 69 63 61 74 65 73 0a 0a 09 2a certificates...*
3800: 20 74 6c 73 49 4f 2e 63 20 28 54 6c 73 43 6c 6f tlsIO.c (TlsClo
3810: 73 65 50 72 6f 63 29 3a 20 72 65 6d 6f 76 65 64 seProc): removed
3820: 20 64 65 6c 65 74 69 6e 67 20 6f 66 20 74 69 6d deleting of tim
3830: 65 72 20 68 61 6e 64 6c 65 72 20 61 73 0a 09 74 er handler as..t
3840: 68 61 74 20 69 73 20 68 61 6e 64 6c 65 64 20 62 hat is handled b
3850: 79 20 54 6c 73 5f 43 6c 65 61 6e 2e 0a 0a 09 2a y Tls_Clean....*
3860: 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 5f tls.tcl (tls::_
3870: 61 63 63 65 70 74 29 3a 20 63 6f 72 72 65 63 74 accept): correct
3880: 65 64 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 ed the internal
3890: 5f 61 63 63 65 70 74 20 74 6f 0a 09 74 72 69 63 _accept to..tric
38a0: 6b 6c 65 20 63 61 6c 6c 62 61 63 6b 20 65 72 72 kle callback err
38b0: 6f 72 73 20 74 6f 20 74 68 65 20 75 73 65 72 2e ors to the user.
38c0: 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e ...* Makefile.in
38d0: 3a 20 6d 61 64 65 20 74 68 65 20 69 6e 73 74 61 : made the insta
38e0: 6c 6c 2d 62 69 6e 61 72 69 65 73 20 74 61 72 67 ll-binaries targ
38f0: 65 74 20 72 65 67 65 6e 65 72 61 74 65 20 74 68 et regenerate th
3900: 65 0a 09 70 6b 67 49 6e 64 65 78 2e 74 63 6c 20 e..pkgIndex.tcl
3910: 63 6f 72 72 65 63 74 6c 79 2e 20 20 54 68 65 20 correctly. The
3920: 74 65 73 74 20 74 61 72 67 65 74 20 70 72 6f 62 test target prob
3930: 61 62 6c 79 20 73 68 6f 75 6c 64 6e 27 74 20 73 ably shouldn't s
3940: 63 72 65 77 0a 09 69 74 20 75 70 2c 20 62 75 74 crew..it up, but
3950: 20 74 68 69 73 20 69 73 20 74 6f 20 62 65 20 6f this is to be o
3960: 6e 20 74 68 65 20 73 61 66 65 20 73 69 64 65 2e n the safe side.
3970: 0a 0a 32 30 30 30 2d 30 37 2d 31 37 20 20 4a 65 ..2000-07-17 Je
3980: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 ff Hobbs <hobbs
3990: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a @scriptics.com>.
39a0: 0a 09 2a 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c ..* pkgIndex.tcl
39b0: 2e 69 6e 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 .in:..* configur
39c0: 65 2e 69 6e 3a 20 75 70 64 61 74 65 64 20 76 65 e.in: updated ve
39d0: 72 73 69 6f 6e 20 74 6f 20 31 2e 34 0a 0a 32 30 rsion to 1.4..20
39e0: 30 30 2d 30 37 2d 31 33 20 20 4a 65 66 66 20 48 00-07-13 Jeff H
39f0: 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 obbs <hobbs@scr
3a00: 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 iptics.com>...*
3a10: 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 tests/tlsIO.test
3a20: 3a 20 65 6e 61 62 6c 65 64 20 74 65 73 74 73 20 : enabled tests
3a30: 32 2e 31 30 2c 20 37 2e 5b 31 32 34 35 5d 20 28 2.10, 7.[1245] (
3a40: 74 68 65 72 65 20 69 73 20 6e 6f 20 33 29 2c 0a there is no 3),.
3a50: 09 77 68 69 63 68 20 6e 6f 77 20 70 61 73 73 2e .which now pass.
3a60: 20 20 41 64 64 65 64 20 73 6f 6d 65 20 63 6f 6d Added some com
3a70: 6d 65 6e 74 73 20 74 6f 20 6f 74 68 65 72 20 66 ments to other f
3a80: 61 69 6c 69 6e 67 20 74 65 73 74 73 2e 0a 0a 32 ailing tests...2
3a90: 30 30 30 2d 30 37 2d 31 31 20 20 4a 65 66 66 20 000-07-11 Jeff
3aa0: 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 Hobbs <hobbs@sc
3ab0: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a riptics.com>...*
3ac0: 20 74 6c 73 49 4f 2e 63 3a 20 63 68 61 6e 67 65 tlsIO.c: change
3ad0: 64 20 61 6c 6c 20 74 68 65 20 63 68 61 6e 6e 65 d all the channe
3ae0: 6c 20 70 72 6f 63 73 20 74 6f 20 73 74 61 72 74 l procs to start
3af0: 20 77 69 74 68 20 54 6c 73 2a 20 66 6f 72 0a 09 with Tls* for..
3b00: 62 65 74 74 65 72 20 70 61 72 69 74 79 20 77 68 better parity wh
3b10: 65 6e 20 63 6f 6d 70 61 72 69 6e 67 20 77 69 74 en comparing wit
3b20: 68 20 54 72 61 6e 73 66 6f 72 6d 20 63 68 61 6e h Transform chan
3b30: 6e 65 6c 20 70 72 6f 63 73 2e 0a 09 52 65 77 72 nel procs...Rewr
3b40: 6f 74 65 20 54 6c 73 57 61 74 63 68 50 72 6f 63 ote TlsWatchProc
3b50: 2c 20 61 64 64 65 64 20 54 6c 73 4e 6f 74 69 66 , added TlsNotif
3b60: 79 50 72 6f 63 20 61 63 63 6f 72 64 69 6e 67 20 yProc according
3b70: 74 6f 20 74 68 65 20 6e 65 77 0a 09 63 68 61 6e to the new..chan
3b80: 6e 65 6c 20 64 65 73 69 67 6e 2c 20 77 68 69 63 nel design, whic
3b90: 68 20 61 6c 73 6f 20 6c 65 61 76 65 73 20 54 6c h also leaves Tl
3ba0: 73 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 20 sChannelHandler
3bb0: 75 6e 75 73 65 64 2e 0a 0a 09 2a 20 74 6c 73 42 unused....* tlsB
3bc0: 49 4f 2e 63 20 28 42 69 6f 43 74 72 6c 29 3a 20 IO.c (BioCtrl):
3bd0: 63 68 61 6e 67 65 64 20 42 49 4f 5f 43 54 52 4c changed BIO_CTRL
3be0: 5f 46 4c 55 53 48 20 63 61 73 65 20 74 6f 20 75 _FLUSH case to u
3bf0: 73 65 0a 09 54 63 6c 5f 57 72 69 74 65 52 61 77 se..Tcl_WriteRaw
3c00: 20 69 6e 73 74 65 61 64 20 6f 66 20 54 63 6c 5f instead of Tcl_
3c10: 46 6c 75 73 68 20 28 74 6f 20 6f 70 65 72 61 74 Flush (to operat
3c20: 65 20 6f 6e 20 63 6f 72 72 65 63 74 20 63 68 61 e on correct cha
3c30: 6e 6e 65 6c 0a 09 69 6e 20 74 68 65 20 73 74 61 nnel..in the sta
3c40: 63 6b 20 69 6e 73 74 65 61 64 20 6f 66 20 73 74 ck instead of st
3c50: 61 72 74 69 6e 67 20 61 74 20 74 68 65 20 74 6f arting at the to
3c60: 70 20 61 67 61 69 6e 29 2e 20 20 57 6f 75 6c 64 p again). Would
3c70: 0a 09 6f 74 68 65 72 77 69 73 65 20 63 61 75 73 ..otherwise caus
3c80: 65 20 61 20 72 65 63 75 72 73 69 76 65 20 73 74 e a recursive st
3c90: 61 63 6b 20 62 6f 6d 62 20 77 68 65 6e 20 69 6d ack bomb when im
3ca0: 70 6c 69 63 69 74 20 68 61 6e 64 73 68 61 6b 69 plicit handshaki
3cb0: 6e 67 0a 09 74 6f 6f 6b 20 65 66 66 65 63 74 2e ng..took effect.
3cc0: 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f ...* tests/tlsIO
3cd0: 2e 74 65 73 74 3a 20 72 65 6d 6f 76 65 64 20 63 .test: removed c
3ce0: 68 61 6e 67 65 73 20 6d 61 64 65 20 74 6f 20 74 hanges made to t
3cf0: 65 73 74 20 73 75 69 74 65 20 28 61 6c 6c 20 74 est suite (all t
3d00: 65 73 74 73 0a 09 74 68 61 74 20 72 61 6e 20 62 ests..that ran b
3d10: 65 66 6f 72 65 20 6e 6f 77 20 70 61 73 73 20 63 efore now pass c
3d20: 6f 72 72 65 63 74 6c 79 29 2c 20 61 6e 64 20 63 orrectly), and c
3d30: 68 61 6e 67 65 64 20 73 6f 6d 65 20 61 63 63 65 hanged some acce
3d40: 70 74 20 70 72 6f 63 0a 09 61 72 67 73 20 74 6f pt proc..args to
3d50: 20 72 65 66 6c 65 63 74 20 74 68 61 74 20 61 20 reflect that a
3d60: 73 6f 63 6b 20 69 73 20 61 6e 20 61 72 67 2c 20 sock is an arg,
3d70: 6e 6f 74 20 61 20 66 69 6c 65 2e 0a 0a 32 30 30 not a file...200
3d80: 30 2d 30 37 2d 31 30 20 20 4a 65 66 66 20 48 6f 0-07-10 Jeff Ho
3d90: 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 bbs <hobbs@scri
3da0: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 ptics.com>...* t
3db0: 6c 73 42 49 4f 2e 63 20 28 42 69 6f 57 72 69 74 lsBIO.c (BioWrit
3dc0: 65 2c 20 42 69 6f 52 65 61 64 29 3a 20 63 68 61 e, BioRead): cha
3dd0: 6e 67 65 64 20 54 63 6c 5f 52 65 61 64 2f 57 72 nged Tcl_Read/Wr
3de0: 69 74 65 20 74 6f 0a 09 54 63 6c 5f 52 65 61 64 ite to..Tcl_Read
3df0: 52 61 77 2f 54 63 6c 57 72 69 74 65 52 61 77 2e Raw/TclWriteRaw.
3e00: 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64 64 65 ...* tls.c: adde
3e10: 64 20 75 73 65 20 6f 66 20 54 63 6c 5f 47 65 74 d use of Tcl_Get
3e20: 54 6f 70 43 68 61 6e 6e 65 6c 20 61 66 74 65 72 TopChannel after
3e30: 20 54 63 6c 5f 47 65 74 43 68 61 6e 6e 65 6c 20 Tcl_GetChannel
3e40: 61 6e 64 0a 09 67 6f 74 20 72 65 74 75 72 6e 20 and..got return
3e50: 76 61 6c 75 65 20 66 72 6f 6d 20 54 63 6c 5f 53 value from Tcl_S
3e60: 74 61 63 6b 43 68 61 6e 6e 65 6c 2e 0a 0a 09 2a tackChannel....*
3e70: 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 tests/tlsIO.tes
3e80: 74 3a 20 61 64 64 65 64 20 73 6f 6d 65 20 68 61 t: added some ha
3e90: 6e 64 73 68 61 6b 69 6e 67 20 74 68 61 74 20 73 ndshaking that s
3ea0: 68 6f 75 6c 64 6e 27 74 20 62 65 0a 09 6e 65 63 houldn't be..nec
3eb0: 65 73 73 61 72 79 2c 20 62 75 74 20 77 65 20 63 essary, but we c
3ec0: 72 61 73 68 20 6f 74 68 65 72 77 69 73 65 20 28 rash otherwise (
3ed0: 6e 65 65 64 73 20 6d 6f 72 65 20 74 65 73 74 69 needs more testi
3ee0: 6e 67 29 2e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 ng)....* tlsIO.c
3ef0: 3a 20 61 64 64 65 64 20 73 75 70 70 6f 72 74 20 : added support
3f00: 66 6f 72 20 22 63 6f 72 72 65 63 74 65 64 22 20 for "corrected"
3f10: 73 74 61 63 6b 65 64 20 63 68 61 6e 6e 65 6c 73 stacked channels
3f20: 2e 20 20 41 6c 6c 0a 09 74 68 65 20 61 62 6f 76 . All..the abov
3f30: 65 20 63 68 61 6e 6e 65 6c 73 20 61 72 65 20 69 e channels are i
3f40: 6e 20 54 43 4c 5f 43 48 41 4e 4e 45 4c 5f 56 45 n TCL_CHANNEL_VE
3f50: 52 53 49 4f 4e 5f 32 20 23 69 66 64 65 66 73 2e RSION_2 #ifdefs.
3f60: 0a 0a 32 30 30 30 2d 30 36 2d 30 35 20 20 53 63 ..2000-06-05 Sc
3f70: 6f 74 74 20 53 74 61 6e 74 6f 6e 20 20 3c 73 74 ott Stanton <st
3f80: 61 6e 74 6f 6e 40 61 6a 75 62 61 73 6f 6c 75 74 anton@ajubasolut
3f90: 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 4d 61 ions.com>...* Ma
3fa0: 6b 65 66 69 6c 65 2e 69 6e 3a 20 46 69 78 65 64 kefile.in: Fixed
3fb0: 20 62 72 6f 6b 65 6e 20 74 65 73 74 20 74 61 72 broken test tar
3fc0: 67 65 74 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e get....* tlsInt.
3fd0: 68 3a 0a 09 2a 20 74 6c 73 2e 63 3a 20 43 6c 65 h:..* tls.c: Cle
3fe0: 61 6e 65 64 20 75 70 20 64 65 63 6c 61 72 61 74 aned up declarat
3ff0: 69 6f 6e 73 20 6f 66 20 54 6c 73 5f 43 6c 65 61 ions of Tls_Clea
4000: 6e 20 74 6f 20 61 76 6f 69 64 20 65 72 72 6f 72 n to avoid error
4010: 73 20 6f 6e 0a 09 57 69 6e 64 6f 77 73 20 28 6c s on..Windows (l
4020: 69 6e 74 29 2e 0a 0a 32 30 30 30 2d 30 36 2d 30 int)...2000-06-0
4030: 35 20 20 42 72 65 6e 74 20 57 65 6c 63 68 20 3c 5 Brent Welch <
4040: 77 65 6c 63 68 40 61 6a 75 62 61 73 6f 6c 75 74 welch@ajubasolut
4050: 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c ions.com>...* tl
4060: 73 2e 63 2c 20 74 6c 73 49 4f 2e 63 3a 20 20 53 s.c, tlsIO.c: S
4070: 70 6c 69 74 20 54 6c 73 5f 46 72 65 65 20 69 6e plit Tls_Free in
4080: 74 6f 20 54 6c 73 5f 43 6c 65 61 6e 2c 20 77 68 to Tls_Clean, wh
4090: 69 63 68 20 64 6f 65 73 0a 09 74 68 65 20 53 53 ich does..the SS
40a0: 4c 20 63 6c 65 61 6e 75 70 2c 20 61 6e 64 20 74 L cleanup, and t
40b0: 68 65 20 54 63 6c 5f 46 72 65 65 20 63 61 6c 6c he Tcl_Free call
40c0: 2e 20 20 49 74 20 69 73 20 69 6d 70 6f 72 74 61 . It is importa
40d0: 6e 74 20 74 6f 20 73 68 75 74 64 6f 77 6e 0a 09 nt to shutdown..
40e0: 74 68 65 20 53 53 4c 20 73 74 61 74 65 20 22 73 the SSL state "s
40f0: 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 22 20 64 75 ynchronously" du
4100: 72 69 6e 67 20 61 20 73 74 61 63 6b 65 64 20 66 ring a stacked f
4110: 6c 75 73 68 2e 0a 0a 32 30 30 30 2d 30 36 2d 30 lush...2000-06-0
4120: 31 20 20 53 63 6f 74 74 20 53 74 61 6e 74 6f 6e 1 Scott Stanton
4130: 20 20 3c 73 74 61 6e 74 6f 6e 40 61 6a 75 62 61 <stanton@ajuba
4140: 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a solutions.com>..
4150: 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 52 65 73 74 .* tlsIO.c: Rest
4160: 6f 72 65 64 20 63 61 6c 6c 20 74 6f 20 54 63 6c ored call to Tcl
4170: 5f 4e 6f 74 69 66 79 43 68 61 6e 6e 65 6c 20 66 _NotifyChannel f
4180: 72 6f 6d 20 43 68 61 6e 6e 65 6c 48 61 6e 64 6c rom ChannelHandl
4190: 65 72 0a 09 74 6f 20 65 6e 73 75 72 65 20 74 68 er..to ensure th
41a0: 61 74 20 65 76 65 6e 74 73 20 70 72 6f 70 61 67 at events propag
41b0: 61 74 65 20 66 72 6f 6d 20 74 68 65 20 6c 6f 77 ate from the low
41c0: 65 72 20 64 72 69 76 65 72 2e 20 20 54 68 69 73 er driver. This
41d0: 20 6d 61 79 0a 09 72 65 73 75 6c 74 20 69 6e 20 may..result in
41e0: 61 6e 20 69 6e 66 69 6e 69 74 65 20 6c 6f 6f 70 an infinite loop
41f0: 20 69 6e 20 73 6f 6d 65 20 63 61 73 65 73 2c 20 in some cases,
4200: 73 6f 20 74 68 69 73 20 69 73 20 6e 6f 74 20 61 so this is not a
4210: 20 74 6f 74 61 6c 0a 09 66 69 78 2e 20 20 54 68 total..fix. Th
4220: 69 73 20 6d 61 79 20 62 65 20 73 75 66 66 69 63 is may be suffic
4230: 69 65 6e 74 20 66 6f 72 20 6e 6f 77 2c 20 68 6f ient for now, ho
4240: 77 65 76 65 72 2e 20 5b 42 75 67 3a 20 35 36 32 wever. [Bug: 562
4250: 33 5d 0a 0a 32 30 30 30 2d 30 36 2d 30 31 20 20 3]..2000-06-01
4260: 53 63 6f 74 74 20 53 74 61 6e 74 6f 6e 20 20 3c Scott Stanton <
4270: 73 74 61 6e 74 6f 6e 40 73 63 72 69 70 74 69 63 stanton@scriptic
4280: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f s.com>...* tlsIO
4290: 2e 63 3a 20 52 65 73 74 6f 72 65 20 74 68 65 20 .c: Restore the
42a0: 70 72 65 76 69 6f 75 73 20 76 65 72 73 69 6f 6e previous version
42b0: 2e 20 20 46 69 78 65 64 20 74 68 65 20 43 6c 6f . Fixed the Clo
42c0: 73 65 50 72 6f 63 20 73 6f 0a 09 69 74 20 75 6e seProc so..it un
42d0: 72 65 67 69 73 74 65 72 73 20 74 68 65 20 63 68 registers the ch
42e0: 61 6e 6e 65 6c 20 68 61 6e 64 6c 65 72 20 6f 6e annel handler on
42f0: 20 74 68 65 20 73 75 70 65 72 63 65 64 65 64 20 the superceded
4300: 63 68 61 6e 6e 65 6c 0a 09 69 6e 73 74 65 61 64 channel..instead
4310: 20 6f 66 20 74 68 65 20 75 70 70 65 72 20 63 68 of the upper ch
4320: 61 6e 6e 65 6c 2e 20 41 6c 73 6f 20 72 65 6d 6f annel. Also remo
4330: 76 65 64 20 74 68 65 20 63 61 6c 6c 20 74 6f 0a ved the call to.
4340: 09 54 63 6c 5f 4e 6f 74 69 66 79 43 68 61 6e 6e .Tcl_NotifyChann
4350: 65 6c 20 69 6e 20 74 68 65 20 43 68 61 6e 6e 65 el in the Channe
4360: 6c 48 61 6e 64 6c 65 72 20 62 65 63 61 75 73 65 lHandler because
4370: 20 74 68 69 73 20 77 69 6c 6c 20 72 65 73 75 6c this will resul
4380: 74 0a 09 69 6e 20 61 6e 20 69 6e 66 69 6e 69 74 t..in an infinit
4390: 65 20 6c 6f 6f 70 20 69 66 20 64 61 74 61 20 69 e loop if data i
43a0: 73 20 65 76 65 72 20 62 75 66 66 65 72 65 64 20 s ever buffered
43b0: 69 6e 20 74 68 65 20 42 49 4f 0a 09 73 74 72 75 in the BIO..stru
43c0: 63 74 75 72 65 2e 20 5b 42 75 67 3a 20 35 36 32 cture. [Bug: 562
43d0: 33 5d 0a 0a 32 30 30 30 2d 30 35 2d 33 31 20 20 3]..2000-05-31
43e0: 42 72 65 6e 74 20 57 65 6c 63 68 20 3c 77 65 6c Brent Welch <wel
43f0: 63 68 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d [email protected]
4400: 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 43 68 61 >...* tls.c: Cha
4410: 6e 67 65 20 74 68 65 20 43 68 61 6e 6e 65 6c 48 nge the ChannelH
4420: 61 6e 64 6c 65 72 20 74 6f 20 62 65 20 72 65 67 andler to be reg
4430: 69 73 74 65 72 65 64 20 6f 6e 20 74 68 65 20 6d istered on the m
4440: 61 69 6e 0a 09 63 68 61 6e 6e 65 6c 20 61 73 20 ain..channel as
4450: 6f 70 70 73 65 64 20 74 6f 20 74 68 65 20 22 70 oppsed to the "p
4460: 61 72 65 6e 74 22 2c 20 6f 72 20 73 75 70 65 72 arent", or super
4470: 63 65 65 64 65 64 2c 20 63 68 61 6e 6e 65 6c 2e ceeded, channel.
4480: 20 20 54 68 69 73 0a 09 69 73 20 62 65 63 61 75 This..is becau
4490: 73 65 20 74 68 65 20 73 6f 63 6b 65 74 20 64 72 se the socket dr
44a0: 69 76 65 72 20 6e 6f 74 69 66 69 65 73 20 74 68 iver notifies th
44b0: 65 20 6d 61 69 6e 20 63 68 61 6e 6e 65 6c 2c 20 e main channel,
44c0: 61 6e 64 20 74 68 65 72 65 0a 09 61 72 65 20 74 and there..are t
44d0: 69 6d 65 73 20 77 69 74 68 20 74 68 65 20 6d 61 imes with the ma
44e0: 69 6e 20 63 68 61 6e 6e 65 6c 20 67 65 74 73 20 in channel gets
44f0: 63 6c 6f 73 65 64 2c 20 62 75 74 20 74 68 65 20 closed, but the
4500: 73 75 70 65 72 63 65 64 65 64 0a 09 6f 6e 65 20 superceded..one
4510: 69 73 20 6e 6f 74 20 79 65 74 20 63 6c 6f 73 65 is not yet close
4520: 64 2e 20 20 49 66 20 74 68 65 20 63 68 61 6e 6e d. If the chann
4530: 65 6c 20 68 61 6e 64 6c 65 72 20 67 65 74 73 20 el handler gets
4540: 74 72 69 67 67 65 72 65 64 20 69 6e 0a 09 74 68 triggered in..th
4550: 69 73 20 68 61 6c 66 2d 6f 70 65 6e 20 73 74 61 is half-open sta
4560: 74 65 20 69 74 20 69 73 20 61 73 73 6f 63 69 61 te it is associa
4570: 74 65 64 20 77 69 74 68 20 74 68 65 20 73 75 70 ted with the sup
4580: 65 72 63 65 65 64 65 64 0a 09 63 68 61 6e 6e 65 erceeded..channe
4590: 64 6c 2c 20 62 75 74 20 75 73 65 73 20 69 74 73 dl, but uses its
45a0: 20 70 72 69 76 61 74 65 20 70 6f 69 6e 74 65 72 private pointer
45b0: 20 74 6f 20 74 68 65 20 6d 61 69 6e 20 63 68 61 to the main cha
45c0: 6e 6e 65 6c 2c 20 77 68 69 63 68 0a 09 69 73 20 nnel, which..is
45d0: 6d 6f 73 74 6c 79 20 64 65 73 74 72 6f 79 65 64 mostly destroyed
45e0: 2e 20 20 45 6c 69 6d 69 6e 61 74 65 64 20 74 68 . Eliminated th
45f0: 65 20 72 65 64 75 6e 64 61 6e 74 20 63 61 6c 6c e redundant call
4600: 20 74 6f 0a 09 54 63 6c 5f 4e 6f 74 69 66 79 43 to..Tcl_NotifyC
4610: 68 61 6e 6e 65 6c 20 66 72 6f 6d 20 54 6c 73 57 hannel from TlsW
4620: 61 74 63 68 50 72 6f 63 2e 20 5b 42 75 67 3a 20 atchProc. [Bug:
4630: 35 36 32 33 5d 0a 5623].