0000: 32 30 31 34 2d 31 32 2d 30 35 20 20 41 6e 64 72 2014-12-05 Andr
0010: 65 61 73 20 4b 75 70 72 69 65 73 20 20 3c 61 6e eas Kupries <an
0020: 64 72 65 61 73 6b 40 61 63 74 69 76 65 73 74 61 dreask@activesta
0030: 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 63 6f 6e 66 te.com>...* conf
0040: 69 67 75 72 65 2e 69 6e 3a 20 42 75 6d 70 20 74 igure.in: Bump t
0050: 6f 20 76 65 72 73 69 6f 6e 20 31 2e 36 2e 34 2e o version 1.6.4.
0060: 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 ..* win/makefile
0070: 2e 76 63 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 .vc:..* configur
0080: 65 3a 20 72 65 67 65 6e 20 77 69 74 68 20 61 63 e: regen with ac
0090: 2d 32 2e 35 39 0a 09 2a 20 74 6c 73 2e 63 3a 20 -2.59..* tls.c:
00a0: 41 63 63 65 70 74 65 64 20 53 46 20 54 4c 53 20 Accepted SF TLS
00b0: 70 61 74 63 68 65 73 20 23 31 32 20 61 6e 64 20 patches #12 and
00c0: 23 31 33 20 69 6d 70 6c 65 6d 65 6e 74 69 6e 67 #13 implementing
00d0: 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 20 73 75 70 ..* tls.htm: sup
00e0: 70 6f 72 74 20 66 6f 72 20 53 4e 49 2c 20 61 6e port for SNI, an
00f0: 64 20 54 4c 53 20 31 2e 31 20 2b 20 31 2e 32 0a d TLS 1.1 + 1.2.
0100: 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 .* tlsInt.h:..*
0110: 74 6c 73 49 4f 2e 63 3a 20 54 68 69 73 20 61 6c tlsIO.c: This al
0120: 73 6f 20 61 63 63 65 70 74 65 64 20 70 61 74 63 so accepted patc
0130: 68 20 66 6f 72 20 62 75 67 20 23 35 33 2e 0a 09 h for bug #53...
0140: 2a 20 74 6c 73 2e 74 63 6c 3a 20 50 61 74 63 68 * tls.tcl: Patch
0150: 20 61 76 61 69 6c 61 62 6c 65 20 73 69 6e 63 65 available since
0160: 20 4a 75 6e 65 2c 20 6e 6f 77 20 63 6f 6d 6d 69 June, now commi
0170: 74 74 65 64 2e 0a 0a 32 30 31 32 2d 30 37 2d 30 tted...2012-07-0
0180: 39 20 20 41 6e 64 72 65 61 73 20 4b 75 70 72 69 9 Andreas Kupri
0190: 65 73 20 20 3c 61 6e 64 72 65 61 73 6b 40 61 63 es <andreask@ac
01a0: 74 69 76 65 73 74 61 74 65 2e 63 6f 6d 3e 0a 0a tivestate.com>..
01b0: 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a .* configure.in:
01c0: 20 42 75 6d 70 20 74 6f 20 76 65 72 73 69 6f 6e Bump to version
01d0: 20 31 2e 36 2e 33 2e 0a 09 2a 20 77 69 6e 2f 6d 1.6.3...* win/m
01e0: 61 6b 65 66 69 6c 65 2e 76 63 3a 0a 09 2a 20 63 akefile.vc:..* c
01f0: 6f 6e 66 69 67 75 72 65 3a 20 72 65 67 65 6e 20 onfigure: regen
0200: 77 69 74 68 20 61 63 2d 32 2e 35 39 0a 0a 09 2a with ac-2.59...*
0210: 20 74 6c 73 2e 63 20 28 4d 69 73 63 4f 62 6a 43 tls.c (MiscObjC
0220: 6d 64 29 3a 20 46 69 78 65 64 20 6e 6f 6e 2d 73 md): Fixed non-s
0230: 74 61 74 69 63 20 73 74 72 69 6e 67 20 61 72 72 tatic string arr
0240: 61 79 20 75 73 65 64 20 69 6e 20 63 61 6c 6c 0a ay used in call.
0250: 09 20 20 6f 66 20 54 63 6c 5f 47 65 74 49 6e 64 . of Tcl_GetInd
0260: 65 78 46 72 6f 6d 4f 62 6a 28 29 2e 20 4d 65 6d exFromObj(). Mem
0270: 6f 72 79 20 73 6d 61 73 68 20 77 61 69 74 69 6e ory smash waitin
0280: 67 20 74 6f 20 68 61 70 70 65 6e 2e 20 54 68 61 g to happen. Tha
0290: 6e 6b 73 0a 09 20 20 74 6f 20 42 72 69 61 6e 20 nks.. to Brian
02a0: 47 72 69 66 66 69 6e 20 66 6f 72 20 61 6c 65 72 Griffin for aler
02b0: 74 69 6e 67 20 75 73 20 61 6c 6c 20 74 6f 20 74 ting us all to t
02c0: 68 65 20 70 72 6f 62 6c 65 6d 2e 20 0a 0a 32 30 he problem. ..20
02d0: 31 32 2d 30 36 2d 30 31 20 20 41 6e 64 72 65 61 12-06-01 Andrea
02e0: 73 20 4b 75 70 72 69 65 73 20 20 3c 61 6e 64 72 s Kupries <andr
02f0: 65 61 73 6b 40 61 63 74 69 76 65 73 74 61 74 65 eask@activestate
0300: 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a .com>...* tls.c:
0310: 20 41 70 70 6c 69 65 64 20 4a 65 66 66 27 73 20 Applied Jeff's
0320: 70 61 74 63 68 20 66 72 6f 6d 0a 09 20 20 68 74 patch from.. ht
0330: 74 70 3a 2f 2f 77 77 77 2e 6d 61 69 6c 2d 61 72 tp://www.mail-ar
0340: 63 68 69 76 65 2e 63 6f 6d 2f 61 6f 6c 73 65 72 chive.com/aolser
0350: 76 65 72 40 6c 69 73 74 73 65 72 76 2e 61 6f 6c ver@listserv.aol
0360: 2e 63 6f 6d 2f 6d 73 67 31 32 33 35 36 2e 68 74 .com/msg12356.ht
0370: 6d 6c 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 ml...* configure
0380: 2e 69 6e 3a 20 42 75 6d 70 20 74 6f 20 76 65 72 .in: Bump to ver
0390: 73 69 6f 6e 20 31 2e 36 2e 32 2e 0a 09 2a 20 77 sion 1.6.2...* w
03a0: 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 0a in/makefile.vc:.
03b0: 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 72 65 .* configure: re
03c0: 67 65 6e 20 77 69 74 68 20 61 63 2d 32 2e 35 39 gen with ac-2.59
03d0: 0a 09 0a 32 30 31 30 2d 30 38 2d 31 31 20 20 4a ...2010-08-11 J
03e0: 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 eff Hobbs <jeff
03f0: 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f h@ActiveState.co
0400: 6d 3e 0a 0a 09 2a 2a 2a 20 54 4c 53 20 31 2e 36 m>...*** TLS 1.6
0410: 2e 31 20 54 41 47 47 45 44 20 2a 2a 2a 0a 0a 09 .1 TAGGED ***...
0420: 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 72 65 67 * configure: reg
0430: 65 6e 20 77 69 74 68 20 61 63 2d 32 2e 35 39 0a en with ac-2.59.
0440: 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e .* win/makefile.
0450: 76 63 2c 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e vc, configure.in
0460: 3a 20 62 75 6d 70 20 76 65 72 73 69 6f 6e 20 74 : bump version t
0470: 6f 20 31 2e 36 2e 31 0a 09 2a 20 74 63 6c 63 6f o 1.6.1..* tclco
0480: 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 75 70 64 nfig/tcl.m4: upd
0490: 61 74 65 64 20 74 6f 20 54 45 41 20 33 2e 38 0a ated to TEA 3.8.
04a0: 0a 09 2a 20 74 6c 73 2e 63 20 28 53 74 61 74 75 ..* tls.c (Statu
04b0: 73 4f 62 6a 43 6d 64 29 3a 20 6d 65 6d 6c 65 61 sObjCmd): memlea
04c0: 6b 3a 20 66 72 65 65 20 70 65 65 72 20 69 66 20 k: free peer if
04d0: 6c 6f 61 64 65 64 2e 20 5b 42 75 67 20 33 30 34 loaded. [Bug 304
04e0: 31 39 32 35 5d 0a 0a 32 30 31 30 2d 30 37 2d 32 1925]..2010-07-2
04f0: 37 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 7 Jeff Hobbs <
0500: 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 74 jeffh@ActiveStat
0510: 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 74 e.com>...* tls.t
0520: 63 6c 20 28 74 6c 73 3a 3a 73 6f 63 6b 65 74 29 cl (tls::socket)
0530: 3a 20 73 6f 6d 65 20 73 6f 63 6b 65 74 20 69 6d : some socket im
0540: 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 73 20 68 61 plementations ha
0550: 76 65 20 61 20 2d 74 79 70 65 0a 09 73 75 70 70 ve a -type..supp
0560: 6f 72 74 20 28 65 2e 67 2e 20 66 6f 72 20 69 6e ort (e.g. for in
0570: 65 74 36 29 2e 0a 0a 32 30 30 39 2d 30 34 2d 32 et6)...2009-04-2
0580: 33 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 3 Jeff Hobbs <
0590: 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 74 jeffh@ActiveStat
05a0: 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 74 e.com>...* tls.t
05b0: 63 6c 20 28 74 6c 73 3a 3a 69 6e 69 74 6c 69 62 cl (tls::initlib
05c0: 29 3a 20 61 64 64 20 73 75 70 70 6f 72 74 20 66 ): add support f
05d0: 6f 72 20 57 69 6e 64 6f 77 73 20 73 74 61 72 70 or Windows starp
05e0: 61 63 6b 0a 09 6f 70 65 72 61 74 69 6f 6e 20 74 ack..operation t
05f0: 68 61 74 20 75 6e 62 75 6e 64 6c 65 73 20 61 6e hat unbundles an
0600: 79 20 63 6f 6e 73 74 69 74 75 65 6e 74 20 6c 69 y constituent li
0610: 62 72 61 72 69 65 73 2e 20 5b 41 53 20 42 75 67 braries. [AS Bug
0620: 20 38 32 38 38 38 5d 0a 0a 32 30 30 38 2d 30 36 82888]..2008-06
0630: 2d 31 38 20 20 50 61 74 20 54 68 6f 79 74 73 20 -18 Pat Thoyts
0640: 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 <patthoyts@user
0650: 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 s.sourceforge.ne
0660: 74 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 t>...* tests/cip
0670: 68 65 72 73 2e 74 65 73 74 3a 20 46 69 78 20 66 hers.test: Fix f
0680: 6f 72 20 64 69 66 66 65 72 65 6e 74 20 6f 70 65 or different ope
0690: 6e 73 73 6c 20 76 65 72 73 69 6f 6e 73 2e 0a 09 nssl versions...
06a0: 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 * win/makefile.v
06b0: 63 3a 20 20 20 20 55 70 64 61 74 65 73 20 74 6f c: Updates to
06c0: 20 73 75 70 70 6f 72 74 20 74 65 73 74 73 2e 0a support tests..
06d0: 09 2a 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63 3a .* win/rules.vc:
06e0: 0a 09 2a 20 77 69 6e 2f 6e 6d 61 6b 65 68 6c 70 ..* win/nmakehlp
06f0: 2e 63 3a 0a 0a 32 30 30 38 2d 30 33 2d 31 39 20 .c:..2008-03-19
0700: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 Jeff Hobbs <je
0710: 66 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e ffh@ActiveState.
0720: 63 6f 6d 3e 0a 0a 09 2a 2a 2a 20 54 4c 53 20 31 com>...*** TLS 1
0730: 2e 36 20 54 41 47 47 45 44 20 2a 2a 2a 0a 0a 09 .6 TAGGED ***...
0740: 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 20 28 64 * Makefile.in (d
0750: 69 73 74 29 3a 20 75 70 64 61 74 65 20 74 6f 20 ist): update to
0760: 69 6e 63 6c 75 64 65 20 77 69 6e 2f 20 61 6e 64 include win/ and
0770: 20 66 69 6c 65 2e 73 72 6c 0a 0a 09 2a 20 77 69 file.srl...* wi
0780: 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 20 62 n/makefile.vc: b
0790: 75 6d 70 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 ump version to 1
07a0: 2e 36 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e .6..* configure.
07b0: 69 6e 3a 20 75 73 65 20 2d 4c 20 61 6e 64 20 2d in: use -L and -
07c0: 52 20 77 68 65 72 65 20 6e 65 63 65 73 73 61 72 R where necessar
07d0: 79 2e 20 5b 42 75 67 20 31 37 34 32 38 35 39 5d y. [Bug 1742859]
07e0: 0a 0a 09 2a 20 61 63 6c 6f 63 61 6c 2e 6d 34 3a ...* aclocal.m4:
07f0: 20 69 6d 70 72 6f 76 65 20 2d 2d 77 69 74 68 2d improve --with-
0800: 73 73 6c 2d 64 69 72 20 63 68 65 63 6b 2e 0a 0a ssl-dir check...
0810: 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 .* tests/tlsIO.t
0820: 65 73 74 20 28 74 6c 73 49 4f 2d 31 34 2e 2a 29 est (tlsIO-14.*)
0830: 3a 20 20 20 41 64 64 20 74 6c 73 3a 3a 75 6e 69 : Add tls::uni
0840: 6d 70 6f 72 74 20 66 6f 72 20 73 79 6d 6d 65 74 mport for symmet
0850: 72 79 0a 09 2a 20 74 6c 73 2e 68 74 6d 2c 20 74 ry..* tls.htm, t
0860: 6c 73 2e 63 20 28 55 6e 69 6d 70 6f 72 74 4f 62 ls.c (UnimportOb
0870: 6a 43 6d 64 29 3a 20 74 6f 20 74 6c 73 3a 3a 69 jCmd): to tls::i
0880: 6d 70 6f 72 74 2e 20 5b 42 75 67 20 31 32 30 33 mport. [Bug 1203
0890: 32 37 33 5d 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 273]...* tls.c (
08a0: 54 6c 73 5f 43 6c 65 61 6e 2c 20 49 6d 70 6f 72 Tls_Clean, Impor
08b0: 74 4f 62 6a 43 6d 64 29 3a 20 46 69 78 20 63 6c tObjCmd): Fix cl
08c0: 65 61 6e 75 70 20 6d 65 6d 20 6c 65 61 6b 20 5b eanup mem leak [
08d0: 42 75 67 20 31 34 31 34 30 34 35 5d 0a 09 55 73 Bug 1414045]..Us
08e0: 65 20 62 65 74 74 65 72 20 45 76 61 6c 20 41 50 e better Eval AP
08f0: 49 73 2c 20 63 6c 65 61 6e 65 72 20 54 63 6c 5f Is, cleaner Tcl_
0900: 4f 62 6a 2d 68 61 6e 64 6c 69 6e 67 2e 0a 0a 32 Obj-handling...2
0910: 30 30 38 2d 30 33 2d 31 39 20 20 50 61 74 20 54 008-03-19 Pat T
0920: 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 hoyts <patthoyt
0930: 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f s@users.sourcefo
0940: 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 77 69 6e rge.net>...* win
0950: 2f 4d 61 6b 65 66 69 6c 65 2e 76 63 20 20 55 70 /Makefile.vc Up
0960: 64 61 74 65 64 20 74 68 65 20 6e 6d 61 6b 65 20 dated the nmake
0970: 62 75 69 6c 64 20 66 69 6c 65 73 20 77 69 74 68 build files with
0980: 20 4d 53 56 43 39 20 73 75 70 70 6f 72 74 0a 09 MSVC9 support..
0990: 2a 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63 3a 20 * win/rules.vc:
09a0: 20 20 20 61 6e 64 20 66 69 78 65 64 20 74 6f 20 and fixed to
09b0: 72 75 6e 20 74 68 65 20 74 65 73 74 2d 73 75 69 run the test-sui
09c0: 74 65 20 70 72 6f 70 65 72 6c 79 2e 0a 09 2a 20 te properly...*
09d0: 77 69 6e 2f 6e 6d 61 6b 65 68 6c 70 2e 63 3a 0a win/nmakehlp.c:.
09e0: 09 2a 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 3a .* tls.tcl (tls:
09f0: 3a 69 6e 69 74 6c 69 62 29 3a 20 43 6f 72 72 65 :initlib): Corre
0a00: 63 74 65 64 20 6e 61 6d 65 73 70 61 63 65 20 68 cted namespace h
0a10: 61 6e 64 6c 69 6e 67 2e 0a 09 2a 20 74 6c 73 2e andling...* tls.
0a20: 63 3a 20 41 70 70 6c 69 65 64 20 23 31 38 39 30 c: Applied #1890
0a30: 32 32 33 20 74 6f 20 66 69 78 20 68 61 6e 64 73 223 to fix hands
0a40: 68 61 6b 65 20 6f 6e 20 6e 6f 6e 2d 62 6c 6f 63 hake on non-bloc
0a50: 6b 69 6e 67 20 73 6f 63 6b 65 74 73 0a 0a 32 30 king sockets..20
0a60: 30 38 2d 30 33 2d 31 37 20 20 4a 65 66 66 20 48 08-03-17 Jeff H
0a70: 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 obbs <jeffh@Act
0a80: 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 iveState.com>...
0a90: 2a 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a * tls.tcl (tls::
0aa0: 69 6e 69 74 6c 69 62 29 3a 20 20 20 20 20 6c 6f initlib): lo
0ab0: 61 64 20 74 6c 73 2e 74 63 6c 20 66 69 72 73 74 ad tls.tcl first
0ac0: 20 61 6e 64 20 63 61 6c 6c 0a 09 2a 20 4d 61 6b and call..* Mak
0ad0: 65 66 69 6c 65 2e 69 6e 20 28 70 6b 67 49 6e 64 efile.in (pkgInd
0ae0: 65 78 2e 74 63 6c 29 3a 20 74 6c 73 3a 3a 69 6e ex.tcl): tls::in
0af0: 69 74 6c 69 62 20 74 6f 20 6c 6f 61 64 20 6c 69 itlib to load li
0b00: 62 72 61 72 79 20 74 6f 0a 09 68 61 6e 64 6c 65 brary to..handle
0b10: 20 63 77 64 20 63 68 61 6e 67 65 73 2e 20 5b 42 cwd changes. [B
0b20: 75 67 20 31 38 38 38 31 31 33 5d 0a 0a 32 30 30 ug 1888113]..200
0b30: 37 2d 30 39 2d 30 36 20 20 50 61 74 20 54 68 6f 7-09-06 Pat Tho
0b40: 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 yts <patthoyts@
0b50: 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 users.sourceforg
0b60: 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 6c 73 2e 63 e.net>...* tls.c
0b70: 3a 20 20 20 20 20 20 20 20 20 20 20 53 69 6c 65 : Sile
0b80: 6e 63 65 20 36 34 20 62 69 74 20 69 6e 74 65 67 nce 64 bit integ
0b90: 65 72 20 63 6f 6e 76 65 72 73 69 6f 6e 20 77 61 er conversion wa
0ba0: 72 6e 69 6e 67 73 0a 09 2a 20 77 69 6e 2f 6e 6d rnings..* win/nm
0bb0: 61 6b 65 68 6c 70 2e 63 3a 20 20 55 70 64 61 74 akehlp.c: Updat
0bc0: 65 20 62 75 69 6c 64 20 73 79 73 74 65 6d 20 74 e build system t
0bd0: 6f 20 73 75 70 70 6f 72 74 20 41 4d 44 36 34 20 o support AMD64
0be0: 74 61 72 67 65 74 0a 09 2a 20 77 69 6e 2f 6d 61 target..* win/ma
0bf0: 6b 65 66 69 6c 65 2e 76 63 3a 20 77 69 74 68 20 kefile.vc: with
0c00: 4d 53 56 43 38 0a 09 2a 20 77 69 6e 2f 72 75 6c MSVC8..* win/rul
0c10: 65 73 2e 76 63 3a 0a 0a 32 30 30 37 2d 30 36 2d es.vc:..2007-06-
0c20: 32 32 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 22 Jeff Hobbs
0c30: 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 <jeffh@ActiveSta
0c40: 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 te.com>...* tlsI
0c50: 4f 2e 63 20 28 54 6c 73 49 6e 70 75 74 50 72 6f O.c (TlsInputPro
0c60: 63 2c 20 54 6c 73 4f 75 74 70 75 74 50 72 6f 63 c, TlsOutputProc
0c70: 2c 20 54 6c 73 57 61 74 63 68 50 72 6f 63 29 3a , TlsWatchProc):
0c80: 20 0a 09 2a 20 74 6c 73 2e 63 20 28 56 65 72 69 ..* tls.c (Veri
0c90: 66 79 43 61 6c 6c 62 61 63 6b 29 3a 20 61 64 64 fyCallback): add
0ca0: 20 61 6e 20 73 74 61 74 65 20 66 6c 61 67 20 69 an state flag i
0cb0: 6e 20 74 68 65 20 76 65 72 69 66 79 20 63 61 6c n the verify cal
0cc0: 6c 62 61 63 6b 0a 09 74 68 61 74 20 70 72 65 76 lback..that prev
0cd0: 65 6e 74 73 20 70 6f 73 73 69 62 6c 79 20 72 65 ents possibly re
0ce0: 63 75 72 73 69 6f 6e 20 28 6f 6e 20 27 75 70 64 cursion (on 'upd
0cf0: 61 74 65 27 29 2e 20 5b 42 75 67 20 31 36 35 32 ate'). [Bug 1652
0d00: 33 38 30 5d 0a 0a 09 2a 20 74 65 73 74 73 2f 63 380]...* tests/c
0d10: 69 70 68 65 72 73 2e 74 65 73 74 3a 20 72 65 77 iphers.test: rew
0d20: 6f 72 6b 65 64 20 74 6f 20 6d 61 6b 65 20 74 65 orked to make te
0d30: 73 74 20 6f 75 74 70 75 74 20 63 6c 65 61 6e 65 st output cleane
0d40: 72 20 74 6f 0a 09 75 6e 64 65 72 73 74 61 6e 64 r to..understand
0d50: 20 6d 69 73 73 69 6e 67 20 63 69 70 68 65 72 73 missing ciphers
0d60: 20 28 69 66 20 61 6e 79 29 0a 0a 09 2a 20 4d 61 (if any)...* Ma
0d70: 6b 65 66 69 6c 65 2e 69 6e 2c 20 74 63 6c 63 6f kefile.in, tclco
0d80: 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 75 70 64 nfig/tcl.m4: upd
0d90: 61 74 65 20 74 6f 20 54 45 41 20 33 2e 36 0a 09 ate to TEA 3.6..
0da0: 2a 20 63 6f 6e 66 69 67 75 72 65 2c 20 63 6f 6e * configure, con
0db0: 66 69 67 75 72 65 2e 69 6e 3a 20 20 20 20 20 20 figure.in:
0dc0: 20 75 73 69 6e 67 20 61 75 74 6f 63 6f 6e 66 2d using autoconf-
0dd0: 32 2e 35 39 0a 0a 32 30 30 37 2d 30 32 2d 32 38 2.59..2007-02-28
0de0: 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 Pat Thoyts <p
0df0: 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 atthoyts@users.s
0e00: 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a ourceforge.net>.
0e10: 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 ..* win/makefile
0e20: 2e 76 63 3a 20 52 65 62 61 73 65 20 74 68 65 20 .vc: Rebase the
0e30: 44 4c 4c 20 73 65 6e 73 69 62 6c 79 2e 20 41 64 DLL sensibly. Ad
0e40: 64 69 74 69 6f 6e 61 6c 20 6c 69 62 73 20 66 6f ditional libs fo
0e50: 72 20 0a 09 73 74 61 74 69 63 20 6c 69 6e 6b 20 r ..static link
0e60: 6f 66 20 6f 70 65 6e 73 73 6c 2e 0a 09 2a 20 74 of openssl...* t
0e70: 6c 73 2e 74 63 6c 3a 20 62 75 67 20 23 31 35 37 ls.tcl: bug #157
0e80: 39 38 33 37 20 2d 20 54 49 50 20 32 37 38 20 62 9837 - TIP 278 b
0e90: 75 67 20 28 70 6f 73 73 69 62 6c 79 29 20 2d 20 ug (possibly) -
0ea0: 66 69 78 65 64 2e 0a 0a 32 30 30 36 2d 30 33 2d fixed...2006-03-
0eb0: 33 30 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 30 Pat Thoyts
0ec0: 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 <patthoyts@users
0ed0: 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 .sourceforge.net
0ee0: 3e 0a 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 67 2f >...* tclconfig/
0ef0: 2a 3a 20 20 55 70 64 61 74 65 64 20 74 6f 20 54 *: Updated to T
0f00: 45 41 20 33 2e 35 20 69 6e 20 72 65 73 70 6f 6e EA 3.5 in respon
0f10: 73 65 20 74 6f 20 62 75 67 20 31 34 36 30 34 39 se to bug 146049
0f20: 31 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2a 3a 1..* configure*:
0f30: 20 20 20 52 65 67 65 6e 65 72 61 74 65 64 20 63 Regenerated c
0f40: 6f 6e 66 69 67 75 72 65 2e 0a 0a 32 30 30 35 2d onfigure...2005-
0f50: 30 32 2d 30 38 20 20 4a 65 66 66 20 48 6f 62 62 02-08 Jeff Hobb
0f60: 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 s <jeffh@Active
0f70: 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 4d State.com>...* M
0f80: 61 6b 65 66 69 6c 65 2e 69 6e 2c 20 74 63 6c 63 akefile.in, tclc
0f90: 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 75 70 onfig/tcl.m4: up
0fa0: 64 61 74 65 20 74 6f 20 54 45 41 20 33 2e 32 0a date to TEA 3.2.
0fb0: 09 2a 20 63 6f 6e 66 69 67 75 72 65 2c 20 63 6f .* configure, co
0fc0: 6e 66 69 67 75 72 65 2e 69 6e 3a 20 20 20 20 20 nfigure.in:
0fd0: 20 20 75 73 69 6e 67 20 61 75 74 6f 63 6f 6e 66 using autoconf
0fe0: 2d 32 2e 35 39 0a 0a 32 30 30 34 2d 31 32 2d 32 -2.59..2004-12-2
0ff0: 33 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 3 Pat Thoyts <
1000: 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e patthoyts@users.
1010: 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e sourceforge.net>
1020: 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e ...* Makefile.in
1030: 3a 20 20 20 20 20 20 52 65 6d 6f 76 65 64 20 73 : Removed s
1040: 70 75 72 69 6f 75 73 20 63 6f 70 79 69 6e 67 20 purious copying
1050: 6f 66 20 74 6c 73 2e 74 63 6c 20 69 6e 74 6f 20 of tls.tcl into
1060: 74 68 65 0a 09 20 20 20 20 20 20 20 20 20 20 20 the..
1070: 20 20 20 20 20 20 20 20 20 62 75 69 6c 64 20 64 build d
1080: 69 72 65 63 74 6f 72 79 2e 0a 0a 32 30 30 34 2d irectory...2004-
1090: 31 32 2d 32 32 20 20 50 61 74 20 54 68 6f 79 74 12-22 Pat Thoyt
10a0: 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 s <patthoyts@us
10b0: 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e ers.sourceforge.
10c0: 6e 65 74 3e 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 net>...* configu
10d0: 72 65 2e 69 6e 3a 20 20 20 20 20 49 6e 63 72 65 re.in: Incre
10e0: 6d 65 6e 74 65 64 20 6d 69 6e 6f 72 20 76 65 72 mented minor ver
10f0: 73 69 6f 6e 20 74 6f 20 31 2e 35 2e 31 0a 09 2a sion to 1.5.1..*
1100: 20 63 6f 6e 66 69 67 75 72 65 3a 20 20 20 20 20 configure:
1110: 20 20 20 0a 0a 32 30 30 34 2d 31 32 2d 31 37 20 ..2004-12-17
1120: 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 Pat Thoyts <pa
1130: 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f tthoyts@users.so
1140: 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a urceforge.net>..
1150: 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e .* win/makefile.
1160: 76 63 3a 20 20 41 64 64 65 64 20 74 68 65 20 4d vc: Added the M
1170: 53 56 43 20 62 75 69 6c 64 20 73 79 73 74 65 6d SVC build system
1180: 20 28 66 72 6f 6d 20 74 68 65 20 54 63 6c 0a 09 (from the Tcl..
1190: 2a 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63 3a 20 * win/rules.vc:
11a0: 20 20 20 20 73 61 6d 70 6c 65 65 78 74 65 6e 73 sampleextens
11b0: 69 6f 6e 29 2e 0a 09 2a 20 77 69 6e 2f 6e 6d 61 ion)...* win/nma
11c0: 6b 65 68 6c 70 2e 63 3a 0a 09 2a 20 77 69 6e 2f kehlp.c:..* win/
11d0: 74 6c 73 2e 72 63 20 20 20 20 20 20 20 20 41 64 tls.rc Ad
11e0: 64 65 64 20 57 69 6e 64 6f 77 73 20 72 65 73 6f ded Windows reso
11f0: 75 72 63 65 20 66 69 6c 65 2e 0a 09 0a 09 2a 20 urce file.....*
1200: 74 6c 73 2e 74 63 6c 3a 20 20 20 20 20 20 20 20 tls.tcl:
1210: 20 20 46 72 6f 6d 20 70 61 74 63 68 20 23 39 34 From patch #94
1220: 38 31 35 35 2c 20 61 64 64 65 64 20 73 75 70 70 8155, added supp
1230: 6f 72 74 20 66 6f 72 0a 09 20 20 20 20 20 20 20 ort for..
1240: 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 74 alt
1250: 65 72 6e 61 74 65 20 73 6f 63 6b 65 74 20 63 6f ernate socket co
1260: 6d 6d 61 6e 64 73 2e 0a 09 2a 20 74 6c 73 2e 63 mmands...* tls.c
1270: 3a 20 20 20 20 20 20 20 20 20 20 20 20 51 75 69 : Qui
1280: 65 74 65 6e 20 73 6f 6d 65 20 4d 53 56 43 20 77 eten some MSVC w
1290: 61 72 6e 69 6e 67 73 2e 20 50 72 65 66 65 72 20 arnings. Prefer
12a0: 63 6b 61 6c 6c 6f 63 0a 09 20 20 20 20 20 20 20 ckalloc..
12b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 76 65 ove
12c0: 72 20 54 63 6c 5f 41 6c 6c 6f 63 2e 20 28 44 61 r Tcl_Alloc. (Da
12d0: 76 69 64 20 47 72 61 76 65 72 61 75 78 29 2e 0a vid Graveraux)..
12e0: 0a 32 30 30 34 2d 30 36 2d 32 39 20 20 50 61 74 .2004-06-29 Pat
12f0: 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f Thoyts <pattho
1300: 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 yts@users.source
1310: 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 forge.net>...* t
1320: 6c 73 2e 63 3a 20 20 20 20 20 20 20 20 20 20 20 ls.c:
1330: 20 46 69 78 75 70 20 74 6f 20 62 75 69 6c 64 20 Fixup to build
1340: 61 67 61 69 6e 73 74 20 74 63 6c 20 38 2e 33 2e against tcl 8.3.
1350: 33 2e 20 48 61 6e 64 6c 65 0a 09 2a 20 74 6c 73 3. Handle..* tls
1360: 49 4f 2e 63 3a 20 20 20 20 20 20 20 20 20 20 38 IO.c: 8
1370: 2e 34 20 63 6f 6e 73 74 69 66 69 63 61 74 69 6f .4 constificatio
1380: 6e 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a n....* tlsInt.h:
1390: 20 20 20 20 20 20 20 20 20 41 64 64 65 64 20 68 Added h
13a0: 65 61 64 65 72 73 20 72 65 71 75 69 72 65 64 20 eaders required
13b0: 77 69 74 68 20 4d 53 56 43 20 6f 6e 20 57 69 6e with MSVC on Win
13c0: 33 32 2e 0a 09 2a 20 74 6c 73 58 35 30 39 2e 63 32...* tlsX509.c
13d0: 3a 20 20 20 20 20 20 20 20 75 6e 64 65 66 20 6d : undef m
13e0: 69 6e 20 61 6e 64 20 6d 61 78 20 69 66 20 64 65 in and max if de
13f0: 66 69 6e 65 64 20 28 77 69 6e 33 32 29 2e 0a 0a fined (win32)...
1400: 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 .* Makefile.in:
1410: 20 20 20 20 20 46 69 78 65 64 20 74 6f 20 62 75 Fixed to bu
1420: 69 6c 64 20 6f 6e 20 77 69 6e 33 32 20 75 73 69 ild on win32 usi
1430: 6e 67 20 6d 73 79 73 20 77 69 74 68 0a 09 2a 20 ng msys with..*
1440: 61 63 6c 6f 63 61 6c 2e 6d 34 3a 20 20 20 20 20 aclocal.m4:
1450: 20 20 4d 53 56 43 2e 20 41 6c 73 6f 20 66 69 78 MSVC. Also fix
1460: 65 64 20 74 68 65 20 74 65 73 74 20 74 61 72 67 ed the test targ
1470: 65 74 2e 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 et...* configure
1480: 2e 69 6e 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 .in:..* configur
1490: 65 3a 20 20 20 20 20 20 20 20 52 65 67 65 6e 65 e: Regene
14a0: 72 61 74 65 64 2e 0a 09 2a 20 74 63 6c 63 6f 6e rated...* tclcon
14b0: 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 55 70 64 61 fig/tcl.m4: Upda
14c0: 74 65 64 20 74 6f 20 6d 6f 73 74 20 72 65 63 65 ted to most rece
14d0: 6e 74 20 76 65 72 73 69 6f 6e 2e 0a 0a 32 30 30 nt version...200
14e0: 34 2d 30 33 2d 32 33 20 20 44 61 6e 20 52 61 7a 4-03-23 Dan Raz
14f0: 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 zell <research@s
1500: 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 tarfishsystems.c
1510: 61 3e 0a 09 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 a>..* tls.c:..*
1520: 74 6c 73 42 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 tlsBIO.c:..* tls
1530: 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 49 6e 74 2e IO.c:..* tlsInt.
1540: 68 3a 09 46 69 78 65 64 20 74 79 70 65 20 6d 61 h:.Fixed type ma
1550: 74 63 68 20 77 61 72 6e 69 6e 67 73 2e 0a 0a 32 tch warnings...2
1560: 30 30 34 2d 30 33 2d 31 39 20 20 4a 65 66 66 20 004-03-19 Jeff
1570: 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 Hobbs <jeffh@Ac
1580: 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a tiveState.com>..
1590: 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e .* tls.c (Tls_In
15a0: 69 74 29 3a 20 20 20 72 65 70 6c 61 63 65 64 20 it): replaced
15b0: 6f 6c 64 65 72 20 54 45 41 20 63 6f 6e 66 69 67 older TEA config
15c0: 20 77 69 74 68 20 6e 65 77 65 72 0a 09 2a 20 63 with newer..* c
15d0: 6f 6e 66 69 67 2f 2a 20 28 72 65 6d 6f 76 65 64 onfig/* (removed
15e0: 29 3a 0a 09 2a 20 70 6b 67 49 6e 64 65 78 2e 74 ):..* pkgIndex.t
15f0: 63 6c 2e 69 6e 2c 20 73 74 72 6e 63 61 73 65 63 cl.in, strncasec
1600: 6d 70 2e 63 20 28 72 65 6d 6f 76 65 64 29 3a 0a mp.c (removed):.
1610: 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 2c 20 .* Makefile.in,
1620: 61 63 6c 6f 63 61 6c 2e 6d 34 2c 20 63 6f 6e 66 aclocal.m4, conf
1630: 69 67 75 72 65 2c 20 63 6f 6e 66 69 67 75 72 65 igure, configure
1640: 2e 69 6e 3a 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 .in:..* tclconfi
1650: 67 2f 52 45 41 44 4d 45 2e 74 78 74 2c 20 74 63 g/README.txt, tc
1660: 6c 63 6f 6e 66 69 67 2f 69 6e 73 74 61 6c 6c 2d lconfig/install-
1670: 73 68 2c 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 sh, tclconfig/tc
1680: 6c 2e 6d 34 3a 0a 0a 32 30 30 34 2d 30 33 2d 31 l.m4:..2004-03-1
1690: 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 7 Dan Razzell <
16a0: 72 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73 research@starfis
16b0: 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a hsystems.ca>...*
16c0: 20 74 6c 73 58 35 30 39 2e 63 3a 09 41 64 64 20 tlsX509.c:.Add
16d0: 73 75 70 70 6f 72 74 20 66 6f 72 20 6c 6f 6e 67 support for long
16e0: 20 73 65 72 69 61 6c 20 6e 75 6d 62 65 72 73 20 serial numbers
16f0: 70 65 72 20 52 46 43 20 33 32 38 30 2e 0a 09 09 per RFC 3280....
1700: 09 46 6f 72 6d 61 74 20 69 73 20 6e 6f 77 20 68 .Format is now h
1710: 65 78 61 64 65 63 69 6d 61 6c 2e 20 0a 09 09 09 exadecimal. ....
1720: 5b 52 65 71 75 65 73 74 20 23 39 31 35 33 31 33 [Request #915313
1730: 5d 0a 09 09 09 43 6f 72 72 65 63 74 6c 79 20 63 ]....Correctly c
1740: 6f 6e 76 65 72 74 20 63 65 72 74 69 66 69 63 61 onvert certifica
1750: 74 65 20 44 69 73 74 69 6e 67 75 69 73 68 65 64 te Distinguished
1760: 20 4e 61 6d 65 73 0a 09 09 09 74 6f 20 54 63 6c Names....to Tcl
1770: 20 73 74 72 69 6e 67 20 72 65 70 72 65 73 65 6e string represen
1780: 74 61 74 69 6f 6e 2e 20 20 45 6c 69 6d 69 6e 61 tation. Elimina
1790: 74 65 73 20 75 73 65 20 6f 66 0a 09 09 09 64 65 tes use of....de
17a0: 70 72 65 63 61 74 65 64 20 4f 70 65 6e 53 53 4c precated OpenSSL
17b0: 20 66 75 6e 63 74 69 6f 6e 2e 20 20 46 6f 72 6d function. Form
17c0: 61 74 20 69 73 20 6e 6f 77 20 63 6f 6d 70 6c 69 at is now compli
17d0: 61 6e 74 0a 09 09 09 77 69 74 68 20 52 46 43 20 ant....with RFC
17e0: 32 32 35 33 2e 20 20 5b 52 65 71 75 65 73 74 20 2253. [Request
17f0: 23 39 31 35 33 31 35 5d 0a 0a 32 30 30 34 2d 30 #915315]..2004-0
1800: 32 2d 31 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 2-17 Dan Razzel
1810: 6c 20 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 l <research@star
1820: 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a fishsystems.ca>.
1830: 0a 09 54 4c 53 20 31 2e 35 2e 30 20 52 45 4c 45 ..TLS 1.5.0 RELE
1840: 41 53 45 0a 0a 32 30 30 34 2d 30 32 2d 31 32 20 ASE..2004-02-12
1850: 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 Dan Razzell.<re
1860: 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 search@starfishs
1870: 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 ystems.ca>...* t
1880: 6c 73 2e 63 3a 09 41 6c 6c 6f 77 20 76 65 72 69 ls.c:.Allow veri
1890: 66 79 20 63 61 6c 6c 62 61 63 6b 20 74 6f 20 72 fy callback to r
18a0: 65 74 75 72 6e 20 65 6d 70 74 79 20 72 65 73 75 eturn empty resu
18b0: 6c 74 2e 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 09 lt...* tls.htm:.
18c0: 44 6f 63 75 6d 65 6e 74 20 63 61 6c 6c 62 61 63 Document callbac
18d0: 6b 20 62 65 68 61 76 69 6f 72 73 2e 0a 0a 32 30 k behaviors...20
18e0: 30 34 2d 30 32 2d 31 31 20 20 44 61 6e 20 52 61 04-02-11 Dan Ra
18f0: 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 zzell.<research@
1900: 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e starfishsystems.
1910: 63 61 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c ca>...* tests/tl
1920: 73 49 4f 2e 74 65 73 74 3a 0a 09 2a 20 72 65 6d sIO.test:..* rem
1930: 6f 74 65 2e 74 63 6c 3a 09 43 6f 6d 70 6c 65 74 ote.tcl:.Complet
1940: 65 20 70 72 69 76 61 74 65 20 6b 65 79 20 6e 61 e private key na
1950: 6d 65 20 63 68 61 6e 67 65 73 20 66 72 6f 6d 20 me changes from
1960: 32 30 30 31 2d 30 36 2d 32 31 2e 0a 0a 32 30 30 2001-06-21...200
1970: 34 2d 30 32 2d 30 33 20 20 44 61 6e 20 52 61 7a 4-02-03 Dan Raz
1980: 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 zell <research@s
1990: 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 tarfishsystems.c
19a0: 61 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e a>...* Makefile.
19b0: 69 6e 3a 09 52 65 6d 6f 76 65 64 20 63 69 72 63 in:.Removed circ
19c0: 75 6c 61 72 20 64 65 70 65 6e 64 65 6e 63 79 2e ular dependency.
19d0: 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 09 4d 61 ..* tlsInt.h:.Ma
19e0: 6b 65 20 66 75 6e 63 74 69 6f 6e 20 64 65 63 6c ke function decl
19f0: 61 72 61 74 69 6f 6e 73 20 65 78 70 6c 69 63 69 arations explici
1a00: 74 2e 0a 09 2a 20 74 6c 73 2e 63 3a 09 46 69 78 t...* tls.c:.Fix
1a10: 20 74 79 70 65 20 6d 61 74 63 68 20 61 6e 64 20 type match and
1a20: 75 6e 75 73 65 64 20 76 61 72 69 61 62 6c 65 20 unused variable
1a30: 77 61 72 6e 69 6e 67 73 2e 0a 09 2a 20 74 6c 73 warnings...* tls
1a40: 42 49 4f 2e 63 3a 09 46 69 78 20 74 79 70 65 20 BIO.c:.Fix type
1a50: 6d 61 74 63 68 20 77 61 72 6e 69 6e 67 2e 0a 0a match warning...
1a60: 32 30 30 33 2d 31 32 2d 31 35 20 20 44 61 6e 20 2003-12-15 Dan
1a70: 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63 Razzell.<researc
1a80: 68 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d h@starfishsystem
1a90: 73 2e 63 61 3e 0a 0a 09 2a 20 70 6b 67 49 6e 64 s.ca>...* pkgInd
1aa0: 65 78 2e 74 63 6c 2e 69 6e 3a 0a 09 2a 20 74 6c ex.tcl.in:..* tl
1ab0: 73 2e 68 74 6d 3a 0a 09 2a 20 74 65 73 74 73 2f s.htm:..* tests/
1ac0: 74 6c 73 49 4f 2e 74 65 73 74 3a 20 75 70 64 61 tlsIO.test: upda
1ad0: 74 65 64 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 ted version to 1
1ae0: 2e 35 2e 0a 0a 32 30 30 33 2d 31 30 2d 30 37 20 .5...2003-10-07
1af0: 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 Dan Razzell.<re
1b00: 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 search@starfishs
1b10: 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 ystems.ca>...* t
1b20: 65 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73 ests/ciphers.tes
1b30: 74 3a 20 75 70 64 61 74 65 64 20 6c 69 73 74 20 t: updated list
1b40: 6f 66 20 74 65 73 74 65 64 20 63 69 70 68 65 72 of tested cipher
1b50: 73 20 74 6f 20 63 6f 72 72 65 73 70 6f 6e 64 0a s to correspond.
1b60: 09 2a 20 77 69 74 68 20 74 68 6f 73 65 20 61 76 .* with those av
1b70: 61 69 6c 61 62 6c 65 20 66 72 6f 6d 20 4f 70 65 ailable from Ope
1b80: 6e 53 53 4c 2e 20 5b 52 65 71 75 65 73 74 20 23 nSSL. [Request #
1b90: 38 31 31 39 38 31 5d 0a 0a 32 30 30 33 2d 31 30 811981]..2003-10
1ba0: 2d 30 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c -07 Dan Razzell
1bb0: 20 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66 <research@starf
1bc0: 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a ishsystems.ca>..
1bd0: 09 2a 20 74 6c 73 2e 63 3a 20 61 64 64 65 64 20 .* tls.c: added
1be0: 43 4f 4e 53 54 20 77 69 74 68 20 69 6e 74 65 6e CONST with inten
1bf0: 74 20 73 69 6d 69 6c 61 72 20 74 6f 20 74 68 6f t similar to tho
1c00: 73 65 20 66 72 6f 6d 20 32 30 30 32 2d 30 32 2d se from 2002-02-
1c10: 30 34 2e 0a 09 5b 52 65 71 75 65 73 74 20 23 38 04...[Request #8
1c20: 31 31 39 31 31 5d 0a 0a 32 30 30 33 2d 30 37 2d 11911]..2003-07-
1c30: 30 37 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 07 Jeff Hobbs
1c40: 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 <jeffh@ActiveSta
1c50: 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e te.com>...* tls.
1c60: 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 20 20 c (Tls_Init):
1c70: 61 64 64 65 64 20 74 6c 73 3a 3a 6d 69 73 63 20 added tls::misc
1c80: 63 6f 6d 6d 61 6e 64 20 70 72 6f 76 69 64 65 64 command provided
1c90: 20 62 79 0a 09 2a 20 74 6c 73 58 35 30 39 2e 63 by..* tlsX509.c
1ca0: 3a 20 20 20 20 20 20 20 20 20 20 57 6f 6a 63 69 : Wojci
1cb0: 65 63 68 20 4b 6f 63 6a 61 6e 20 28 77 6f 6a 63 ech Kocjan (wojc
1cc0: 69 65 63 68 20 6b 6f 63 6a 61 6e 2e 6f 72 67 29 iech kocjan.org)
1cd0: 0a 09 2a 20 74 65 73 74 73 2f 6b 65 79 74 65 73 ..* tests/keytes
1ce0: 74 31 2e 74 63 6c 3a 20 74 6f 20 65 78 70 6f 73 t1.tcl: to expos
1cf0: 65 20 6d 6f 72 65 20 6c 6f 77 2d 6c 65 76 65 6c e more low-level
1d00: 20 53 53 4c 20 63 6f 6d 6d 61 6e 64 73 0a 09 2a SSL commands..*
1d10: 20 74 65 73 74 73 2f 6b 65 79 74 65 73 74 32 2e tests/keytest2.
1d20: 74 63 6c 3a 0a 0a 32 30 30 33 2d 30 35 2d 31 35 tcl:..2003-05-15
1d30: 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 Dan Razzell.<r
1d40: 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68 esearch@starfish
1d50: 73 79 73 74 65 6d 73 2e 63 61 3e 20 0a 0a 09 2a systems.ca> ...*
1d60: 20 74 6c 73 2e 74 63 6c 3a 0a 09 2a 20 74 6c 73 tls.tcl:..* tls
1d70: 49 6e 74 2e 68 3a 0a 09 2a 20 74 6c 73 2e 63 3a Int.h:..* tls.c:
1d80: 20 61 64 64 20 73 75 70 70 6f 72 74 20 66 6f 72 add support for
1d90: 20 62 69 6e 64 69 6e 67 20 61 20 70 61 73 73 77 binding a passw
1da0: 6f 72 64 20 63 61 6c 6c 62 61 63 6b 20 74 6f 20 ord callback to
1db0: 74 68 65 20 73 6f 63 6b 65 74 2e 0a 09 4e 6f 77 the socket...Now
1dc0: 20 65 61 63 68 20 73 6f 63 6b 65 74 20 63 61 6e each socket can
1dd0: 20 68 61 76 65 20 69 74 73 20 6f 77 6e 20 63 6f have its own co
1de0: 6d 6d 61 6e 64 20 61 6e 64 20 70 61 73 73 77 6f mmand and passwo
1df0: 72 64 20 63 61 6c 6c 62 61 63 6b 73 20 69 6e 73 rd callbacks ins
1e00: 74 65 61 64 0a 09 6f 66 20 62 65 69 6e 67 20 66 tead..of being f
1e10: 6f 72 63 65 64 20 74 6f 20 68 61 76 65 20 61 6c orced to have al
1e20: 6c 20 70 61 73 73 77 6f 72 64 20 6d 61 6e 61 67 l password manag
1e30: 65 6d 65 6e 74 20 70 61 73 73 20 74 68 72 6f 75 ement pass throu
1e40: 67 68 20 61 20 63 6f 6d 6d 6f 6e 0a 09 70 72 6f gh a common..pro
1e50: 63 65 64 75 72 65 2e 20 20 54 68 65 20 63 6f 6d cedure. The com
1e60: 6d 6f 6e 20 70 61 73 73 77 6f 72 64 20 70 72 6f mon password pro
1e70: 63 65 64 75 72 65 20 69 73 20 72 65 74 61 69 6e cedure is retain
1e80: 65 64 20 66 6f 72 20 63 6f 6d 70 61 74 69 62 69 ed for compatibi
1e90: 6c 69 74 79 0a 09 62 75 74 20 69 74 73 20 75 73 lity..but its us
1ea0: 65 20 73 68 6f 75 6c 64 20 62 65 20 44 45 50 52 e should be DEPR
1eb0: 45 43 41 54 45 44 2e 0a 09 41 64 64 20 76 65 72 ECATED...Add ver
1ec0: 73 69 6f 6e 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 sion command to
1ed0: 72 65 74 75 72 6e 20 4f 70 65 6e 53 53 4c 20 76 return OpenSSL v
1ee0: 65 72 73 69 6f 6e 20 73 74 72 69 6e 67 2e 0a 09 ersion string...
1ef0: 52 65 6d 6f 76 65 20 75 6e 73 74 61 62 6c 65 20 Remove unstable
1f00: 77 6f 72 6b 61 72 6f 75 6e 64 73 20 6e 65 65 64 workarounds need
1f10: 65 64 20 66 6f 72 20 76 65 72 69 66 79 20 69 6e ed for verify in
1f20: 20 6f 62 73 6f 6c 65 74 65 20 76 65 72 73 69 6f obsolete versio
1f30: 6e 73 20 6f 66 0a 09 4f 70 65 6e 53 53 4c 2e 0a ns of..OpenSSL..
1f40: 09 46 69 78 20 6d 65 6d 6f 72 79 20 6c 65 61 6b .Fix memory leak
1f50: 2e 20 5b 52 65 71 75 65 73 74 20 23 36 34 30 36 . [Request #6406
1f60: 36 30 5d 0a 09 4d 6f 72 65 20 63 61 73 74 73 20 60]..More casts
1f70: 74 6f 20 65 6c 69 6d 69 6e 61 74 65 20 63 6f 6d to eliminate com
1f80: 70 69 6c 65 72 20 77 61 72 6e 69 6e 67 73 2e 0a piler warnings..
1f90: 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 20 64 6f 63 ..* tls.htm: doc
1fa0: 75 6d 65 6e 74 20 70 61 73 73 77 6f 72 64 20 63 ument password c
1fb0: 61 6c 6c 62 61 63 6b 2e 0a 09 43 6f 72 72 65 63 allback...Correc
1fc0: 74 20 74 65 63 68 6e 69 63 61 6c 20 61 6e 64 20 t technical and
1fd0: 74 79 70 6f 67 72 61 70 68 69 63 20 65 72 72 6f typographic erro
1fe0: 72 73 2e 0a 0a 09 2a 20 52 45 41 44 4d 45 2e 74 rs....* README.t
1ff0: 78 74 3a 20 69 64 65 6e 74 69 66 79 20 76 65 72 xt: identify ver
2000: 73 69 6f 6e 73 20 6f 66 20 4f 70 65 6e 53 53 4c sions of OpenSSL
2010: 20 77 68 69 63 68 20 66 69 78 20 6b 6e 6f 77 6e which fix known
2020: 20 70 72 6f 62 6c 65 6d 73 2e 0a 09 47 65 6e 65 problems...Gene
2030: 72 61 6c 20 77 61 72 6e 69 6e 67 20 6f 66 20 73 ral warning of s
2040: 65 63 75 72 69 74 79 20 70 72 6f 62 6c 65 6d 73 ecurity problems
2050: 20 69 6e 20 6f 6c 64 65 72 20 76 65 72 73 69 6f in older versio
2060: 6e 73 20 6f 66 20 4f 70 65 6e 53 53 4c 2e 0a 0a ns of OpenSSL...
2070: 32 30 30 32 2d 30 32 2d 30 34 20 20 4a 65 66 66 2002-02-04 Jeff
2080: 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 Hobbs <jeffh@A
2090: 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a ctiveState.com>.
20a0: 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 0a 09 2a 20 ..* tls.htm:..*
20b0: 74 6c 73 2e 63 3a 20 61 64 64 65 64 20 73 75 70 tls.c: added sup
20c0: 70 6f 72 74 20 66 6f 72 20 6c 6f 63 61 6c 20 63 port for local c
20d0: 65 72 74 69 66 69 63 61 74 65 20 73 74 61 74 75 ertificate statu
20e0: 73 20 63 68 65 63 6b 2c 20 61 73 20 77 65 6c 6c s check, as well
20f0: 0a 09 61 73 20 72 65 74 75 72 6e 69 6e 67 20 74 ..as returning t
2100: 68 65 20 23 20 6f 66 20 62 69 74 73 20 69 6e 20 he # of bits in
2110: 74 68 65 20 73 65 73 73 69 6f 6e 20 6b 65 79 2e the session key.
2120: 20 5b 50 61 74 63 68 20 23 35 30 35 36 39 38 5d [Patch #505698]
2130: 20 28 72 6f 73 65 29 0a 0a 09 2a 20 74 6c 73 2e (rose)...* tls.
2140: 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 0a 09 c:..* tlsIO.c:..
2150: 2a 20 74 6c 73 42 49 4f 2e 63 3a 20 61 64 64 65 * tlsBIO.c: adde
2160: 64 20 43 4f 4e 53 54 73 20 74 6f 20 73 61 74 69 d CONSTs to sati
2170: 73 66 79 20 54 63 6c 20 38 2e 34 20 73 6f 75 72 sfy Tcl 8.4 sour
2180: 63 65 73 2e 20 20 54 68 69 73 20 6d 61 79 0a 09 ces. This may..
2190: 67 69 76 65 20 77 61 72 6e 69 6e 67 73 20 77 68 give warnings wh
21a0: 65 6e 20 63 6f 6d 70 69 6c 65 64 20 61 67 61 69 en compiled agai
21b0: 6e 73 74 20 38 2e 33 2c 20 62 75 74 20 74 68 65 nst 8.3, but the
21c0: 79 20 63 61 6e 20 62 65 20 69 67 6e 6f 72 65 64 y can be ignored
21d0: 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 ....* tests/simp
21e0: 6c 65 43 6c 69 65 6e 74 2e 74 63 6c 3a 0a 09 2a leClient.tcl:..*
21f0: 20 74 65 73 74 73 2f 73 69 6d 70 6c 65 53 65 72 tests/simpleSer
2200: 76 65 72 2e 74 63 6c 3a 20 70 6f 69 6e 74 20 74 ver.tcl: point t
2210: 6f 20 75 70 64 61 74 65 64 20 63 6c 69 65 6e 74 o updated client
2220: 2f 73 65 72 76 65 72 20 6b 65 79 20 66 69 6c 65 /server key file
2230: 73 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 s....* tests/tls
2240: 49 4f 2e 74 65 73 74 3a 0a 09 2a 20 74 65 73 74 IO.test:..* test
2250: 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20 s/ciphers.test:
2260: 75 70 64 61 74 65 64 20 74 6f 20 6c 6f 61 64 20 updated to load
2270: 74 6c 73 20 66 72 6f 6d 20 62 75 69 6c 64 20 64 tls from build d
2280: 69 72 2e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 ir....* Makefile
2290: 2e 69 6e 3a 20 72 65 6d 6f 76 65 64 20 73 74 72 .in: removed str
22a0: 6e 63 61 73 65 63 6d 70 20 66 72 6f 6d 20 64 65 ncasecmp from de
22b0: 66 61 75 6c 74 20 6f 62 6a 65 63 74 20 73 65 74 fault object set
22c0: 2e 20 20 54 68 69 73 0a 09 69 73 20 6f 6e 6c 79 . This..is only
22d0: 20 6e 65 65 64 65 64 20 6f 6e 20 74 68 65 20 4d needed on the M
22e0: 61 63 2c 20 61 6e 64 20 54 63 6c 20 73 74 75 62 ac, and Tcl stub
22f0: 73 20 70 72 6f 76 69 64 65 73 20 69 74 2e 0a 0a s provides it...
2300: 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 72 65 .* configure: re
2310: 67 65 6e 27 65 64 2e 0a 09 2a 20 63 6f 6e 66 69 gen'ed...* confi
2320: 67 75 72 65 2e 69 6e 3a 20 75 70 64 61 74 65 64 gure.in: updated
2330: 20 74 6f 20 31 2e 35 2e 30 20 66 6f 72 20 6e 65 to 1.5.0 for ne
2340: 78 74 20 72 65 6c 65 61 73 65 2e 0a 09 43 68 61 xt release...Cha
2350: 6e 67 65 64 20 64 65 66 61 75 6c 74 20 6f 70 65 nged default ope
2360: 6e 73 73 6c 20 6c 6f 63 61 74 69 6f 6e 20 74 6f nssl location to
2370: 20 2f 75 73 72 2f 6c 6f 63 61 6c 2f 73 73 6c 20 /usr/local/ssl
2380: 28 74 68 69 73 20 69 73 20 77 68 65 72 65 0a 09 (this is where..
2390: 6f 70 65 6e 73 73 6c 20 30 2e 39 2e 36 63 20 69 openssl 0.9.6c i
23a0: 6e 73 74 61 6c 6c 73 20 62 79 20 64 65 66 61 75 nstalls by defau
23b0: 6c 74 29 2e 0a 09 43 68 61 6e 67 65 64 20 74 6f lt)...Changed to
23c0: 20 75 73 65 20 70 75 62 6c 69 63 20 54 63 6c 20 use public Tcl
23d0: 68 65 61 64 65 72 73 20 28 70 72 69 76 61 74 65 headers (private
23e0: 20 6e 6f 74 20 6e 65 65 64 65 64 29 2e 0a 0a 32 not needed)...2
23f0: 30 30 31 2d 30 36 2d 32 31 20 20 4a 65 66 66 20 001-06-21 Jeff
2400: 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 Hobbs <jeffh@Ac
2410: 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a tiveState.com>..
2420: 09 54 4c 53 20 31 2e 34 2e 31 20 52 45 4c 45 41 .TLS 1.4.1 RELEA
2430: 53 45 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 SE...* configure
2440: 3a 20 61 64 64 65 64 20 63 6f 6e 66 69 67 75 72 : added configur
2450: 65 20 74 6f 20 43 56 53 0a 09 2a 20 63 6f 6e 66 e to CVS..* conf
2460: 69 67 75 72 65 2e 69 6e 3a 20 6d 6f 76 65 64 20 igure.in: moved
2470: 74 6f 20 70 61 74 63 68 6c 65 76 65 6c 20 31 2e to patchlevel 1.
2480: 34 2e 31 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 4.1...* Makefile
2490: 2e 69 6e 3a 20 63 6f 72 72 65 63 74 65 64 20 27 .in: corrected '
24a0: 64 69 73 74 27 20 74 61 72 67 65 74 0a 0a 09 2a dist' target...*
24b0: 20 74 65 73 74 73 2f 63 65 72 74 73 2f 66 69 6c tests/certs/fil
24c0: 65 2e 73 72 6c 3a 0a 09 2a 20 74 65 73 74 73 2f e.srl:..* tests/
24d0: 63 65 72 74 73 2f 63 61 2e 70 65 6d 3a 0a 09 2a certs/ca.pem:..*
24e0: 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63 6c 69 tests/certs/cli
24f0: 65 6e 74 2e 6b 65 79 3a 0a 09 2a 20 74 65 73 74 ent.key:..* test
2500: 73 2f 63 65 72 74 73 2f 63 6c 69 65 6e 74 2e 70 s/certs/client.p
2510: 65 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 em:..* tests/cer
2520: 74 73 2f 63 6c 69 65 6e 74 2e 72 65 71 3a 0a 09 ts/client.req:..
2530: 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 70 72 * tests/certs/pr
2540: 69 76 6b 65 79 2e 70 65 6d 3a 0a 09 2a 20 74 65 ivkey.pem:..* te
2550: 73 74 73 2f 63 65 72 74 73 2f 73 65 72 76 65 72 sts/certs/server
2560: 2e 6b 65 79 3a 0a 09 2a 20 74 65 73 74 73 2f 63 .key:..* tests/c
2570: 65 72 74 73 2f 73 65 72 76 65 72 2e 70 65 6d 3a erts/server.pem:
2580: 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f ..* tests/certs/
2590: 73 65 72 76 65 72 2e 72 65 71 3a 0a 09 2a 20 74 server.req:..* t
25a0: 65 73 74 73 2f 63 65 72 74 73 2f 63 61 63 65 72 ests/certs/cacer
25b0: 74 2e 70 65 6d 3a 20 72 65 70 6c 61 63 65 64 20 t.pem: replaced
25c0: 62 79 20 6e 65 77 20 63 61 2e 70 65 6d 0a 09 2a by new ca.pem..*
25d0: 20 74 65 73 74 73 2f 63 65 72 74 73 2f 73 6b 65 tests/certs/ske
25e0: 79 2e 70 65 6d 3a 20 72 65 70 6c 61 63 65 64 20 y.pem: replaced
25f0: 62 79 20 6e 65 77 20 73 65 72 76 65 72 2e 6b 65 by new server.ke
2600: 79 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 y..* tests/certs
2610: 2f 63 6b 65 79 2e 70 65 6d 3a 20 72 65 70 6c 61 /ckey.pem: repla
2620: 63 65 64 20 62 79 20 6e 65 77 20 63 6c 69 65 6e ced by new clien
2630: 74 2e 6b 65 79 0a 09 2a 20 74 65 73 74 73 2f 63 t.key..* tests/c
2640: 65 72 74 73 2f 52 45 41 44 4d 45 2e 74 78 74 3a erts/README.txt:
2650: 20 6e 65 77 20 73 65 74 20 6f 66 20 74 65 73 74 new set of test
2660: 20 63 65 72 74 69 66 69 63 61 74 65 73 20 77 69 certificates wi
2670: 74 68 20 73 6f 6d 65 0a 09 52 45 41 44 4d 45 20 th some..README
2680: 69 6e 66 6f 20 6f 6e 20 74 68 65 69 72 20 67 65 info on their ge
2690: 6e 65 72 61 74 69 6f 6e 2e 0a 0a 09 2a 20 74 65 neration....* te
26a0: 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74 sts/ciphers.test
26b0: 3a 20 75 70 64 61 74 65 64 20 63 69 70 68 65 72 : updated cipher
26c0: 73 20 65 78 70 65 63 74 65 64 20 77 69 74 68 20 s expected with
26d0: 64 65 66 61 75 6c 74 0a 09 6f 70 65 6e 73 73 6c default..openssl
26e0: 20 62 75 69 6c 64 2e 0a 0a 09 2a 20 74 65 73 74 build....* test
26f0: 73 2f 74 63 6c 49 4f 2e 74 65 73 74 3a 20 75 70 s/tclIO.test: up
2700: 64 61 74 65 64 20 74 6f 20 75 73 65 20 6e 65 77 dated to use new
2710: 20 6e 61 6d 65 73 20 66 6f 72 20 63 65 72 74 73 names for certs
2720: 2f 6b 65 79 73 2e 0a 0a 32 30 30 31 2d 30 33 2d /keys...2001-03-
2730: 31 34 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 14 Jeff Hobbs
2740: 3c 6a 65 66 66 68 40 67 69 6d 6c 65 74 2e 61 63 <jeffh@gimlet.ac
2750: 74 69 76 65 73 74 61 74 65 2e 63 6f 6d 3e 0a 0a tivestate.com>..
2760: 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e .* tls.c (Tls_In
2770: 69 74 29 3a 20 61 64 64 20 64 6f 2f 77 68 69 6c it): add do/whil
2780: 65 20 66 6f 72 20 72 61 6e 64 6f 6d 20 6e 75 6d e for random num
2790: 62 65 72 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 ber initializati
27a0: 6f 6e 0a 09 74 6f 20 77 6f 72 6b 20 61 72 6f 75 on..to work arou
27b0: 6e 64 20 73 6f 6d 65 20 4f 53 65 73 20 71 75 69 nd some OSes qui
27c0: 72 6b 73 2e 20 20 28 52 61 6c 70 68 2e 42 69 6c rks. (Ralph.Bil
27d0: 6c 65 73 40 74 65 6c 74 65 63 68 2e 63 6f 6d 2e les@teltech.com.
27e0: 61 75 29 0a 0a 32 30 30 30 2d 30 39 2d 30 37 20 au)..2000-09-07
27f0: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f Jeff Hobbs <ho
2800: 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f bbs@scriptics.co
2810: 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 20 28 m>...* tlsIO.c (
2820: 54 6c 73 5f 43 68 61 6e 6e 65 6c 54 79 70 65 29 Tls_ChannelType)
2830: 3a 20 73 65 74 20 74 79 70 65 4e 61 6d 65 20 66 : set typeName f
2840: 69 65 6c 64 20 6f 66 20 63 68 61 6e 6e 65 6c 20 ield of channel
2850: 74 79 70 65 20 74 6f 0a 09 22 74 6c 73 22 20 28 type to.."tls" (
2860: 74 68 69 73 20 67 6f 74 20 6c 6f 73 74 20 69 6e this got lost in
2870: 20 6d 6f 76 65 20 74 6f 20 64 79 6e 61 6d 69 63 move to dynamic
2880: 20 76 65 72 73 69 6f 6e 20 63 6f 6d 70 61 74 61 version compata
2890: 62 69 6c 69 74 79 0a 09 63 68 65 63 6b 69 6e 67 bility..checking
28a0: 29 2e 0a 0a 32 30 30 30 2d 30 38 2d 32 33 20 20 )...2000-08-23
28b0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 Jeff Hobbs <hob
28c0: 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d bs@scriptics.com
28d0: 3e 0a 0a 09 54 4c 53 20 31 2e 34 20 52 45 4c 45 >...TLS 1.4 RELE
28e0: 41 53 45 44 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c ASED...* Makefil
28f0: 65 2e 69 6e 20 28 64 69 73 74 29 3a 20 63 72 65 e.in (dist): cre
2900: 61 74 65 20 64 69 73 74 20 74 61 72 67 65 74 20 ate dist target
2910: 66 6f 72 20 61 72 63 68 69 76 65 20 64 69 73 74 for archive dist
2920: 72 69 62 75 74 69 6f 6e 73 0a 0a 09 2a 20 74 65 ributions...* te
2930: 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 20 28 sts/tlsIO.test (
2940: 74 6c 73 49 4f 2d 38 2e 31 29 3a 20 61 64 64 65 tlsIO-8.1): adde
2950: 64 20 61 20 64 65 6c 61 79 20 6f 6e 20 74 68 65 d a delay on the
2960: 20 61 63 63 65 70 74 20 63 6c 6f 73 65 0a 09 74 accept close..t
2970: 6f 20 6d 61 6b 65 20 74 68 65 20 74 65 73 74 20 o make the test
2980: 77 6f 72 6b 20 77 69 74 68 20 4f 70 65 6e 53 53 work with OpenSS
2990: 4c 20 6f 6e 20 57 69 6e 64 6f 77 73 20 28 64 6f L on Windows (do
29a0: 65 73 6e 27 74 20 61 66 66 65 63 74 0a 09 6f 74 esn't affect..ot
29b0: 68 65 72 20 62 75 69 6c 64 73 29 2e 0a 0a 09 2a her builds)....*
29c0: 20 74 6c 73 2e 68 74 6d 3a 20 75 70 64 61 74 65 tls.htm: update
29d0: 64 20 77 69 74 68 20 6e 6f 74 65 73 20 66 6f 72 d with notes for
29e0: 20 31 2e 34 2e 0a 0a 32 30 30 30 2d 30 38 2d 32 1.4...2000-08-2
29f0: 31 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 1 Jeff Hobbs <
2a00: 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e hobbs@scriptics.
2a10: 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 com>...* tests/t
2a20: 6c 73 49 4f 2e 74 65 73 74 3a 20 72 65 71 75 69 lsIO.test: requi
2a30: 72 65 20 61 74 20 6c 65 61 73 74 20 74 6c 73 31 re at least tls1
2a40: 2e 34 20 69 6e 20 74 65 73 74 20 73 75 69 74 65 .4 in test suite
2a50: 2e 0a 0a 32 30 30 30 2d 30 38 2d 31 38 20 20 4a ...2000-08-18 J
2a60: 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 eff Hobbs <hobb
2a70: 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e s@scriptics.com>
2a80: 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f ...* tls.c (Tls_
2a90: 49 6e 69 74 29 3a 20 61 64 64 65 64 20 63 61 6c Init): added cal
2aa0: 6c 20 74 6f 20 52 41 4e 44 5f 73 65 65 64 20 74 l to RAND_seed t
2ab0: 6f 20 73 65 65 64 20 74 68 65 20 53 53 4c 20 72 o seed the SSL r
2ac0: 61 6e 64 6f 6d 0a 09 6e 75 6d 62 65 72 20 67 65 andom..number ge
2ad0: 6e 65 72 61 74 6f 72 2e 20 20 57 69 74 68 6f 75 nerator. Withou
2ae0: 74 20 74 68 69 73 2c 20 4f 70 65 6e 53 53 4c 20 t this, OpenSSL
2af0: 30 2e 39 2e 35 20 63 68 6f 6b 65 73 2c 20 61 6e 0.9.5 chokes, an
2b00: 64 20 69 6e 20 61 6e 79 0a 09 63 61 73 65 20 69 d in any..case i
2b10: 74 20 69 73 20 61 20 62 69 67 20 73 65 63 75 72 t is a big secur
2b20: 69 74 79 20 68 6f 6c 65 20 74 6f 20 64 6f 20 77 ity hole to do w
2b30: 69 74 68 6f 75 74 20 69 74 2e 0a 0a 09 2a 20 63 ithout it....* c
2b40: 6f 6e 66 69 67 75 72 65 2e 69 6e 20 28 4f 50 45 onfigure.in (OPE
2b50: 4e 53 53 4c 29 3a 20 61 64 64 65 64 20 4e 4f 5f NSSL): added NO_
2b60: 49 44 45 41 20 61 6e 64 20 4e 4f 5f 52 43 35 20 IDEA and NO_RC5
2b70: 64 65 66 69 6e 65 73 20 62 79 0a 09 64 65 66 61 defines by..defa
2b80: 75 6c 74 20 77 68 65 6e 20 63 6f 6d 70 69 6c 69 ult when compili
2b90: 6e 67 20 77 69 74 68 20 4f 70 65 6e 53 53 4c 2e ng with OpenSSL.
2ba0: 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 20 61 ...* tlsInt.h: a
2bb0: 64 64 65 64 20 65 72 72 2e 68 20 69 6e 63 6c 75 dded err.h inclu
2bc0: 64 65 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a de...* tlsBIO.c:
2bd0: 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 63 6f 72 ..* tlsIO.c: cor
2be0: 72 65 63 74 65 64 20 70 65 64 61 6e 74 69 63 20 rected pedantic
2bf0: 63 61 73 74 20 65 72 72 6f 72 73 2e 0a 0a 32 30 cast errors...20
2c00: 30 30 2d 30 38 2d 31 36 20 20 4a 65 66 66 20 48 00-08-16 Jeff H
2c10: 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 obbs <hobbs@scr
2c20: 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 iptics.com>...*
2c30: 74 65 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65 tests/ciphers.te
2c40: 73 74 3a 20 69 6d 70 72 6f 76 65 64 20 61 62 69 st: improved abi
2c50: 6c 69 74 79 20 74 6f 20 63 68 61 6e 67 65 20 63 lity to change c
2c60: 6f 6e 73 74 72 61 69 6e 74 0a 09 73 65 74 74 69 onstraint..setti
2c70: 6e 67 20 66 6f 72 20 77 68 65 74 68 65 72 20 75 ng for whether u
2c80: 73 65 72 20 63 6f 6d 70 69 6c 65 64 20 61 67 61 ser compiled aga
2c90: 69 6e 73 74 20 52 53 41 20 6f 72 20 4f 70 65 6e inst RSA or Open
2ca0: 53 53 4c 20 6c 69 62 73 2e 0a 0a 09 2a 20 74 6c SSL libs....* tl
2cb0: 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 s.c (Tls_Init):
2cc0: 63 6f 72 72 65 63 74 65 64 20 69 6e 74 65 72 70 corrected interp
2cd0: 72 65 74 61 74 69 6f 6e 20 6f 66 20 76 65 72 73 retation of vers
2ce0: 69 6f 6e 20 6e 75 6d 62 65 72 0a 09 28 70 61 74 ion number..(pat
2cf0: 63 68 6c 65 76 65 6c 20 61 6e 64 20 72 65 6c 65 chlevel and rele
2d00: 61 73 65 2f 73 65 72 69 61 6c 20 77 65 72 65 20 ase/serial were
2d10: 73 77 61 70 70 65 64 29 2e 0a 0a 32 30 30 30 2d swapped)...2000-
2d20: 30 38 2d 31 35 20 20 4a 65 66 66 20 48 6f 62 62 08-15 Jeff Hobb
2d30: 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 s <hobbs@script
2d40: 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 52 45 41 ics.com>...* REA
2d50: 44 4d 45 2e 74 78 74 3a 20 61 64 64 65 64 20 6e DME.txt: added n
2d60: 6f 74 65 73 20 61 62 6f 75 74 20 6e 65 65 64 20 otes about need
2d70: 74 6f 20 75 73 65 20 38 2e 32 2e 30 2b 2e 0a 0a to use 8.2.0+...
2d80: 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 .* tlsInt.h:..*
2d90: 74 6c 73 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e tls.c:..* tlsIO.
2da0: 63 3a 20 63 6f 72 72 65 63 74 65 64 20 73 74 72 c: corrected str
2db0: 75 63 74 75 72 65 20 69 6e 69 74 69 61 6c 69 7a ucture initializ
2dc0: 61 74 69 6f 6e 20 74 6f 20 77 6f 72 6b 20 77 68 ation to work wh
2dd0: 65 6e 0a 09 63 6f 6d 70 69 6c 69 6e 67 20 77 69 en..compiling wi
2de0: 74 68 20 38 2e 32 2e 20 20 4e 6f 77 20 63 6f 6d th 8.2. Now com
2df0: 70 69 6c 65 73 20 77 69 74 68 20 38 2e 32 2b 20 piles with 8.2+
2e00: 61 6e 64 20 74 65 73 74 65 64 20 74 6f 20 77 6f and tested to wo
2e10: 72 6b 0a 09 77 69 74 68 20 38 2e 32 2b 20 61 6e rk..with 8.2+ an
2e20: 64 20 64 79 6e 61 6d 69 63 61 6c 6c 79 20 61 64 d dynamically ad
2e30: 6a 75 73 74 20 74 6f 20 74 68 65 20 76 65 72 73 just to the vers
2e40: 69 6f 6e 20 6f 66 20 54 63 6c 20 69 74 20 77 61 ion of Tcl it wa
2e50: 73 0a 09 6c 6f 61 64 65 64 20 69 6e 74 6f 2e 20 s..loaded into.
2e60: 20 54 4c 53 20 77 69 6c 6c 20 66 61 69 6c 20 74 TLS will fail t
2e70: 68 65 20 74 65 73 74 20 73 75 69 74 65 20 77 69 he test suite wi
2e80: 74 68 20 54 63 6c 20 38 2e 32 2d 38 2e 33 2e 31 th Tcl 8.2-8.3.1
2e90: 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 61 6c 6c 2e ....* tests/all.
2ea0: 74 63 6c 3a 20 61 64 64 65 64 20 63 61 74 63 68 tcl: added catch
2eb0: 20 61 72 6f 75 6e 64 20 3a 3a 74 63 6c 74 65 73 around ::tcltes
2ec0: 74 3a 3a 6e 6f 72 6d 61 6c 69 7a 65 50 61 74 68 t::normalizePath
2ed0: 0a 09 62 65 63 61 75 73 65 20 69 74 20 64 6f 65 ..because it doe
2ee0: 73 6e 27 74 20 65 78 69 73 74 20 69 6e 20 70 72 sn't exist in pr
2ef0: 65 2d 38 2e 33 20 74 63 6c 74 65 73 74 2e 0a 0a e-8.3 tcltest...
2f00: 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c 65 43 .* tests/simpleC
2f10: 6c 69 65 6e 74 2e 74 63 6c 3a 20 0a 09 2a 20 74 lient.tcl: ..* t
2f20: 65 73 74 73 2f 73 69 6d 70 6c 65 53 65 72 76 65 ests/simpleServe
2f30: 72 2e 74 63 6c 3a 20 61 64 64 65 64 20 73 69 6d r.tcl: added sim
2f40: 70 6c 65 20 63 6c 69 65 6e 74 2f 73 65 72 76 65 ple client/serve
2f50: 72 20 74 65 73 74 20 73 63 72 69 70 74 73 0a 09 r test scripts..
2f60: 74 68 61 74 20 75 73 65 20 74 65 73 74 20 63 65 that use test ce
2f70: 72 74 73 20 61 6e 64 20 63 61 6e 20 64 6f 20 73 rts and can do s
2f80: 69 6d 70 6c 65 20 73 74 72 65 73 73 20 74 65 73 imple stress tes
2f90: 74 73 2e 0a 0a 32 30 30 30 2d 30 38 2d 31 34 20 ts...2000-08-14
2fa0: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f Jeff Hobbs <ho
2fb0: 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f bbs@scriptics.co
2fc0: 6d 3e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a m>...* tlsInt.h:
2fd0: 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 ..* tlsIO.c:..*
2fe0: 74 6c 73 42 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 tlsBIO.c:..* tls
2ff0: 2e 63 3a 20 63 68 61 6e 67 65 64 20 61 72 6f 75 .c: changed arou
3000: 6e 64 20 74 6f 20 6f 6e 6c 79 20 77 6f 72 6b 69 nd to only worki
3010: 6e 67 20 77 69 74 68 20 38 2e 32 2e 30 2b 20 28 ng with 8.2.0+ (
3020: 38 2e 33 2e 32 2b 0a 09 70 72 65 66 65 72 72 65 8.3.2+..preferre
3030: 64 29 2c 20 77 69 74 68 20 72 75 6e 74 69 6d 65 d), with runtime
3040: 20 63 68 65 63 6b 73 20 66 6f 72 20 70 72 65 2d checks for pre-
3050: 20 61 6e 64 20 70 6f 73 74 2d 69 6f 2d 72 65 77 and post-io-rew
3060: 72 69 74 65 2e 0a 0a 09 2a 20 74 6c 73 2e 63 20 rite....* tls.c
3070: 28 54 6c 73 5f 49 6e 69 74 29 3a 20 63 68 61 6e (Tls_Init): chan
3080: 67 65 64 20 69 74 20 74 6f 20 72 65 71 75 69 72 ged it to requir
3090: 65 20 38 2e 33 2e 32 20 77 68 65 6e 20 54 63 6c e 8.3.2 when Tcl
30a0: 5f 49 6e 69 74 53 74 75 62 73 0a 09 77 61 73 20 _InitStubs..was
30b0: 63 61 6c 6c 65 64 20 62 65 63 61 75 73 65 20 77 called because w
30c0: 65 20 64 6f 6e 27 74 20 77 61 6e 74 20 70 65 6f e don't want peo
30d0: 70 6c 65 20 75 73 69 6e 67 20 54 4c 53 20 77 69 ple using TLS wi
30e0: 74 68 20 74 68 65 0a 09 6f 72 69 67 69 6e 61 6c th the..original
30f0: 20 73 74 61 63 6b 65 64 20 63 68 61 6e 6e 65 6c stacked channel
3100: 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 2e implementation.
3110: 0a 0a 32 30 30 30 2d 30 37 2d 32 36 20 20 4a 65 ..2000-07-26 Je
3120: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 ff Hobbs <hobbs
3130: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a @scriptics.com>.
3140: 0a 09 2a 20 6d 65 72 67 65 64 20 61 6c 6c 20 63 ..* merged all c
3150: 68 61 6e 67 65 73 20 66 72 6f 6d 20 74 6c 73 2d hanges from tls-
3160: 31 2d 33 2d 69 6f 2d 72 65 77 72 69 74 65 20 62 1-3-io-rewrite b
3170: 61 63 6b 20 69 6e 74 6f 20 6d 61 69 6e 20 62 72 ack into main br
3180: 61 6e 63 68 0a 0a 09 2a 20 74 65 73 74 73 2f 74 anch...* tests/t
3190: 6c 73 49 4f 2e 74 65 73 74 3a 20 75 70 64 61 74 lsIO.test: updat
31a0: 65 64 20 63 6f 6d 6d 65 6e 74 73 2c 20 66 69 78 ed comments, fix
31b0: 65 64 20 61 20 70 63 43 72 61 73 68 20 63 61 73 ed a pcCrash cas
31c0: 65 20 74 68 61 74 0a 09 77 61 73 20 64 75 65 20 e that..was due
31d0: 74 6f 20 64 65 62 75 67 20 61 73 73 65 72 74 69 to debug asserti
31e0: 6f 6e 20 69 6e 20 57 69 6e 64 6f 77 73 20 53 53 on in Windows SS
31f0: 4c 2e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 49 6d L....* tls.c (Im
3200: 70 6f 72 74 4f 62 6a 43 6d 64 29 3a 20 72 65 6d portObjCmd): rem
3210: 6f 76 65 64 20 75 6e 6e 65 63 65 73 73 61 72 79 oved unnecessary
3220: 20 75 73 65 20 6f 66 20 27 62 69 6f 27 20 61 72 use of 'bio' ar
3230: 67 2e 0a 09 28 54 6c 73 5f 49 6e 69 74 29 3a 20 g...(Tls_Init):
3240: 63 68 65 63 6b 20 72 65 74 75 72 6e 20 76 61 6c check return val
3250: 75 65 20 6f 66 20 53 53 4c 5f 6c 69 62 72 61 72 ue of SSL_librar
3260: 79 5f 69 6e 69 74 2e 20 20 41 6c 73 6f 20 6c 6f y_init. Also lo
3270: 74 73 20 6f 66 0a 09 77 68 69 74 65 73 70 61 63 ts of..whitespac
3280: 65 20 63 6c 65 61 6e 75 70 20 28 6d 6f 72 65 20 e cleanup (more
3290: 6c 69 6b 65 20 54 63 6c 20 45 6e 67 20 73 74 79 like Tcl Eng sty
32a0: 6c 65 20 67 75 69 64 65 29 2c 20 62 75 74 20 6e le guide), but n
32b0: 6f 74 20 61 6c 6c 0a 09 63 6f 64 65 20 77 61 73 ot all..code was
32c0: 20 63 6c 65 61 6e 65 64 20 75 70 2e 0a 0a 09 2a cleaned up....*
32d0: 20 74 6c 73 42 49 4f 2e 63 3a 20 6d 69 6e 6f 72 tlsBIO.c: minor
32e0: 20 77 68 69 74 65 73 70 61 63 65 20 63 6c 65 61 whitespace clea
32f0: 6e 75 70 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a nup...* tlsIO.c:
3300: 20 6d 69 6e 6f 72 20 77 68 69 74 65 73 70 61 63 minor whitespac
3310: 65 20 63 6c 65 61 6e 75 70 2e 0a 09 28 54 6c 73 e cleanup...(Tls
3320: 49 6e 70 75 74 50 72 6f 63 2c 20 54 6c 73 4f 75 InputProc, TlsOu
3330: 74 70 75 74 50 72 6f 63 29 3a 20 41 64 64 65 64 tputProc): Added
3340: 20 45 52 52 5f 63 6c 65 61 72 5f 65 72 72 6f 72 ERR_clear_error
3350: 20 62 65 66 6f 72 65 20 63 61 6c 6c 73 0a 09 74 before calls..t
3360: 6f 20 42 49 4f 5f 72 65 61 64 20 6f 72 20 42 49 o BIO_read or BI
3370: 4f 5f 77 72 69 74 65 2c 20 62 65 63 61 75 73 65 O_write, because
3380: 20 77 65 20 63 6f 75 6c 64 20 6f 74 68 65 72 77 we could otherw
3390: 69 73 65 20 65 6e 64 20 75 70 0a 09 70 75 6c 6c ise end up..pull
33a0: 69 6e 67 20 61 6e 20 65 72 72 6f 72 20 6f 66 66 ing an error off
33b0: 20 74 68 65 20 73 74 61 63 6b 20 74 68 61 74 20 the stack that
33c0: 64 69 64 6e 27 74 20 62 65 6c 6f 6e 67 20 74 6f didn't belong to
33d0: 20 75 73 2e 20 20 41 6c 73 6f 0a 09 63 6c 65 61 us. Also..clea
33e0: 6e 75 70 20 75 70 20 65 78 63 65 73 73 69 76 65 nup up excessive
33f0: 20 75 73 65 20 6f 66 20 67 6f 74 6f 73 2e 0a 0a use of gotos...
3400: 32 30 30 30 2d 30 37 2d 32 30 20 20 4a 65 66 66 2000-07-20 Jeff
3410: 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 Hobbs <hobbs@s
3420: 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 criptics.com>...
3430: 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 * tests/tlsIO.te
3440: 73 74 3a 20 63 6f 72 72 65 63 74 65 64 20 76 61 st: corrected va
3450: 72 69 6f 75 73 20 74 65 73 74 73 20 74 6f 20 62 rious tests to b
3460: 65 20 63 6f 72 72 65 63 74 20 66 6f 72 20 54 4c e correct for TL
3470: 53 0a 09 73 74 61 63 6b 65 64 20 63 68 61 6e 6e S..stacked chann
3480: 65 6c 73 20 28 61 73 20 6f 70 70 6f 73 65 64 20 els (as opposed
3490: 74 6f 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 to the standard
34a0: 73 6f 63 6b 65 74 73 20 74 68 65 20 74 65 73 74 sockets the test
34b0: 0a 09 73 75 69 74 65 20 77 61 73 20 61 64 6f 70 ..suite was adop
34c0: 74 65 64 20 66 72 6f 6d 29 2e 20 20 4b 65 79 20 ted from). Key
34d0: 64 69 66 66 65 72 65 6e 63 65 73 20 61 72 65 20 differences are
34e0: 74 68 61 74 20 54 4c 53 20 63 61 6e 6e 6f 74 0a that TLS cannot.
34f0: 09 6f 70 65 72 61 74 65 20 69 6e 20 6f 6e 65 20 .operate in one
3500: 70 72 6f 63 65 73 73 20 77 69 74 68 6f 75 74 20 process without
3510: 61 6c 6c 20 63 68 61 6e 6e 65 6c 73 20 62 65 69 all channels bei
3520: 6e 67 20 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e 67 2c ng non-blocking,
3530: 20 6f 72 0a 09 74 68 65 20 68 61 6e 64 73 68 61 or..the handsha
3540: 6b 65 20 77 69 6c 6c 20 62 6c 6f 63 6b 2c 20 61 ke will block, a
3550: 6e 64 20 68 61 6e 64 73 68 61 6b 69 6e 67 20 6d nd handshaking m
3560: 75 73 74 20 62 65 20 66 6f 72 63 65 64 20 69 6e ust be forced in
3570: 20 73 6f 6d 65 0a 09 63 61 73 65 73 2e 20 20 41 some..cases. A
3580: 6c 73 6f 2c 20 68 61 6e 64 73 68 61 6b 65 73 20 lso, handshakes
3590: 64 6f 6e 27 74 20 73 65 65 6d 20 74 6f 20 63 6f don't seem to co
35a0: 6d 70 6c 65 74 65 20 75 6e 6c 65 73 73 20 74 68 mplete unless th
35b0: 65 20 63 6c 69 65 6e 74 0a 09 68 61 73 20 70 6c e client..has pl
35c0: 61 63 65 64 20 61 74 20 6c 65 61 73 74 20 6f 6e aced at least on
35d0: 65 20 62 79 74 65 20 66 6f 72 20 74 68 65 20 73 e byte for the s
35e0: 65 72 76 65 72 20 74 6f 20 72 65 61 64 20 69 6e erver to read in
35f0: 20 74 68 65 20 63 68 61 6e 6e 65 6c 2e 0a 0a 09 the channel....
3600: 2a 20 74 65 73 74 73 2f 72 65 6d 6f 74 65 2e 74 * tests/remote.t
3610: 63 6c 3a 20 63 6f 72 72 65 63 74 65 64 20 74 68 cl: corrected th
3620: 65 20 66 69 6e 64 69 6e 67 20 6f 66 20 74 65 73 e finding of tes
3630: 74 73 20 63 65 72 74 69 66 69 63 61 74 65 73 0a ts certificates.
3640: 0a 09 2a 20 74 6c 73 49 4f 2e 63 20 28 54 6c 73 ..* tlsIO.c (Tls
3650: 43 6c 6f 73 65 50 72 6f 63 29 3a 20 72 65 6d 6f CloseProc): remo
3660: 76 65 64 20 64 65 6c 65 74 69 6e 67 20 6f 66 20 ved deleting of
3670: 74 69 6d 65 72 20 68 61 6e 64 6c 65 72 20 61 73 timer handler as
3680: 0a 09 74 68 61 74 20 69 73 20 68 61 6e 64 6c 65 ..that is handle
3690: 64 20 62 79 20 54 6c 73 5f 43 6c 65 61 6e 2e 0a d by Tls_Clean..
36a0: 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 ..* tls.tcl (tls
36b0: 3a 3a 5f 61 63 63 65 70 74 29 3a 20 63 6f 72 72 ::_accept): corr
36c0: 65 63 74 65 64 20 74 68 65 20 69 6e 74 65 72 6e ected the intern
36d0: 61 6c 20 5f 61 63 63 65 70 74 20 74 6f 0a 09 74 al _accept to..t
36e0: 72 69 63 6b 6c 65 20 63 61 6c 6c 62 61 63 6b 20 rickle callback
36f0: 65 72 72 6f 72 73 20 74 6f 20 74 68 65 20 75 73 errors to the us
3700: 65 72 2e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 er....* Makefile
3710: 2e 69 6e 3a 20 6d 61 64 65 20 74 68 65 20 69 6e .in: made the in
3720: 73 74 61 6c 6c 2d 62 69 6e 61 72 69 65 73 20 74 stall-binaries t
3730: 61 72 67 65 74 20 72 65 67 65 6e 65 72 61 74 65 arget regenerate
3740: 20 74 68 65 0a 09 70 6b 67 49 6e 64 65 78 2e 74 the..pkgIndex.t
3750: 63 6c 20 63 6f 72 72 65 63 74 6c 79 2e 20 20 54 cl correctly. T
3760: 68 65 20 74 65 73 74 20 74 61 72 67 65 74 20 70 he test target p
3770: 72 6f 62 61 62 6c 79 20 73 68 6f 75 6c 64 6e 27 robably shouldn'
3780: 74 20 73 63 72 65 77 0a 09 69 74 20 75 70 2c 20 t screw..it up,
3790: 62 75 74 20 74 68 69 73 20 69 73 20 74 6f 20 62 but this is to b
37a0: 65 20 6f 6e 20 74 68 65 20 73 61 66 65 20 73 69 e on the safe si
37b0: 64 65 2e 0a 0a 32 30 30 30 2d 30 37 2d 31 37 20 de...2000-07-17
37c0: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f Jeff Hobbs <ho
37d0: 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f bbs@scriptics.co
37e0: 6d 3e 0a 0a 09 2a 20 70 6b 67 49 6e 64 65 78 2e m>...* pkgIndex.
37f0: 74 63 6c 2e 69 6e 3a 0a 09 2a 20 63 6f 6e 66 69 tcl.in:..* confi
3800: 67 75 72 65 2e 69 6e 3a 20 75 70 64 61 74 65 64 gure.in: updated
3810: 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e 34 0a version to 1.4.
3820: 0a 32 30 30 30 2d 30 37 2d 31 33 20 20 4a 65 66 .2000-07-13 Jef
3830: 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 f Hobbs <hobbs@
3840: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a scriptics.com>..
3850: 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 .* tests/tlsIO.t
3860: 65 73 74 3a 20 65 6e 61 62 6c 65 64 20 74 65 73 est: enabled tes
3870: 74 73 20 32 2e 31 30 2c 20 37 2e 5b 31 32 34 35 ts 2.10, 7.[1245
3880: 5d 20 28 74 68 65 72 65 20 69 73 20 6e 6f 20 33 ] (there is no 3
3890: 29 2c 0a 09 77 68 69 63 68 20 6e 6f 77 20 70 61 ),..which now pa
38a0: 73 73 2e 20 20 41 64 64 65 64 20 73 6f 6d 65 20 ss. Added some
38b0: 63 6f 6d 6d 65 6e 74 73 20 74 6f 20 6f 74 68 65 comments to othe
38c0: 72 20 66 61 69 6c 69 6e 67 20 74 65 73 74 73 2e r failing tests.
38d0: 0a 0a 32 30 30 30 2d 30 37 2d 31 31 20 20 4a 65 ..2000-07-11 Je
38e0: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 ff Hobbs <hobbs
38f0: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a @scriptics.com>.
3900: 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 63 68 61 ..* tlsIO.c: cha
3910: 6e 67 65 64 20 61 6c 6c 20 74 68 65 20 63 68 61 nged all the cha
3920: 6e 6e 65 6c 20 70 72 6f 63 73 20 74 6f 20 73 74 nnel procs to st
3930: 61 72 74 20 77 69 74 68 20 54 6c 73 2a 20 66 6f art with Tls* fo
3940: 72 0a 09 62 65 74 74 65 72 20 70 61 72 69 74 79 r..better parity
3950: 20 77 68 65 6e 20 63 6f 6d 70 61 72 69 6e 67 20 when comparing
3960: 77 69 74 68 20 54 72 61 6e 73 66 6f 72 6d 20 63 with Transform c
3970: 68 61 6e 6e 65 6c 20 70 72 6f 63 73 2e 0a 09 52 hannel procs...R
3980: 65 77 72 6f 74 65 20 54 6c 73 57 61 74 63 68 50 ewrote TlsWatchP
3990: 72 6f 63 2c 20 61 64 64 65 64 20 54 6c 73 4e 6f roc, added TlsNo
39a0: 74 69 66 79 50 72 6f 63 20 61 63 63 6f 72 64 69 tifyProc accordi
39b0: 6e 67 20 74 6f 20 74 68 65 20 6e 65 77 0a 09 63 ng to the new..c
39c0: 68 61 6e 6e 65 6c 20 64 65 73 69 67 6e 2c 20 77 hannel design, w
39d0: 68 69 63 68 20 61 6c 73 6f 20 6c 65 61 76 65 73 hich also leaves
39e0: 20 54 6c 73 43 68 61 6e 6e 65 6c 48 61 6e 64 6c TlsChannelHandl
39f0: 65 72 20 75 6e 75 73 65 64 2e 0a 0a 09 2a 20 74 er unused....* t
3a00: 6c 73 42 49 4f 2e 63 20 28 42 69 6f 43 74 72 6c lsBIO.c (BioCtrl
3a10: 29 3a 20 63 68 61 6e 67 65 64 20 42 49 4f 5f 43 ): changed BIO_C
3a20: 54 52 4c 5f 46 4c 55 53 48 20 63 61 73 65 20 74 TRL_FLUSH case t
3a30: 6f 20 75 73 65 0a 09 54 63 6c 5f 57 72 69 74 65 o use..Tcl_Write
3a40: 52 61 77 20 69 6e 73 74 65 61 64 20 6f 66 20 54 Raw instead of T
3a50: 63 6c 5f 46 6c 75 73 68 20 28 74 6f 20 6f 70 65 cl_Flush (to ope
3a60: 72 61 74 65 20 6f 6e 20 63 6f 72 72 65 63 74 20 rate on correct
3a70: 63 68 61 6e 6e 65 6c 0a 09 69 6e 20 74 68 65 20 channel..in the
3a80: 73 74 61 63 6b 20 69 6e 73 74 65 61 64 20 6f 66 stack instead of
3a90: 20 73 74 61 72 74 69 6e 67 20 61 74 20 74 68 65 starting at the
3aa0: 20 74 6f 70 20 61 67 61 69 6e 29 2e 20 20 57 6f top again). Wo
3ab0: 75 6c 64 0a 09 6f 74 68 65 72 77 69 73 65 20 63 uld..otherwise c
3ac0: 61 75 73 65 20 61 20 72 65 63 75 72 73 69 76 65 ause a recursive
3ad0: 20 73 74 61 63 6b 20 62 6f 6d 62 20 77 68 65 6e stack bomb when
3ae0: 20 69 6d 70 6c 69 63 69 74 20 68 61 6e 64 73 68 implicit handsh
3af0: 61 6b 69 6e 67 0a 09 74 6f 6f 6b 20 65 66 66 65 aking..took effe
3b00: 63 74 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c ct....* tests/tl
3b10: 73 49 4f 2e 74 65 73 74 3a 20 72 65 6d 6f 76 65 sIO.test: remove
3b20: 64 20 63 68 61 6e 67 65 73 20 6d 61 64 65 20 74 d changes made t
3b30: 6f 20 74 65 73 74 20 73 75 69 74 65 20 28 61 6c o test suite (al
3b40: 6c 20 74 65 73 74 73 0a 09 74 68 61 74 20 72 61 l tests..that ra
3b50: 6e 20 62 65 66 6f 72 65 20 6e 6f 77 20 70 61 73 n before now pas
3b60: 73 20 63 6f 72 72 65 63 74 6c 79 29 2c 20 61 6e s correctly), an
3b70: 64 20 63 68 61 6e 67 65 64 20 73 6f 6d 65 20 61 d changed some a
3b80: 63 63 65 70 74 20 70 72 6f 63 0a 09 61 72 67 73 ccept proc..args
3b90: 20 74 6f 20 72 65 66 6c 65 63 74 20 74 68 61 74 to reflect that
3ba0: 20 61 20 73 6f 63 6b 20 69 73 20 61 6e 20 61 72 a sock is an ar
3bb0: 67 2c 20 6e 6f 74 20 61 20 66 69 6c 65 2e 0a 0a g, not a file...
3bc0: 32 30 30 30 2d 30 37 2d 31 30 20 20 4a 65 66 66 2000-07-10 Jeff
3bd0: 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 Hobbs <hobbs@s
3be0: 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 criptics.com>...
3bf0: 2a 20 74 6c 73 42 49 4f 2e 63 20 28 42 69 6f 57 * tlsBIO.c (BioW
3c00: 72 69 74 65 2c 20 42 69 6f 52 65 61 64 29 3a 20 rite, BioRead):
3c10: 63 68 61 6e 67 65 64 20 54 63 6c 5f 52 65 61 64 changed Tcl_Read
3c20: 2f 57 72 69 74 65 20 74 6f 0a 09 54 63 6c 5f 52 /Write to..Tcl_R
3c30: 65 61 64 52 61 77 2f 54 63 6c 57 72 69 74 65 52 eadRaw/TclWriteR
3c40: 61 77 2e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 aw....* tls.c: a
3c50: 64 64 65 64 20 75 73 65 20 6f 66 20 54 63 6c 5f dded use of Tcl_
3c60: 47 65 74 54 6f 70 43 68 61 6e 6e 65 6c 20 61 66 GetTopChannel af
3c70: 74 65 72 20 54 63 6c 5f 47 65 74 43 68 61 6e 6e ter Tcl_GetChann
3c80: 65 6c 20 61 6e 64 0a 09 67 6f 74 20 72 65 74 75 el and..got retu
3c90: 72 6e 20 76 61 6c 75 65 20 66 72 6f 6d 20 54 63 rn value from Tc
3ca0: 6c 5f 53 74 61 63 6b 43 68 61 6e 6e 65 6c 2e 0a l_StackChannel..
3cb0: 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e ..* tests/tlsIO.
3cc0: 74 65 73 74 3a 20 61 64 64 65 64 20 73 6f 6d 65 test: added some
3cd0: 20 68 61 6e 64 73 68 61 6b 69 6e 67 20 74 68 61 handshaking tha
3ce0: 74 20 73 68 6f 75 6c 64 6e 27 74 20 62 65 0a 09 t shouldn't be..
3cf0: 6e 65 63 65 73 73 61 72 79 2c 20 62 75 74 20 77 necessary, but w
3d00: 65 20 63 72 61 73 68 20 6f 74 68 65 72 77 69 73 e crash otherwis
3d10: 65 20 28 6e 65 65 64 73 20 6d 6f 72 65 20 74 65 e (needs more te
3d20: 73 74 69 6e 67 29 2e 0a 0a 09 2a 20 74 6c 73 49 sting)....* tlsI
3d30: 4f 2e 63 3a 20 61 64 64 65 64 20 73 75 70 70 6f O.c: added suppo
3d40: 72 74 20 66 6f 72 20 22 63 6f 72 72 65 63 74 65 rt for "correcte
3d50: 64 22 20 73 74 61 63 6b 65 64 20 63 68 61 6e 6e d" stacked chann
3d60: 65 6c 73 2e 20 20 41 6c 6c 0a 09 74 68 65 20 61 els. All..the a
3d70: 62 6f 76 65 20 63 68 61 6e 6e 65 6c 73 20 61 72 bove channels ar
3d80: 65 20 69 6e 20 54 43 4c 5f 43 48 41 4e 4e 45 4c e in TCL_CHANNEL
3d90: 5f 56 45 52 53 49 4f 4e 5f 32 20 23 69 66 64 65 _VERSION_2 #ifde
3da0: 66 73 2e 0a 0a 32 30 30 30 2d 30 36 2d 30 35 20 fs...2000-06-05
3db0: 20 53 63 6f 74 74 20 53 74 61 6e 74 6f 6e 20 20 Scott Stanton
3dc0: 3c 73 74 61 6e 74 6f 6e 40 61 6a 75 62 61 73 6f <stanton@ajubaso
3dd0: 6c 75 74 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a lutions.com>...*
3de0: 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 46 69 Makefile.in: Fi
3df0: 78 65 64 20 62 72 6f 6b 65 6e 20 74 65 73 74 20 xed broken test
3e00: 74 61 72 67 65 74 2e 0a 0a 09 2a 20 74 6c 73 49 target....* tlsI
3e10: 6e 74 2e 68 3a 20 0a 09 2a 20 74 6c 73 2e 63 3a nt.h: ..* tls.c:
3e20: 20 43 6c 65 61 6e 65 64 20 75 70 20 64 65 63 6c Cleaned up decl
3e30: 61 72 61 74 69 6f 6e 73 20 6f 66 20 54 6c 73 5f arations of Tls_
3e40: 43 6c 65 61 6e 20 74 6f 20 61 76 6f 69 64 20 65 Clean to avoid e
3e50: 72 72 6f 72 73 20 6f 6e 0a 09 57 69 6e 64 6f 77 rrors on..Window
3e60: 73 20 28 6c 69 6e 74 29 2e 0a 0a 32 30 30 30 2d s (lint)...2000-
3e70: 30 36 2d 30 35 20 20 42 72 65 6e 74 20 57 65 6c 06-05 Brent Wel
3e80: 63 68 20 3c 77 65 6c 63 68 40 61 6a 75 62 61 73 ch <welch@ajubas
3e90: 6f 6c 75 74 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 olutions.com>...
3ea0: 2a 20 74 6c 73 2e 63 2c 20 74 6c 73 49 4f 2e 63 * tls.c, tlsIO.c
3eb0: 3a 20 20 53 70 6c 69 74 20 54 6c 73 5f 46 72 65 : Split Tls_Fre
3ec0: 65 20 69 6e 74 6f 20 54 6c 73 5f 43 6c 65 61 6e e into Tls_Clean
3ed0: 2c 20 77 68 69 63 68 20 64 6f 65 73 0a 09 74 68 , which does..th
3ee0: 65 20 53 53 4c 20 63 6c 65 61 6e 75 70 2c 20 61 e SSL cleanup, a
3ef0: 6e 64 20 74 68 65 20 54 63 6c 5f 46 72 65 65 20 nd the Tcl_Free
3f00: 63 61 6c 6c 2e 20 20 49 74 20 69 73 20 69 6d 70 call. It is imp
3f10: 6f 72 74 61 6e 74 20 74 6f 20 73 68 75 74 64 6f ortant to shutdo
3f20: 77 6e 0a 09 74 68 65 20 53 53 4c 20 73 74 61 74 wn..the SSL stat
3f30: 65 20 22 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 e "synchronously
3f40: 22 20 64 75 72 69 6e 67 20 61 20 73 74 61 63 6b " during a stack
3f50: 65 64 20 66 6c 75 73 68 2e 0a 0a 32 30 30 30 2d ed flush...2000-
3f60: 30 36 2d 30 31 20 20 53 63 6f 74 74 20 53 74 61 06-01 Scott Sta
3f70: 6e 74 6f 6e 20 20 3c 73 74 61 6e 74 6f 6e 40 61 nton <stanton@a
3f80: 6a 75 62 61 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f jubasolutions.co
3f90: 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 m>...* tlsIO.c:
3fa0: 52 65 73 74 6f 72 65 64 20 63 61 6c 6c 20 74 6f Restored call to
3fb0: 20 54 63 6c 5f 4e 6f 74 69 66 79 43 68 61 6e 6e Tcl_NotifyChann
3fc0: 65 6c 20 66 72 6f 6d 20 43 68 61 6e 6e 65 6c 48 el from ChannelH
3fd0: 61 6e 64 6c 65 72 0a 09 74 6f 20 65 6e 73 75 72 andler..to ensur
3fe0: 65 20 74 68 61 74 20 65 76 65 6e 74 73 20 70 72 e that events pr
3ff0: 6f 70 61 67 61 74 65 20 66 72 6f 6d 20 74 68 65 opagate from the
4000: 20 6c 6f 77 65 72 20 64 72 69 76 65 72 2e 20 20 lower driver.
4010: 54 68 69 73 20 6d 61 79 0a 09 72 65 73 75 6c 74 This may..result
4020: 20 69 6e 20 61 6e 20 69 6e 66 69 6e 69 74 65 20 in an infinite
4030: 6c 6f 6f 70 20 69 6e 20 73 6f 6d 65 20 63 61 73 loop in some cas
4040: 65 73 2c 20 73 6f 20 74 68 69 73 20 69 73 20 6e es, so this is n
4050: 6f 74 20 61 20 74 6f 74 61 6c 0a 09 66 69 78 2e ot a total..fix.
4060: 20 20 54 68 69 73 20 6d 61 79 20 62 65 20 73 75 This may be su
4070: 66 66 69 63 69 65 6e 74 20 66 6f 72 20 6e 6f 77 fficient for now
4080: 2c 20 68 6f 77 65 76 65 72 2e 20 5b 42 75 67 3a , however. [Bug:
4090: 20 35 36 32 33 5d 0a 0a 32 30 30 30 2d 30 36 2d 5623]..2000-06-
40a0: 30 31 20 20 53 63 6f 74 74 20 53 74 61 6e 74 6f 01 Scott Stanto
40b0: 6e 20 20 3c 73 74 61 6e 74 6f 6e 40 73 63 72 69 n <stanton@scri
40c0: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 ptics.com>...* t
40d0: 6c 73 49 4f 2e 63 3a 20 52 65 73 74 6f 72 65 20 lsIO.c: Restore
40e0: 74 68 65 20 70 72 65 76 69 6f 75 73 20 76 65 72 the previous ver
40f0: 73 69 6f 6e 2e 20 20 46 69 78 65 64 20 74 68 65 sion. Fixed the
4100: 20 43 6c 6f 73 65 50 72 6f 63 20 73 6f 0a 09 69 CloseProc so..i
4110: 74 20 75 6e 72 65 67 69 73 74 65 72 73 20 74 68 t unregisters th
4120: 65 20 63 68 61 6e 6e 65 6c 20 68 61 6e 64 6c 65 e channel handle
4130: 72 20 6f 6e 20 74 68 65 20 73 75 70 65 72 63 65 r on the superce
4140: 64 65 64 20 63 68 61 6e 6e 65 6c 0a 09 69 6e 73 ded channel..ins
4150: 74 65 61 64 20 6f 66 20 74 68 65 20 75 70 70 65 tead of the uppe
4160: 72 20 63 68 61 6e 6e 65 6c 2e 20 41 6c 73 6f 20 r channel. Also
4170: 72 65 6d 6f 76 65 64 20 74 68 65 20 63 61 6c 6c removed the call
4180: 20 74 6f 0a 09 54 63 6c 5f 4e 6f 74 69 66 79 43 to..Tcl_NotifyC
4190: 68 61 6e 6e 65 6c 20 69 6e 20 74 68 65 20 43 68 hannel in the Ch
41a0: 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 20 62 65 63 annelHandler bec
41b0: 61 75 73 65 20 74 68 69 73 20 77 69 6c 6c 20 72 ause this will r
41c0: 65 73 75 6c 74 0a 09 69 6e 20 61 6e 20 69 6e 66 esult..in an inf
41d0: 69 6e 69 74 65 20 6c 6f 6f 70 20 69 66 20 64 61 inite loop if da
41e0: 74 61 20 69 73 20 65 76 65 72 20 62 75 66 66 65 ta is ever buffe
41f0: 72 65 64 20 69 6e 20 74 68 65 20 42 49 4f 0a 09 red in the BIO..
4200: 73 74 72 75 63 74 75 72 65 2e 20 5b 42 75 67 3a structure. [Bug:
4210: 20 35 36 32 33 5d 0a 0a 32 30 30 30 2d 30 35 2d 5623]..2000-05-
4220: 33 31 20 20 42 72 65 6e 74 20 57 65 6c 63 68 20 31 Brent Welch
4230: 3c 77 65 6c 63 68 40 73 63 72 69 70 74 69 63 73 <welch@scriptics
4240: 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a .com>...* tls.c:
4250: 20 43 68 61 6e 67 65 20 74 68 65 20 43 68 61 6e Change the Chan
4260: 6e 65 6c 48 61 6e 64 6c 65 72 20 74 6f 20 62 65 nelHandler to be
4270: 20 72 65 67 69 73 74 65 72 65 64 20 6f 6e 20 74 registered on t
4280: 68 65 20 6d 61 69 6e 0a 09 63 68 61 6e 6e 65 6c he main..channel
4290: 20 61 73 20 6f 70 70 73 65 64 20 74 6f 20 74 68 as oppsed to th
42a0: 65 20 22 70 61 72 65 6e 74 22 2c 20 6f 72 20 73 e "parent", or s
42b0: 75 70 65 72 63 65 65 64 65 64 2c 20 63 68 61 6e uperceeded, chan
42c0: 6e 65 6c 2e 20 20 54 68 69 73 0a 09 69 73 20 62 nel. This..is b
42d0: 65 63 61 75 73 65 20 74 68 65 20 73 6f 63 6b 65 ecause the socke
42e0: 74 20 64 72 69 76 65 72 20 6e 6f 74 69 66 69 65 t driver notifie
42f0: 73 20 74 68 65 20 6d 61 69 6e 20 63 68 61 6e 6e s the main chann
4300: 65 6c 2c 20 61 6e 64 20 74 68 65 72 65 0a 09 61 el, and there..a
4310: 72 65 20 74 69 6d 65 73 20 77 69 74 68 20 74 68 re times with th
4320: 65 20 6d 61 69 6e 20 63 68 61 6e 6e 65 6c 20 67 e main channel g
4330: 65 74 73 20 63 6c 6f 73 65 64 2c 20 62 75 74 20 ets closed, but
4340: 74 68 65 20 73 75 70 65 72 63 65 64 65 64 0a 09 the superceded..
4350: 6f 6e 65 20 69 73 20 6e 6f 74 20 79 65 74 20 63 one is not yet c
4360: 6c 6f 73 65 64 2e 20 20 49 66 20 74 68 65 20 63 losed. If the c
4370: 68 61 6e 6e 65 6c 20 68 61 6e 64 6c 65 72 20 67 hannel handler g
4380: 65 74 73 20 74 72 69 67 67 65 72 65 64 20 69 6e ets triggered in
4390: 0a 09 74 68 69 73 20 68 61 6c 66 2d 6f 70 65 6e ..this half-open
43a0: 20 73 74 61 74 65 20 69 74 20 69 73 20 61 73 73 state it is ass
43b0: 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65 ociated with the
43c0: 20 73 75 70 65 72 63 65 65 64 65 64 0a 09 63 68 superceeded..ch
43d0: 61 6e 6e 65 64 6c 2c 20 62 75 74 20 75 73 65 73 annedl, but uses
43e0: 20 69 74 73 20 70 72 69 76 61 74 65 20 70 6f 69 its private poi
43f0: 6e 74 65 72 20 74 6f 20 74 68 65 20 6d 61 69 6e nter to the main
4400: 20 63 68 61 6e 6e 65 6c 2c 20 77 68 69 63 68 0a channel, which.
4410: 09 69 73 20 6d 6f 73 74 6c 79 20 64 65 73 74 72 .is mostly destr
4420: 6f 79 65 64 2e 20 20 45 6c 69 6d 69 6e 61 74 65 oyed. Eliminate
4430: 64 20 74 68 65 20 72 65 64 75 6e 64 61 6e 74 20 d the redundant
4440: 63 61 6c 6c 20 74 6f 0a 09 54 63 6c 5f 4e 6f 74 call to..Tcl_Not
4450: 69 66 79 43 68 61 6e 6e 65 6c 20 66 72 6f 6d 20 ifyChannel from
4460: 54 6c 73 57 61 74 63 68 50 72 6f 63 2e 20 5b 42 TlsWatchProc. [B
4470: 75 67 3a 20 35 36 32 33 5d 0a ug: 5623].