Artifact
c3d82e94676ee7f232a85a35bc78dedd80b97bda:
0000: 32 30 30 35 2d 30 32 2d 30 38 20 20 4a 65 66 66 2005-02-08 Jeff
0010: 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 Hobbs <jeffh@A
0020: 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a ctiveState.com>.
0030: 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 2c ..* Makefile.in,
0040: 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d tclconfig/tcl.m
0050: 34 3a 20 75 70 64 61 74 65 20 74 6f 20 54 45 41 4: update to TEA
0060: 20 33 2e 32 0a 09 2a 20 63 6f 6e 66 69 67 75 72 3.2..* configur
0070: 65 2c 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a e, configure.in:
0080: 20 20 20 20 20 20 20 75 73 69 6e 67 20 61 75 74 using aut
0090: 6f 63 6f 6e 66 2d 32 2e 35 39 0a 0a 32 30 30 34 oconf-2.59..2004
00a0: 2d 31 32 2d 32 33 20 20 50 61 74 20 54 68 6f 79 -12-23 Pat Thoy
00b0: 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 ts <patthoyts@u
00c0: 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 sers.sourceforge
00d0: 2e 6e 65 74 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 .net>...* Makefi
00e0: 6c 65 2e 69 6e 3a 20 20 20 20 20 20 52 65 6d 6f le.in: Remo
00f0: 76 65 64 20 73 70 75 72 69 6f 75 73 20 63 6f 70 ved spurious cop
0100: 79 69 6e 67 20 6f 66 20 74 6c 73 2e 74 63 6c 20 ying of tls.tcl
0110: 69 6e 74 6f 20 74 68 65 0a 09 20 20 20 20 20 20 into the..
0120: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 bu
0130: 69 6c 64 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a ild directory...
0140: 32 30 30 34 2d 31 32 2d 32 32 20 20 50 61 74 20 2004-12-22 Pat
0150: 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 Thoyts <patthoy
0160: 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 ts@users.sourcef
0170: 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 63 6f orge.net>...* co
0180: 6e 66 69 67 75 72 65 2e 69 6e 3a 20 20 20 20 20 nfigure.in:
0190: 49 6e 63 72 65 6d 65 6e 74 65 64 20 6d 69 6e 6f Incremented mino
01a0: 72 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e 35 r version to 1.5
01b0: 2e 31 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a .1..* configure:
01c0: 20 20 20 20 20 20 20 20 0a 0a 32 30 30 34 2d 31 ..2004-1
01d0: 32 2d 31 37 20 20 50 61 74 20 54 68 6f 79 74 73 2-17 Pat Thoyts
01e0: 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 <patthoyts@use
01f0: 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e rs.sourceforge.n
0200: 65 74 3e 0a 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 et>...* win/make
0210: 66 69 6c 65 2e 76 63 3a 20 20 41 64 64 65 64 20 file.vc: Added
0220: 74 68 65 20 4d 53 56 43 20 62 75 69 6c 64 20 73 the MSVC build s
0230: 79 73 74 65 6d 20 28 66 72 6f 6d 20 74 68 65 20 ystem (from the
0240: 54 63 6c 0a 09 2a 20 77 69 6e 2f 72 75 6c 65 73 Tcl..* win/rules
0250: 2e 76 63 3a 20 20 20 20 20 73 61 6d 70 6c 65 65 .vc: samplee
0260: 78 74 65 6e 73 69 6f 6e 29 2e 0a 09 2a 20 77 69 xtension)...* wi
0270: 6e 2f 6e 6d 61 6b 65 68 6c 70 2e 63 3a 0a 09 2a n/nmakehlp.c:..*
0280: 20 77 69 6e 2f 74 6c 73 2e 72 63 20 20 20 20 20 win/tls.rc
0290: 20 20 20 41 64 64 65 64 20 57 69 6e 64 6f 77 73 Added Windows
02a0: 20 72 65 73 6f 75 72 63 65 20 66 69 6c 65 2e 0a resource file..
02b0: 09 0a 09 2a 20 74 6c 73 2e 74 63 6c 3a 20 20 20 ...* tls.tcl:
02c0: 20 20 20 20 20 20 20 46 72 6f 6d 20 70 61 74 63 From patc
02d0: 68 20 23 39 34 38 31 35 35 2c 20 61 64 64 65 64 h #948155, added
02e0: 20 73 75 70 70 6f 72 74 20 66 6f 72 0a 09 20 20 support for..
02f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0300: 20 20 61 6c 74 65 72 6e 61 74 65 20 73 6f 63 6b alternate sock
0310: 65 74 20 63 6f 6d 6d 61 6e 64 73 2e 0a 09 2a 20 et commands...*
0320: 74 6c 73 2e 63 3a 20 20 20 20 20 20 20 20 20 20 tls.c:
0330: 20 20 51 75 69 65 74 65 6e 20 73 6f 6d 65 20 4d Quieten some M
0340: 53 56 43 20 77 61 72 6e 69 6e 67 73 2e 20 50 72 SVC warnings. Pr
0350: 65 66 65 72 20 63 6b 61 6c 6c 6f 63 0a 09 20 20 efer ckalloc..
0360: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0370: 20 20 6f 76 65 72 20 54 63 6c 5f 41 6c 6c 6f 63 over Tcl_Alloc
0380: 2e 20 28 44 61 76 69 64 20 47 72 61 76 65 72 61 . (David Gravera
0390: 75 78 29 2e 0a 0a 32 30 30 34 2d 30 36 2d 32 39 ux)...2004-06-29
03a0: 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 Pat Thoyts <p
03b0: 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 atthoyts@users.s
03c0: 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a ourceforge.net>.
03d0: 0a 09 2a 20 74 6c 73 2e 63 3a 20 20 20 20 20 20 ..* tls.c:
03e0: 20 20 20 20 20 20 46 69 78 75 70 20 74 6f 20 62 Fixup to b
03f0: 75 69 6c 64 20 61 67 61 69 6e 73 74 20 74 63 6c uild against tcl
0400: 20 38 2e 33 2e 33 2e 20 48 61 6e 64 6c 65 0a 09 8.3.3. Handle..
0410: 2a 20 74 6c 73 49 4f 2e 63 3a 20 20 20 20 20 20 * tlsIO.c:
0420: 20 20 20 20 38 2e 34 20 63 6f 6e 73 74 69 66 69 8.4 constifi
0430: 63 61 74 69 6f 6e 2e 0a 0a 09 2a 20 74 6c 73 49 cation....* tlsI
0440: 6e 74 2e 68 3a 20 20 20 20 20 20 20 20 20 41 64 nt.h: Ad
0450: 64 65 64 20 68 65 61 64 65 72 73 20 72 65 71 75 ded headers requ
0460: 69 72 65 64 20 77 69 74 68 20 4d 53 56 43 20 6f ired with MSVC o
0470: 6e 20 57 69 6e 33 32 2e 0a 09 2a 20 74 6c 73 58 n Win32...* tlsX
0480: 35 30 39 2e 63 3a 20 20 20 20 20 20 20 20 75 6e 509.c: un
0490: 64 65 66 20 6d 69 6e 20 61 6e 64 20 6d 61 78 20 def min and max
04a0: 69 66 20 64 65 66 69 6e 65 64 20 28 77 69 6e 33 if defined (win3
04b0: 32 29 2e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2)....* Makefile
04c0: 2e 69 6e 3a 20 20 20 20 20 20 46 69 78 65 64 20 .in: Fixed
04d0: 74 6f 20 62 75 69 6c 64 20 6f 6e 20 77 69 6e 33 to build on win3
04e0: 32 20 75 73 69 6e 67 20 6d 73 79 73 20 77 69 74 2 using msys wit
04f0: 68 0a 09 2a 20 61 63 6c 6f 63 61 6c 2e 6d 34 3a h..* aclocal.m4:
0500: 20 20 20 20 20 20 20 4d 53 56 43 2e 20 41 6c 73 MSVC. Als
0510: 6f 20 66 69 78 65 64 20 74 68 65 20 74 65 73 74 o fixed the test
0520: 20 74 61 72 67 65 74 2e 0a 09 2a 20 63 6f 6e 66 target...* conf
0530: 69 67 75 72 65 2e 69 6e 3a 0a 09 2a 20 63 6f 6e igure.in:..* con
0540: 66 69 67 75 72 65 3a 20 20 20 20 20 20 20 20 52 figure: R
0550: 65 67 65 6e 65 72 61 74 65 64 2e 0a 09 2a 20 74 egenerated...* t
0560: 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a clconfig/tcl.m4:
0570: 20 55 70 64 61 74 65 64 20 74 6f 20 6d 6f 73 74 Updated to most
0580: 20 72 65 63 65 6e 74 20 76 65 72 73 69 6f 6e 2e recent version.
0590: 0a 0a 32 30 30 34 2d 30 33 2d 32 33 20 20 44 61 ..2004-03-23 Da
05a0: 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 n Razzell <resea
05b0: 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74 rch@starfishsyst
05c0: 65 6d 73 2e 63 61 3e 0a 09 2a 20 74 6c 73 2e 63 ems.ca>..* tls.c
05d0: 3a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a 09 :..* tlsBIO.c:..
05e0: 2a 20 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74 6c * tlsIO.c:..* tl
05f0: 73 49 6e 74 2e 68 3a 09 46 69 78 65 64 20 74 79 sInt.h:.Fixed ty
0600: 70 65 20 6d 61 74 63 68 20 77 61 72 6e 69 6e 67 pe match warning
0610: 73 2e 0a 0a 32 30 30 34 2d 30 33 2d 31 39 20 20 s...2004-03-19
0620: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 Jeff Hobbs <jef
0630: 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 fh@ActiveState.c
0640: 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 om>...* tls.c (T
0650: 6c 73 5f 49 6e 69 74 29 3a 20 20 20 72 65 70 6c ls_Init): repl
0660: 61 63 65 64 20 6f 6c 64 65 72 20 54 45 41 20 63 aced older TEA c
0670: 6f 6e 66 69 67 20 77 69 74 68 20 6e 65 77 65 72 onfig with newer
0680: 0a 09 2a 20 63 6f 6e 66 69 67 2f 2a 20 28 72 65 ..* config/* (re
0690: 6d 6f 76 65 64 29 3a 0a 09 2a 20 70 6b 67 49 6e moved):..* pkgIn
06a0: 64 65 78 2e 74 63 6c 2e 69 6e 2c 20 73 74 72 6e dex.tcl.in, strn
06b0: 63 61 73 65 63 6d 70 2e 63 20 28 72 65 6d 6f 76 casecmp.c (remov
06c0: 65 64 29 3a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 ed):..* Makefile
06d0: 2e 69 6e 2c 20 61 63 6c 6f 63 61 6c 2e 6d 34 2c .in, aclocal.m4,
06e0: 20 63 6f 6e 66 69 67 75 72 65 2c 20 63 6f 6e 66 configure, conf
06f0: 69 67 75 72 65 2e 69 6e 3a 0a 09 2a 20 74 63 6c igure.in:..* tcl
0700: 63 6f 6e 66 69 67 2f 52 45 41 44 4d 45 2e 74 78 config/README.tx
0710: 74 2c 20 74 63 6c 63 6f 6e 66 69 67 2f 69 6e 73 t, tclconfig/ins
0720: 74 61 6c 6c 2d 73 68 2c 20 74 63 6c 63 6f 6e 66 tall-sh, tclconf
0730: 69 67 2f 74 63 6c 2e 6d 34 3a 0a 0a 32 30 30 34 ig/tcl.m4:..2004
0740: 2d 30 33 2d 31 37 20 20 44 61 6e 20 52 61 7a 7a -03-17 Dan Razz
0750: 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 74 ell <research@st
0760: 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 arfishsystems.ca
0770: 3e 0a 0a 09 2a 20 74 6c 73 58 35 30 39 2e 63 3a >...* tlsX509.c:
0780: 09 41 64 64 20 73 75 70 70 6f 72 74 20 66 6f 72 .Add support for
0790: 20 6c 6f 6e 67 20 73 65 72 69 61 6c 20 6e 75 6d long serial num
07a0: 62 65 72 73 20 70 65 72 20 52 46 43 20 33 32 38 bers per RFC 328
07b0: 30 2e 0a 09 09 09 46 6f 72 6d 61 74 20 69 73 20 0.....Format is
07c0: 6e 6f 77 20 68 65 78 61 64 65 63 69 6d 61 6c 2e now hexadecimal.
07d0: 20 0a 09 09 09 5b 52 65 71 75 65 73 74 20 23 39 ....[Request #9
07e0: 31 35 33 31 33 5d 0a 09 09 09 43 6f 72 72 65 63 15313]....Correc
07f0: 74 6c 79 20 63 6f 6e 76 65 72 74 20 63 65 72 74 tly convert cert
0800: 69 66 69 63 61 74 65 20 44 69 73 74 69 6e 67 75 ificate Distingu
0810: 69 73 68 65 64 20 4e 61 6d 65 73 0a 09 09 09 74 ished Names....t
0820: 6f 20 54 63 6c 20 73 74 72 69 6e 67 20 72 65 70 o Tcl string rep
0830: 72 65 73 65 6e 74 61 74 69 6f 6e 2e 20 20 45 6c resentation. El
0840: 69 6d 69 6e 61 74 65 73 20 75 73 65 20 6f 66 0a iminates use of.
0850: 09 09 09 64 65 70 72 65 63 61 74 65 64 20 4f 70 ...deprecated Op
0860: 65 6e 53 53 4c 20 66 75 6e 63 74 69 6f 6e 2e 20 enSSL function.
0870: 20 46 6f 72 6d 61 74 20 69 73 20 6e 6f 77 20 63 Format is now c
0880: 6f 6d 70 6c 69 61 6e 74 0a 09 09 09 77 69 74 68 ompliant....with
0890: 20 52 46 43 20 32 32 35 33 2e 20 20 5b 52 65 71 RFC 2253. [Req
08a0: 75 65 73 74 20 23 39 31 35 33 31 35 5d 0a 0a 32 uest #915315]..2
08b0: 30 30 34 2d 30 32 2d 31 37 20 20 44 61 6e 20 52 004-02-17 Dan R
08c0: 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 azzell <research
08d0: 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 @starfishsystems
08e0: 2e 63 61 3e 0a 0a 09 54 4c 53 20 31 2e 35 2e 30 .ca>...TLS 1.5.0
08f0: 20 52 45 4c 45 41 53 45 0a 0a 32 30 30 34 2d 30 RELEASE..2004-0
0900: 32 2d 31 32 20 20 44 61 6e 20 52 61 7a 7a 65 6c 2-12 Dan Razzel
0910: 6c 09 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 l.<research@star
0920: 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a fishsystems.ca>.
0930: 0a 09 2a 20 74 6c 73 2e 63 3a 09 41 6c 6c 6f 77 ..* tls.c:.Allow
0940: 20 76 65 72 69 66 79 20 63 61 6c 6c 62 61 63 6b verify callback
0950: 20 74 6f 20 72 65 74 75 72 6e 20 65 6d 70 74 79 to return empty
0960: 20 72 65 73 75 6c 74 2e 0a 09 2a 20 74 6c 73 2e result...* tls.
0970: 68 74 6d 3a 09 44 6f 63 75 6d 65 6e 74 20 63 61 htm:.Document ca
0980: 6c 6c 62 61 63 6b 20 62 65 68 61 76 69 6f 72 73 llback behaviors
0990: 2e 0a 0a 32 30 30 34 2d 30 32 2d 31 31 20 20 44 ...2004-02-11 D
09a0: 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 an Razzell.<rese
09b0: 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 arch@starfishsys
09c0: 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 65 73 tems.ca>...* tes
09d0: 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 0a 09 ts/tlsIO.test:..
09e0: 2a 20 72 65 6d 6f 74 65 2e 74 63 6c 3a 09 43 6f * remote.tcl:.Co
09f0: 6d 70 6c 65 74 65 20 70 72 69 76 61 74 65 20 6b mplete private k
0a00: 65 79 20 6e 61 6d 65 20 63 68 61 6e 67 65 73 20 ey name changes
0a10: 66 72 6f 6d 20 32 30 30 31 2d 30 36 2d 32 31 2e from 2001-06-21.
0a20: 0a 0a 32 30 30 34 2d 30 32 2d 30 33 20 20 44 61 ..2004-02-03 Da
0a30: 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 n Razzell <resea
0a40: 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74 rch@starfishsyst
0a50: 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 4d 61 6b 65 ems.ca>...* Make
0a60: 66 69 6c 65 2e 69 6e 3a 09 52 65 6d 6f 76 65 64 file.in:.Removed
0a70: 20 63 69 72 63 75 6c 61 72 20 64 65 70 65 6e 64 circular depend
0a80: 65 6e 63 79 2e 0a 09 2a 20 74 6c 73 49 6e 74 2e ency...* tlsInt.
0a90: 68 3a 09 4d 61 6b 65 20 66 75 6e 63 74 69 6f 6e h:.Make function
0aa0: 20 64 65 63 6c 61 72 61 74 69 6f 6e 73 20 65 78 declarations ex
0ab0: 70 6c 69 63 69 74 2e 0a 09 2a 20 74 6c 73 2e 63 plicit...* tls.c
0ac0: 3a 09 46 69 78 20 74 79 70 65 20 6d 61 74 63 68 :.Fix type match
0ad0: 20 61 6e 64 20 75 6e 75 73 65 64 20 76 61 72 69 and unused vari
0ae0: 61 62 6c 65 20 77 61 72 6e 69 6e 67 73 2e 0a 09 able warnings...
0af0: 2a 20 74 6c 73 42 49 4f 2e 63 3a 09 46 69 78 20 * tlsBIO.c:.Fix
0b00: 74 79 70 65 20 6d 61 74 63 68 20 77 61 72 6e 69 type match warni
0b10: 6e 67 2e 0a 0a 32 30 30 33 2d 31 32 2d 31 35 20 ng...2003-12-15
0b20: 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 Dan Razzell.<re
0b30: 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 search@starfishs
0b40: 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 70 ystems.ca>...* p
0b50: 6b 67 49 6e 64 65 78 2e 74 63 6c 2e 69 6e 3a 0a kgIndex.tcl.in:.
0b60: 09 2a 20 74 6c 73 2e 68 74 6d 3a 0a 09 2a 20 74 .* tls.htm:..* t
0b70: 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a ests/tlsIO.test:
0b80: 20 75 70 64 61 74 65 64 20 76 65 72 73 69 6f 6e updated version
0b90: 20 74 6f 20 31 2e 35 2e 0a 0a 32 30 30 33 2d 31 to 1.5...2003-1
0ba0: 30 2d 30 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 0-07 Dan Razzel
0bb0: 6c 09 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 l.<research@star
0bc0: 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a fishsystems.ca>.
0bd0: 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72 ..* tests/cipher
0be0: 73 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 20 s.test: updated
0bf0: 6c 69 73 74 20 6f 66 20 74 65 73 74 65 64 20 63 list of tested c
0c00: 69 70 68 65 72 73 20 74 6f 20 63 6f 72 72 65 73 iphers to corres
0c10: 70 6f 6e 64 0a 09 2a 20 77 69 74 68 20 74 68 6f pond..* with tho
0c20: 73 65 20 61 76 61 69 6c 61 62 6c 65 20 66 72 6f se available fro
0c30: 6d 20 4f 70 65 6e 53 53 4c 2e 20 5b 52 65 71 75 m OpenSSL. [Requ
0c40: 65 73 74 20 23 38 31 31 39 38 31 5d 0a 0a 32 30 est #811981]..20
0c50: 30 33 2d 31 30 2d 30 37 20 20 44 61 6e 20 52 61 03-10-07 Dan Ra
0c60: 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 zzell <research@
0c70: 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e starfishsystems.
0c80: 63 61 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 ca>...* tls.c: a
0c90: 64 64 65 64 20 43 4f 4e 53 54 20 77 69 74 68 20 dded CONST with
0ca0: 69 6e 74 65 6e 74 20 73 69 6d 69 6c 61 72 20 74 intent similar t
0cb0: 6f 20 74 68 6f 73 65 20 66 72 6f 6d 20 32 30 30 o those from 200
0cc0: 32 2d 30 32 2d 30 34 2e 0a 09 5b 52 65 71 75 65 2-02-04...[Reque
0cd0: 73 74 20 23 38 31 31 39 31 31 5d 0a 0a 32 30 30 st #811911]..200
0ce0: 33 2d 30 37 2d 30 37 20 20 4a 65 66 66 20 48 6f 3-07-07 Jeff Ho
0cf0: 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 bbs <jeffh@Acti
0d00: 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a veState.com>...*
0d10: 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 tls.c (Tls_Init
0d20: 29 3a 20 20 20 61 64 64 65 64 20 74 6c 73 3a 3a ): added tls::
0d30: 6d 69 73 63 20 63 6f 6d 6d 61 6e 64 20 70 72 6f misc command pro
0d40: 76 69 64 65 64 20 62 79 0a 09 2a 20 74 6c 73 58 vided by..* tlsX
0d50: 35 30 39 2e 63 3a 20 20 20 20 20 20 20 20 20 20 509.c:
0d60: 57 6f 6a 63 69 65 63 68 20 4b 6f 63 6a 61 6e 20 Wojciech Kocjan
0d70: 28 77 6f 6a 63 69 65 63 68 20 6b 6f 63 6a 61 6e (wojciech kocjan
0d80: 2e 6f 72 67 29 0a 09 2a 20 74 65 73 74 73 2f 6b .org)..* tests/k
0d90: 65 79 74 65 73 74 31 2e 74 63 6c 3a 20 74 6f 20 eytest1.tcl: to
0da0: 65 78 70 6f 73 65 20 6d 6f 72 65 20 6c 6f 77 2d expose more low-
0db0: 6c 65 76 65 6c 20 53 53 4c 20 63 6f 6d 6d 61 6e level SSL comman
0dc0: 64 73 0a 09 2a 20 74 65 73 74 73 2f 6b 65 79 74 ds..* tests/keyt
0dd0: 65 73 74 32 2e 74 63 6c 3a 0a 0a 32 30 30 33 2d est2.tcl:..2003-
0de0: 30 35 2d 31 35 20 20 44 61 6e 20 52 61 7a 7a 65 05-15 Dan Razze
0df0: 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 73 74 61 ll.<research@sta
0e00: 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e rfishsystems.ca>
0e10: 20 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c 3a 0a 09 ...* tls.tcl:..
0e20: 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 74 * tlsInt.h:..* t
0e30: 6c 73 2e 63 3a 20 61 64 64 20 73 75 70 70 6f 72 ls.c: add suppor
0e40: 74 20 66 6f 72 20 62 69 6e 64 69 6e 67 20 61 20 t for binding a
0e50: 70 61 73 73 77 6f 72 64 20 63 61 6c 6c 62 61 63 password callbac
0e60: 6b 20 74 6f 20 74 68 65 20 73 6f 63 6b 65 74 2e k to the socket.
0e70: 0a 09 4e 6f 77 20 65 61 63 68 20 73 6f 63 6b 65 ..Now each socke
0e80: 74 20 63 61 6e 20 68 61 76 65 20 69 74 73 20 6f t can have its o
0e90: 77 6e 20 63 6f 6d 6d 61 6e 64 20 61 6e 64 20 70 wn command and p
0ea0: 61 73 73 77 6f 72 64 20 63 61 6c 6c 62 61 63 6b assword callback
0eb0: 73 20 69 6e 73 74 65 61 64 0a 09 6f 66 20 62 65 s instead..of be
0ec0: 69 6e 67 20 66 6f 72 63 65 64 20 74 6f 20 68 61 ing forced to ha
0ed0: 76 65 20 61 6c 6c 20 70 61 73 73 77 6f 72 64 20 ve all password
0ee0: 6d 61 6e 61 67 65 6d 65 6e 74 20 70 61 73 73 20 management pass
0ef0: 74 68 72 6f 75 67 68 20 61 20 63 6f 6d 6d 6f 6e through a common
0f00: 0a 09 70 72 6f 63 65 64 75 72 65 2e 20 20 54 68 ..procedure. Th
0f10: 65 20 63 6f 6d 6d 6f 6e 20 70 61 73 73 77 6f 72 e common passwor
0f20: 64 20 70 72 6f 63 65 64 75 72 65 20 69 73 20 72 d procedure is r
0f30: 65 74 61 69 6e 65 64 20 66 6f 72 20 63 6f 6d 70 etained for comp
0f40: 61 74 69 62 69 6c 69 74 79 0a 09 62 75 74 20 69 atibility..but i
0f50: 74 73 20 75 73 65 20 73 68 6f 75 6c 64 20 62 65 ts use should be
0f60: 20 44 45 50 52 45 43 41 54 45 44 2e 0a 09 41 64 DEPRECATED...Ad
0f70: 64 20 76 65 72 73 69 6f 6e 20 63 6f 6d 6d 61 6e d version comman
0f80: 64 20 74 6f 20 72 65 74 75 72 6e 20 4f 70 65 6e d to return Open
0f90: 53 53 4c 20 76 65 72 73 69 6f 6e 20 73 74 72 69 SSL version stri
0fa0: 6e 67 2e 0a 09 52 65 6d 6f 76 65 20 75 6e 73 74 ng...Remove unst
0fb0: 61 62 6c 65 20 77 6f 72 6b 61 72 6f 75 6e 64 73 able workarounds
0fc0: 20 6e 65 65 64 65 64 20 66 6f 72 20 76 65 72 69 needed for veri
0fd0: 66 79 20 69 6e 20 6f 62 73 6f 6c 65 74 65 20 76 fy in obsolete v
0fe0: 65 72 73 69 6f 6e 73 20 6f 66 0a 09 4f 70 65 6e ersions of..Open
0ff0: 53 53 4c 2e 0a 09 46 69 78 20 6d 65 6d 6f 72 79 SSL...Fix memory
1000: 20 6c 65 61 6b 2e 20 5b 52 65 71 75 65 73 74 20 leak. [Request
1010: 23 36 34 30 36 36 30 5d 0a 09 4d 6f 72 65 20 63 #640660]..More c
1020: 61 73 74 73 20 74 6f 20 65 6c 69 6d 69 6e 61 74 asts to eliminat
1030: 65 20 63 6f 6d 70 69 6c 65 72 20 77 61 72 6e 69 e compiler warni
1040: 6e 67 73 2e 0a 0a 09 2a 20 74 6c 73 2e 68 74 6d ngs....* tls.htm
1050: 3a 20 64 6f 63 75 6d 65 6e 74 20 70 61 73 73 77 : document passw
1060: 6f 72 64 20 63 61 6c 6c 62 61 63 6b 2e 0a 09 43 ord callback...C
1070: 6f 72 72 65 63 74 20 74 65 63 68 6e 69 63 61 6c orrect technical
1080: 20 61 6e 64 20 74 79 70 6f 67 72 61 70 68 69 63 and typographic
1090: 20 65 72 72 6f 72 73 2e 0a 0a 09 2a 20 52 45 41 errors....* REA
10a0: 44 4d 45 2e 74 78 74 3a 20 69 64 65 6e 74 69 66 DME.txt: identif
10b0: 79 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 4f 70 y versions of Op
10c0: 65 6e 53 53 4c 20 77 68 69 63 68 20 66 69 78 20 enSSL which fix
10d0: 6b 6e 6f 77 6e 20 70 72 6f 62 6c 65 6d 73 2e 0a known problems..
10e0: 09 47 65 6e 65 72 61 6c 20 77 61 72 6e 69 6e 67 .General warning
10f0: 20 6f 66 20 73 65 63 75 72 69 74 79 20 70 72 6f of security pro
1100: 62 6c 65 6d 73 20 69 6e 20 6f 6c 64 65 72 20 76 blems in older v
1110: 65 72 73 69 6f 6e 73 20 6f 66 20 4f 70 65 6e 53 ersions of OpenS
1120: 53 4c 2e 0a 0a 32 30 30 32 2d 30 32 2d 30 34 20 SL...2002-02-04
1130: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 Jeff Hobbs <je
1140: 66 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e ffh@ActiveState.
1150: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 68 74 6d com>...* tls.htm
1160: 3a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64 64 65 :..* tls.c: adde
1170: 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 6c 6f d support for lo
1180: 63 61 6c 20 63 65 72 74 69 66 69 63 61 74 65 20 cal certificate
1190: 73 74 61 74 75 73 20 63 68 65 63 6b 2c 20 61 73 status check, as
11a0: 20 77 65 6c 6c 0a 09 61 73 20 72 65 74 75 72 6e well..as return
11b0: 69 6e 67 20 74 68 65 20 23 20 6f 66 20 62 69 74 ing the # of bit
11c0: 73 20 69 6e 20 74 68 65 20 73 65 73 73 69 6f 6e s in the session
11d0: 20 6b 65 79 2e 20 5b 50 61 74 63 68 20 23 35 30 key. [Patch #50
11e0: 35 36 39 38 5d 20 28 72 6f 73 65 29 0a 0a 09 2a 5698] (rose)...*
11f0: 20 74 6c 73 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f tls.c:..* tlsIO
1200: 2e 63 3a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a .c:..* tlsBIO.c:
1210: 20 61 64 64 65 64 20 43 4f 4e 53 54 73 20 74 6f added CONSTs to
1220: 20 73 61 74 69 73 66 79 20 54 63 6c 20 38 2e 34 satisfy Tcl 8.4
1230: 20 73 6f 75 72 63 65 73 2e 20 20 54 68 69 73 20 sources. This
1240: 6d 61 79 0a 09 67 69 76 65 20 77 61 72 6e 69 6e may..give warnin
1250: 67 73 20 77 68 65 6e 20 63 6f 6d 70 69 6c 65 64 gs when compiled
1260: 20 61 67 61 69 6e 73 74 20 38 2e 33 2c 20 62 75 against 8.3, bu
1270: 74 20 74 68 65 79 20 63 61 6e 20 62 65 20 69 67 t they can be ig
1280: 6e 6f 72 65 64 2e 0a 0a 09 2a 20 74 65 73 74 73 nored....* tests
1290: 2f 73 69 6d 70 6c 65 43 6c 69 65 6e 74 2e 74 63 /simpleClient.tc
12a0: 6c 3a 0a 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 l:..* tests/simp
12b0: 6c 65 53 65 72 76 65 72 2e 74 63 6c 3a 20 70 6f leServer.tcl: po
12c0: 69 6e 74 20 74 6f 20 75 70 64 61 74 65 64 20 63 int to updated c
12d0: 6c 69 65 6e 74 2f 73 65 72 76 65 72 20 6b 65 79 lient/server key
12e0: 20 66 69 6c 65 73 2e 0a 0a 09 2a 20 74 65 73 74 files....* test
12f0: 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 0a 09 2a s/tlsIO.test:..*
1300: 20 74 65 73 74 73 2f 63 69 70 68 65 72 73 2e 74 tests/ciphers.t
1310: 65 73 74 3a 20 75 70 64 61 74 65 64 20 74 6f 20 est: updated to
1320: 6c 6f 61 64 20 74 6c 73 20 66 72 6f 6d 20 62 75 load tls from bu
1330: 69 6c 64 20 64 69 72 2e 0a 0a 09 2a 20 4d 61 6b ild dir....* Mak
1340: 65 66 69 6c 65 2e 69 6e 3a 20 72 65 6d 6f 76 65 efile.in: remove
1350: 64 20 73 74 72 6e 63 61 73 65 63 6d 70 20 66 72 d strncasecmp fr
1360: 6f 6d 20 64 65 66 61 75 6c 74 20 6f 62 6a 65 63 om default objec
1370: 74 20 73 65 74 2e 20 20 54 68 69 73 0a 09 69 73 t set. This..is
1380: 20 6f 6e 6c 79 20 6e 65 65 64 65 64 20 6f 6e 20 only needed on
1390: 74 68 65 20 4d 61 63 2c 20 61 6e 64 20 54 63 6c the Mac, and Tcl
13a0: 20 73 74 75 62 73 20 70 72 6f 76 69 64 65 73 20 stubs provides
13b0: 69 74 2e 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 it....* configur
13c0: 65 3a 20 72 65 67 65 6e 27 65 64 2e 0a 09 2a 20 e: regen'ed...*
13d0: 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 75 70 configure.in: up
13e0: 64 61 74 65 64 20 74 6f 20 31 2e 35 2e 30 20 66 dated to 1.5.0 f
13f0: 6f 72 20 6e 65 78 74 20 72 65 6c 65 61 73 65 2e or next release.
1400: 0a 09 43 68 61 6e 67 65 64 20 64 65 66 61 75 6c ..Changed defaul
1410: 74 20 6f 70 65 6e 73 73 6c 20 6c 6f 63 61 74 69 t openssl locati
1420: 6f 6e 20 74 6f 20 2f 75 73 72 2f 6c 6f 63 61 6c on to /usr/local
1430: 2f 73 73 6c 20 28 74 68 69 73 20 69 73 20 77 68 /ssl (this is wh
1440: 65 72 65 0a 09 6f 70 65 6e 73 73 6c 20 30 2e 39 ere..openssl 0.9
1450: 2e 36 63 20 69 6e 73 74 61 6c 6c 73 20 62 79 20 .6c installs by
1460: 64 65 66 61 75 6c 74 29 2e 0a 09 43 68 61 6e 67 default)...Chang
1470: 65 64 20 74 6f 20 75 73 65 20 70 75 62 6c 69 63 ed to use public
1480: 20 54 63 6c 20 68 65 61 64 65 72 73 20 28 70 72 Tcl headers (pr
1490: 69 76 61 74 65 20 6e 6f 74 20 6e 65 65 64 65 64 ivate not needed
14a0: 29 2e 0a 0a 32 30 30 31 2d 30 36 2d 32 31 20 20 )...2001-06-21
14b0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 Jeff Hobbs <jef
14c0: 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 fh@ActiveState.c
14d0: 6f 6d 3e 0a 0a 09 54 4c 53 20 31 2e 34 2e 31 20 om>...TLS 1.4.1
14e0: 52 45 4c 45 41 53 45 0a 0a 09 2a 20 63 6f 6e 66 RELEASE...* conf
14f0: 69 67 75 72 65 3a 20 61 64 64 65 64 20 63 6f 6e igure: added con
1500: 66 69 67 75 72 65 20 74 6f 20 43 56 53 0a 09 2a figure to CVS..*
1510: 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 6d configure.in: m
1520: 6f 76 65 64 20 74 6f 20 70 61 74 63 68 6c 65 76 oved to patchlev
1530: 65 6c 20 31 2e 34 2e 31 0a 0a 09 2a 20 4d 61 6b el 1.4.1...* Mak
1540: 65 66 69 6c 65 2e 69 6e 3a 20 63 6f 72 72 65 63 efile.in: correc
1550: 74 65 64 20 27 64 69 73 74 27 20 74 61 72 67 65 ted 'dist' targe
1560: 74 0a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 t...* tests/cert
1570: 73 2f 66 69 6c 65 2e 73 72 6c 3a 0a 09 2a 20 74 s/file.srl:..* t
1580: 65 73 74 73 2f 63 65 72 74 73 2f 63 61 2e 70 65 ests/certs/ca.pe
1590: 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 m:..* tests/cert
15a0: 73 2f 63 6c 69 65 6e 74 2e 6b 65 79 3a 0a 09 2a s/client.key:..*
15b0: 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63 6c 69 tests/certs/cli
15c0: 65 6e 74 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 74 ent.pem:..* test
15d0: 73 2f 63 65 72 74 73 2f 63 6c 69 65 6e 74 2e 72 s/certs/client.r
15e0: 65 71 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 eq:..* tests/cer
15f0: 74 73 2f 70 72 69 76 6b 65 79 2e 70 65 6d 3a 0a ts/privkey.pem:.
1600: 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 73 .* tests/certs/s
1610: 65 72 76 65 72 2e 6b 65 79 3a 0a 09 2a 20 74 65 erver.key:..* te
1620: 73 74 73 2f 63 65 72 74 73 2f 73 65 72 76 65 72 sts/certs/server
1630: 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 63 .pem:..* tests/c
1640: 65 72 74 73 2f 73 65 72 76 65 72 2e 72 65 71 3a erts/server.req:
1650: 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f ..* tests/certs/
1660: 63 61 63 65 72 74 2e 70 65 6d 3a 20 72 65 70 6c cacert.pem: repl
1670: 61 63 65 64 20 62 79 20 6e 65 77 20 63 61 2e 70 aced by new ca.p
1680: 65 6d 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 em..* tests/cert
1690: 73 2f 73 6b 65 79 2e 70 65 6d 3a 20 72 65 70 6c s/skey.pem: repl
16a0: 61 63 65 64 20 62 79 20 6e 65 77 20 73 65 72 76 aced by new serv
16b0: 65 72 2e 6b 65 79 0a 09 2a 20 74 65 73 74 73 2f er.key..* tests/
16c0: 63 65 72 74 73 2f 63 6b 65 79 2e 70 65 6d 3a 20 certs/ckey.pem:
16d0: 72 65 70 6c 61 63 65 64 20 62 79 20 6e 65 77 20 replaced by new
16e0: 63 6c 69 65 6e 74 2e 6b 65 79 0a 09 2a 20 74 65 client.key..* te
16f0: 73 74 73 2f 63 65 72 74 73 2f 52 45 41 44 4d 45 sts/certs/README
1700: 2e 74 78 74 3a 20 6e 65 77 20 73 65 74 20 6f 66 .txt: new set of
1710: 20 74 65 73 74 20 63 65 72 74 69 66 69 63 61 74 test certificat
1720: 65 73 20 77 69 74 68 20 73 6f 6d 65 0a 09 52 45 es with some..RE
1730: 41 44 4d 45 20 69 6e 66 6f 20 6f 6e 20 74 68 65 ADME info on the
1740: 69 72 20 67 65 6e 65 72 61 74 69 6f 6e 2e 0a 0a ir generation...
1750: 09 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72 73 .* tests/ciphers
1760: 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 20 63 .test: updated c
1770: 69 70 68 65 72 73 20 65 78 70 65 63 74 65 64 20 iphers expected
1780: 77 69 74 68 20 64 65 66 61 75 6c 74 0a 09 6f 70 with default..op
1790: 65 6e 73 73 6c 20 62 75 69 6c 64 2e 0a 0a 09 2a enssl build....*
17a0: 20 74 65 73 74 73 2f 74 63 6c 49 4f 2e 74 65 73 tests/tclIO.tes
17b0: 74 3a 20 75 70 64 61 74 65 64 20 74 6f 20 75 73 t: updated to us
17c0: 65 20 6e 65 77 20 6e 61 6d 65 73 20 66 6f 72 20 e new names for
17d0: 63 65 72 74 73 2f 6b 65 79 73 2e 0a 0a 32 30 30 certs/keys...200
17e0: 31 2d 30 33 2d 31 34 20 20 4a 65 66 66 20 48 6f 1-03-14 Jeff Ho
17f0: 62 62 73 20 20 3c 6a 65 66 66 68 40 67 69 6d 6c bbs <jeffh@giml
1800: 65 74 2e 61 63 74 69 76 65 73 74 61 74 65 2e 63 et.activestate.c
1810: 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 om>...* tls.c (T
1820: 6c 73 5f 49 6e 69 74 29 3a 20 61 64 64 20 64 6f ls_Init): add do
1830: 2f 77 68 69 6c 65 20 66 6f 72 20 72 61 6e 64 6f /while for rando
1840: 6d 20 6e 75 6d 62 65 72 20 69 6e 69 74 69 61 6c m number initial
1850: 69 7a 61 74 69 6f 6e 0a 09 74 6f 20 77 6f 72 6b ization..to work
1860: 20 61 72 6f 75 6e 64 20 73 6f 6d 65 20 4f 53 65 around some OSe
1870: 73 20 71 75 69 72 6b 73 2e 20 20 28 52 61 6c 70 s quirks. (Ralp
1880: 68 2e 42 69 6c 6c 65 73 40 74 65 6c 74 65 63 68 h.Billes@teltech
1890: 2e 63 6f 6d 2e 61 75 29 0a 0a 32 30 30 30 2d 30 .com.au)..2000-0
18a0: 39 2d 30 37 20 20 4a 65 66 66 20 48 6f 62 62 73 9-07 Jeff Hobbs
18b0: 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 <hobbs@scripti
18c0: 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 cs.com>...* tlsI
18d0: 4f 2e 63 20 28 54 6c 73 5f 43 68 61 6e 6e 65 6c O.c (Tls_Channel
18e0: 54 79 70 65 29 3a 20 73 65 74 20 74 79 70 65 4e Type): set typeN
18f0: 61 6d 65 20 66 69 65 6c 64 20 6f 66 20 63 68 61 ame field of cha
1900: 6e 6e 65 6c 20 74 79 70 65 20 74 6f 0a 09 22 74 nnel type to.."t
1910: 6c 73 22 20 28 74 68 69 73 20 67 6f 74 20 6c 6f ls" (this got lo
1920: 73 74 20 69 6e 20 6d 6f 76 65 20 74 6f 20 64 79 st in move to dy
1930: 6e 61 6d 69 63 20 76 65 72 73 69 6f 6e 20 63 6f namic version co
1940: 6d 70 61 74 61 62 69 6c 69 74 79 0a 09 63 68 65 mpatability..che
1950: 63 6b 69 6e 67 29 2e 0a 0a 32 30 30 30 2d 30 38 cking)...2000-08
1960: 2d 32 33 20 20 4a 65 66 66 20 48 6f 62 62 73 20 -23 Jeff Hobbs
1970: 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 <hobbs@scriptic
1980: 73 2e 63 6f 6d 3e 0a 0a 09 54 4c 53 20 31 2e 34 s.com>...TLS 1.4
1990: 20 52 45 4c 45 41 53 45 44 0a 0a 09 2a 20 4d 61 RELEASED...* Ma
19a0: 6b 65 66 69 6c 65 2e 69 6e 20 28 64 69 73 74 29 kefile.in (dist)
19b0: 3a 20 63 72 65 61 74 65 20 64 69 73 74 20 74 61 : create dist ta
19c0: 72 67 65 74 20 66 6f 72 20 61 72 63 68 69 76 65 rget for archive
19d0: 20 64 69 73 74 72 69 62 75 74 69 6f 6e 73 0a 0a distributions..
19e0: 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 .* tests/tlsIO.t
19f0: 65 73 74 20 28 74 6c 73 49 4f 2d 38 2e 31 29 3a est (tlsIO-8.1):
1a00: 20 61 64 64 65 64 20 61 20 64 65 6c 61 79 20 6f added a delay o
1a10: 6e 20 74 68 65 20 61 63 63 65 70 74 20 63 6c 6f n the accept clo
1a20: 73 65 0a 09 74 6f 20 6d 61 6b 65 20 74 68 65 20 se..to make the
1a30: 74 65 73 74 20 77 6f 72 6b 20 77 69 74 68 20 4f test work with O
1a40: 70 65 6e 53 53 4c 20 6f 6e 20 57 69 6e 64 6f 77 penSSL on Window
1a50: 73 20 28 64 6f 65 73 6e 27 74 20 61 66 66 65 63 s (doesn't affec
1a60: 74 0a 09 6f 74 68 65 72 20 62 75 69 6c 64 73 29 t..other builds)
1a70: 2e 0a 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 20 75 ....* tls.htm: u
1a80: 70 64 61 74 65 64 20 77 69 74 68 20 6e 6f 74 65 pdated with note
1a90: 73 20 66 6f 72 20 31 2e 34 2e 0a 0a 32 30 30 30 s for 1.4...2000
1aa0: 2d 30 38 2d 32 31 20 20 4a 65 66 66 20 48 6f 62 -08-21 Jeff Hob
1ab0: 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 bs <hobbs@scrip
1ac0: 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 tics.com>...* te
1ad0: 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 sts/tlsIO.test:
1ae0: 72 65 71 75 69 72 65 20 61 74 20 6c 65 61 73 74 require at least
1af0: 20 74 6c 73 31 2e 34 20 69 6e 20 74 65 73 74 20 tls1.4 in test
1b00: 73 75 69 74 65 2e 0a 0a 32 30 30 30 2d 30 38 2d suite...2000-08-
1b10: 31 38 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 18 Jeff Hobbs
1b20: 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 <hobbs@scriptics
1b30: 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 20 .com>...* tls.c
1b40: 28 54 6c 73 5f 49 6e 69 74 29 3a 20 61 64 64 65 (Tls_Init): adde
1b50: 64 20 63 61 6c 6c 20 74 6f 20 52 41 4e 44 5f 73 d call to RAND_s
1b60: 65 65 64 20 74 6f 20 73 65 65 64 20 74 68 65 20 eed to seed the
1b70: 53 53 4c 20 72 61 6e 64 6f 6d 0a 09 6e 75 6d 62 SSL random..numb
1b80: 65 72 20 67 65 6e 65 72 61 74 6f 72 2e 20 20 57 er generator. W
1b90: 69 74 68 6f 75 74 20 74 68 69 73 2c 20 4f 70 65 ithout this, Ope
1ba0: 6e 53 53 4c 20 30 2e 39 2e 35 20 63 68 6f 6b 65 nSSL 0.9.5 choke
1bb0: 73 2c 20 61 6e 64 20 69 6e 20 61 6e 79 0a 09 63 s, and in any..c
1bc0: 61 73 65 20 69 74 20 69 73 20 61 20 62 69 67 20 ase it is a big
1bd0: 73 65 63 75 72 69 74 79 20 68 6f 6c 65 20 74 6f security hole to
1be0: 20 64 6f 20 77 69 74 68 6f 75 74 20 69 74 2e 0a do without it..
1bf0: 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e ..* configure.in
1c00: 20 28 4f 50 45 4e 53 53 4c 29 3a 20 61 64 64 65 (OPENSSL): adde
1c10: 64 20 4e 4f 5f 49 44 45 41 20 61 6e 64 20 4e 4f d NO_IDEA and NO
1c20: 5f 52 43 35 20 64 65 66 69 6e 65 73 20 62 79 0a _RC5 defines by.
1c30: 09 64 65 66 61 75 6c 74 20 77 68 65 6e 20 63 6f .default when co
1c40: 6d 70 69 6c 69 6e 67 20 77 69 74 68 20 4f 70 65 mpiling with Ope
1c50: 6e 53 53 4c 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 nSSL....* tlsInt
1c60: 2e 68 3a 20 61 64 64 65 64 20 65 72 72 2e 68 20 .h: added err.h
1c70: 69 6e 63 6c 75 64 65 0a 0a 09 2a 20 74 6c 73 42 include...* tlsB
1c80: 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 IO.c:..* tlsIO.c
1c90: 3a 20 63 6f 72 72 65 63 74 65 64 20 70 65 64 61 : corrected peda
1ca0: 6e 74 69 63 20 63 61 73 74 20 65 72 72 6f 72 73 ntic cast errors
1cb0: 2e 0a 0a 32 30 30 30 2d 30 38 2d 31 36 20 20 4a ...2000-08-16 J
1cc0: 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 eff Hobbs <hobb
1cd0: 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e s@scriptics.com>
1ce0: 0a 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 68 65 ...* tests/ciphe
1cf0: 72 73 2e 74 65 73 74 3a 20 69 6d 70 72 6f 76 65 rs.test: improve
1d00: 64 20 61 62 69 6c 69 74 79 20 74 6f 20 63 68 61 d ability to cha
1d10: 6e 67 65 20 63 6f 6e 73 74 72 61 69 6e 74 0a 09 nge constraint..
1d20: 73 65 74 74 69 6e 67 20 66 6f 72 20 77 68 65 74 setting for whet
1d30: 68 65 72 20 75 73 65 72 20 63 6f 6d 70 69 6c 65 her user compile
1d40: 64 20 61 67 61 69 6e 73 74 20 52 53 41 20 6f 72 d against RSA or
1d50: 20 4f 70 65 6e 53 53 4c 20 6c 69 62 73 2e 0a 0a OpenSSL libs...
1d60: 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e .* tls.c (Tls_In
1d70: 69 74 29 3a 20 63 6f 72 72 65 63 74 65 64 20 69 it): corrected i
1d80: 6e 74 65 72 70 72 65 74 61 74 69 6f 6e 20 6f 66 nterpretation of
1d90: 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 0a version number.
1da0: 09 28 70 61 74 63 68 6c 65 76 65 6c 20 61 6e 64 .(patchlevel and
1db0: 20 72 65 6c 65 61 73 65 2f 73 65 72 69 61 6c 20 release/serial
1dc0: 77 65 72 65 20 73 77 61 70 70 65 64 29 2e 0a 0a were swapped)...
1dd0: 32 30 30 30 2d 30 38 2d 31 35 20 20 4a 65 66 66 2000-08-15 Jeff
1de0: 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 Hobbs <hobbs@s
1df0: 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 criptics.com>...
1e00: 2a 20 52 45 41 44 4d 45 2e 74 78 74 3a 20 61 64 * README.txt: ad
1e10: 64 65 64 20 6e 6f 74 65 73 20 61 62 6f 75 74 20 ded notes about
1e20: 6e 65 65 64 20 74 6f 20 75 73 65 20 38 2e 32 2e need to use 8.2.
1e30: 30 2b 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 0+....* tlsInt.h
1e40: 3a 0a 09 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 74 :..* tls.c:..* t
1e50: 6c 73 49 4f 2e 63 3a 20 63 6f 72 72 65 63 74 65 lsIO.c: correcte
1e60: 64 20 73 74 72 75 63 74 75 72 65 20 69 6e 69 74 d structure init
1e70: 69 61 6c 69 7a 61 74 69 6f 6e 20 74 6f 20 77 6f ialization to wo
1e80: 72 6b 20 77 68 65 6e 0a 09 63 6f 6d 70 69 6c 69 rk when..compili
1e90: 6e 67 20 77 69 74 68 20 38 2e 32 2e 20 20 4e 6f ng with 8.2. No
1ea0: 77 20 63 6f 6d 70 69 6c 65 73 20 77 69 74 68 20 w compiles with
1eb0: 38 2e 32 2b 20 61 6e 64 20 74 65 73 74 65 64 20 8.2+ and tested
1ec0: 74 6f 20 77 6f 72 6b 0a 09 77 69 74 68 20 38 2e to work..with 8.
1ed0: 32 2b 20 61 6e 64 20 64 79 6e 61 6d 69 63 61 6c 2+ and dynamical
1ee0: 6c 79 20 61 64 6a 75 73 74 20 74 6f 20 74 68 65 ly adjust to the
1ef0: 20 76 65 72 73 69 6f 6e 20 6f 66 20 54 63 6c 20 version of Tcl
1f00: 69 74 20 77 61 73 0a 09 6c 6f 61 64 65 64 20 69 it was..loaded i
1f10: 6e 74 6f 2e 20 20 54 4c 53 20 77 69 6c 6c 20 66 nto. TLS will f
1f20: 61 69 6c 20 74 68 65 20 74 65 73 74 20 73 75 69 ail the test sui
1f30: 74 65 20 77 69 74 68 20 54 63 6c 20 38 2e 32 2d te with Tcl 8.2-
1f40: 38 2e 33 2e 31 2e 0a 0a 09 2a 20 74 65 73 74 73 8.3.1....* tests
1f50: 2f 61 6c 6c 2e 74 63 6c 3a 20 61 64 64 65 64 20 /all.tcl: added
1f60: 63 61 74 63 68 20 61 72 6f 75 6e 64 20 3a 3a 74 catch around ::t
1f70: 63 6c 74 65 73 74 3a 3a 6e 6f 72 6d 61 6c 69 7a cltest::normaliz
1f80: 65 50 61 74 68 0a 09 62 65 63 61 75 73 65 20 69 ePath..because i
1f90: 74 20 64 6f 65 73 6e 27 74 20 65 78 69 73 74 20 t doesn't exist
1fa0: 69 6e 20 70 72 65 2d 38 2e 33 20 74 63 6c 74 65 in pre-8.3 tclte
1fb0: 73 74 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 73 69 st....* tests/si
1fc0: 6d 70 6c 65 43 6c 69 65 6e 74 2e 74 63 6c 3a 20 mpleClient.tcl:
1fd0: 0a 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c 65 ..* tests/simple
1fe0: 53 65 72 76 65 72 2e 74 63 6c 3a 20 61 64 64 65 Server.tcl: adde
1ff0: 64 20 73 69 6d 70 6c 65 20 63 6c 69 65 6e 74 2f d simple client/
2000: 73 65 72 76 65 72 20 74 65 73 74 20 73 63 72 69 server test scri
2010: 70 74 73 0a 09 74 68 61 74 20 75 73 65 20 74 65 pts..that use te
2020: 73 74 20 63 65 72 74 73 20 61 6e 64 20 63 61 6e st certs and can
2030: 20 64 6f 20 73 69 6d 70 6c 65 20 73 74 72 65 73 do simple stres
2040: 73 20 74 65 73 74 73 2e 0a 0a 32 30 30 30 2d 30 s tests...2000-0
2050: 38 2d 31 34 20 20 4a 65 66 66 20 48 6f 62 62 73 8-14 Jeff Hobbs
2060: 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 <hobbs@scripti
2070: 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 cs.com>...* tlsI
2080: 6e 74 2e 68 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 nt.h:..* tlsIO.c
2090: 3a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a 09 :..* tlsBIO.c:..
20a0: 2a 20 74 6c 73 2e 63 3a 20 63 68 61 6e 67 65 64 * tls.c: changed
20b0: 20 61 72 6f 75 6e 64 20 74 6f 20 6f 6e 6c 79 20 around to only
20c0: 77 6f 72 6b 69 6e 67 20 77 69 74 68 20 38 2e 32 working with 8.2
20d0: 2e 30 2b 20 28 38 2e 33 2e 32 2b 0a 09 70 72 65 .0+ (8.3.2+..pre
20e0: 66 65 72 72 65 64 29 2c 20 77 69 74 68 20 72 75 ferred), with ru
20f0: 6e 74 69 6d 65 20 63 68 65 63 6b 73 20 66 6f 72 ntime checks for
2100: 20 70 72 65 2d 20 61 6e 64 20 70 6f 73 74 2d 69 pre- and post-i
2110: 6f 2d 72 65 77 72 69 74 65 2e 0a 0a 09 2a 20 74 o-rewrite....* t
2120: 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a ls.c (Tls_Init):
2130: 20 63 68 61 6e 67 65 64 20 69 74 20 74 6f 20 72 changed it to r
2140: 65 71 75 69 72 65 20 38 2e 33 2e 32 20 77 68 65 equire 8.3.2 whe
2150: 6e 20 54 63 6c 5f 49 6e 69 74 53 74 75 62 73 0a n Tcl_InitStubs.
2160: 09 77 61 73 20 63 61 6c 6c 65 64 20 62 65 63 61 .was called beca
2170: 75 73 65 20 77 65 20 64 6f 6e 27 74 20 77 61 6e use we don't wan
2180: 74 20 70 65 6f 70 6c 65 20 75 73 69 6e 67 20 54 t people using T
2190: 4c 53 20 77 69 74 68 20 74 68 65 0a 09 6f 72 69 LS with the..ori
21a0: 67 69 6e 61 6c 20 73 74 61 63 6b 65 64 20 63 68 ginal stacked ch
21b0: 61 6e 6e 65 6c 20 69 6d 70 6c 65 6d 65 6e 74 61 annel implementa
21c0: 74 69 6f 6e 2e 0a 0a 32 30 30 30 2d 30 37 2d 32 tion...2000-07-2
21d0: 36 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6 Jeff Hobbs <
21e0: 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e hobbs@scriptics.
21f0: 63 6f 6d 3e 0a 0a 09 2a 20 6d 65 72 67 65 64 20 com>...* merged
2200: 61 6c 6c 20 63 68 61 6e 67 65 73 20 66 72 6f 6d all changes from
2210: 20 74 6c 73 2d 31 2d 33 2d 69 6f 2d 72 65 77 72 tls-1-3-io-rewr
2220: 69 74 65 20 62 61 63 6b 20 69 6e 74 6f 20 6d 61 ite back into ma
2230: 69 6e 20 62 72 61 6e 63 68 0a 0a 09 2a 20 74 65 in branch...* te
2240: 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 sts/tlsIO.test:
2250: 75 70 64 61 74 65 64 20 63 6f 6d 6d 65 6e 74 73 updated comments
2260: 2c 20 66 69 78 65 64 20 61 20 70 63 43 72 61 73 , fixed a pcCras
2270: 68 20 63 61 73 65 20 74 68 61 74 0a 09 77 61 73 h case that..was
2280: 20 64 75 65 20 74 6f 20 64 65 62 75 67 20 61 73 due to debug as
2290: 73 65 72 74 69 6f 6e 20 69 6e 20 57 69 6e 64 6f sertion in Windo
22a0: 77 73 20 53 53 4c 2e 0a 0a 09 2a 20 74 6c 73 2e ws SSL....* tls.
22b0: 63 20 28 49 6d 70 6f 72 74 4f 62 6a 43 6d 64 29 c (ImportObjCmd)
22c0: 3a 20 72 65 6d 6f 76 65 64 20 75 6e 6e 65 63 65 : removed unnece
22d0: 73 73 61 72 79 20 75 73 65 20 6f 66 20 27 62 69 ssary use of 'bi
22e0: 6f 27 20 61 72 67 2e 0a 09 28 54 6c 73 5f 49 6e o' arg...(Tls_In
22f0: 69 74 29 3a 20 63 68 65 63 6b 20 72 65 74 75 72 it): check retur
2300: 6e 20 76 61 6c 75 65 20 6f 66 20 53 53 4c 5f 6c n value of SSL_l
2310: 69 62 72 61 72 79 5f 69 6e 69 74 2e 20 20 41 6c ibrary_init. Al
2320: 73 6f 20 6c 6f 74 73 20 6f 66 0a 09 77 68 69 74 so lots of..whit
2330: 65 73 70 61 63 65 20 63 6c 65 61 6e 75 70 20 28 espace cleanup (
2340: 6d 6f 72 65 20 6c 69 6b 65 20 54 63 6c 20 45 6e more like Tcl En
2350: 67 20 73 74 79 6c 65 20 67 75 69 64 65 29 2c 20 g style guide),
2360: 62 75 74 20 6e 6f 74 20 61 6c 6c 0a 09 63 6f 64 but not all..cod
2370: 65 20 77 61 73 20 63 6c 65 61 6e 65 64 20 75 70 e was cleaned up
2380: 2e 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 20 ....* tlsBIO.c:
2390: 6d 69 6e 6f 72 20 77 68 69 74 65 73 70 61 63 65 minor whitespace
23a0: 20 63 6c 65 61 6e 75 70 0a 0a 09 2a 20 74 6c 73 cleanup...* tls
23b0: 49 4f 2e 63 3a 20 6d 69 6e 6f 72 20 77 68 69 74 IO.c: minor whit
23c0: 65 73 70 61 63 65 20 63 6c 65 61 6e 75 70 2e 0a espace cleanup..
23d0: 09 28 54 6c 73 49 6e 70 75 74 50 72 6f 63 2c 20 .(TlsInputProc,
23e0: 54 6c 73 4f 75 74 70 75 74 50 72 6f 63 29 3a 20 TlsOutputProc):
23f0: 41 64 64 65 64 20 45 52 52 5f 63 6c 65 61 72 5f Added ERR_clear_
2400: 65 72 72 6f 72 20 62 65 66 6f 72 65 20 63 61 6c error before cal
2410: 6c 73 0a 09 74 6f 20 42 49 4f 5f 72 65 61 64 20 ls..to BIO_read
2420: 6f 72 20 42 49 4f 5f 77 72 69 74 65 2c 20 62 65 or BIO_write, be
2430: 63 61 75 73 65 20 77 65 20 63 6f 75 6c 64 20 6f cause we could o
2440: 74 68 65 72 77 69 73 65 20 65 6e 64 20 75 70 0a therwise end up.
2450: 09 70 75 6c 6c 69 6e 67 20 61 6e 20 65 72 72 6f .pulling an erro
2460: 72 20 6f 66 66 20 74 68 65 20 73 74 61 63 6b 20 r off the stack
2470: 74 68 61 74 20 64 69 64 6e 27 74 20 62 65 6c 6f that didn't belo
2480: 6e 67 20 74 6f 20 75 73 2e 20 20 41 6c 73 6f 0a ng to us. Also.
2490: 09 63 6c 65 61 6e 75 70 20 75 70 20 65 78 63 65 .cleanup up exce
24a0: 73 73 69 76 65 20 75 73 65 20 6f 66 20 67 6f 74 ssive use of got
24b0: 6f 73 2e 0a 0a 32 30 30 30 2d 30 37 2d 32 30 20 os...2000-07-20
24c0: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f Jeff Hobbs <ho
24d0: 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f bbs@scriptics.co
24e0: 6d 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 m>...* tests/tls
24f0: 49 4f 2e 74 65 73 74 3a 20 63 6f 72 72 65 63 74 IO.test: correct
2500: 65 64 20 76 61 72 69 6f 75 73 20 74 65 73 74 73 ed various tests
2510: 20 74 6f 20 62 65 20 63 6f 72 72 65 63 74 20 66 to be correct f
2520: 6f 72 20 54 4c 53 0a 09 73 74 61 63 6b 65 64 20 or TLS..stacked
2530: 63 68 61 6e 6e 65 6c 73 20 28 61 73 20 6f 70 70 channels (as opp
2540: 6f 73 65 64 20 74 6f 20 74 68 65 20 73 74 61 6e osed to the stan
2550: 64 61 72 64 20 73 6f 63 6b 65 74 73 20 74 68 65 dard sockets the
2560: 20 74 65 73 74 0a 09 73 75 69 74 65 20 77 61 73 test..suite was
2570: 20 61 64 6f 70 74 65 64 20 66 72 6f 6d 29 2e 20 adopted from).
2580: 20 4b 65 79 20 64 69 66 66 65 72 65 6e 63 65 73 Key differences
2590: 20 61 72 65 20 74 68 61 74 20 54 4c 53 20 63 61 are that TLS ca
25a0: 6e 6e 6f 74 0a 09 6f 70 65 72 61 74 65 20 69 6e nnot..operate in
25b0: 20 6f 6e 65 20 70 72 6f 63 65 73 73 20 77 69 74 one process wit
25c0: 68 6f 75 74 20 61 6c 6c 20 63 68 61 6e 6e 65 6c hout all channel
25d0: 73 20 62 65 69 6e 67 20 6e 6f 6e 2d 62 6c 6f 63 s being non-bloc
25e0: 6b 69 6e 67 2c 20 6f 72 0a 09 74 68 65 20 68 61 king, or..the ha
25f0: 6e 64 73 68 61 6b 65 20 77 69 6c 6c 20 62 6c 6f ndshake will blo
2600: 63 6b 2c 20 61 6e 64 20 68 61 6e 64 73 68 61 6b ck, and handshak
2610: 69 6e 67 20 6d 75 73 74 20 62 65 20 66 6f 72 63 ing must be forc
2620: 65 64 20 69 6e 20 73 6f 6d 65 0a 09 63 61 73 65 ed in some..case
2630: 73 2e 20 20 41 6c 73 6f 2c 20 68 61 6e 64 73 68 s. Also, handsh
2640: 61 6b 65 73 20 64 6f 6e 27 74 20 73 65 65 6d 20 akes don't seem
2650: 74 6f 20 63 6f 6d 70 6c 65 74 65 20 75 6e 6c 65 to complete unle
2660: 73 73 20 74 68 65 20 63 6c 69 65 6e 74 0a 09 68 ss the client..h
2670: 61 73 20 70 6c 61 63 65 64 20 61 74 20 6c 65 61 as placed at lea
2680: 73 74 20 6f 6e 65 20 62 79 74 65 20 66 6f 72 20 st one byte for
2690: 74 68 65 20 73 65 72 76 65 72 20 74 6f 20 72 65 the server to re
26a0: 61 64 20 69 6e 20 74 68 65 20 63 68 61 6e 6e 65 ad in the channe
26b0: 6c 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 72 65 6d l....* tests/rem
26c0: 6f 74 65 2e 74 63 6c 3a 20 63 6f 72 72 65 63 74 ote.tcl: correct
26d0: 65 64 20 74 68 65 20 66 69 6e 64 69 6e 67 20 6f ed the finding o
26e0: 66 20 74 65 73 74 73 20 63 65 72 74 69 66 69 63 f tests certific
26f0: 61 74 65 73 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 ates...* tlsIO.c
2700: 20 28 54 6c 73 43 6c 6f 73 65 50 72 6f 63 29 3a (TlsCloseProc):
2710: 20 72 65 6d 6f 76 65 64 20 64 65 6c 65 74 69 6e removed deletin
2720: 67 20 6f 66 20 74 69 6d 65 72 20 68 61 6e 64 6c g of timer handl
2730: 65 72 20 61 73 0a 09 74 68 61 74 20 69 73 20 68 er as..that is h
2740: 61 6e 64 6c 65 64 20 62 79 20 54 6c 73 5f 43 6c andled by Tls_Cl
2750: 65 61 6e 2e 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c ean....* tls.tcl
2760: 20 28 74 6c 73 3a 3a 5f 61 63 63 65 70 74 29 3a (tls::_accept):
2770: 20 63 6f 72 72 65 63 74 65 64 20 74 68 65 20 69 corrected the i
2780: 6e 74 65 72 6e 61 6c 20 5f 61 63 63 65 70 74 20 nternal _accept
2790: 74 6f 0a 09 74 72 69 63 6b 6c 65 20 63 61 6c 6c to..trickle call
27a0: 62 61 63 6b 20 65 72 72 6f 72 73 20 74 6f 20 74 back errors to t
27b0: 68 65 20 75 73 65 72 2e 0a 0a 09 2a 20 4d 61 6b he user....* Mak
27c0: 65 66 69 6c 65 2e 69 6e 3a 20 6d 61 64 65 20 74 efile.in: made t
27d0: 68 65 20 69 6e 73 74 61 6c 6c 2d 62 69 6e 61 72 he install-binar
27e0: 69 65 73 20 74 61 72 67 65 74 20 72 65 67 65 6e ies target regen
27f0: 65 72 61 74 65 20 74 68 65 0a 09 70 6b 67 49 6e erate the..pkgIn
2800: 64 65 78 2e 74 63 6c 20 63 6f 72 72 65 63 74 6c dex.tcl correctl
2810: 79 2e 20 20 54 68 65 20 74 65 73 74 20 74 61 72 y. The test tar
2820: 67 65 74 20 70 72 6f 62 61 62 6c 79 20 73 68 6f get probably sho
2830: 75 6c 64 6e 27 74 20 73 63 72 65 77 0a 09 69 74 uldn't screw..it
2840: 20 75 70 2c 20 62 75 74 20 74 68 69 73 20 69 73 up, but this is
2850: 20 74 6f 20 62 65 20 6f 6e 20 74 68 65 20 73 61 to be on the sa
2860: 66 65 20 73 69 64 65 2e 0a 0a 32 30 30 30 2d 30 fe side...2000-0
2870: 37 2d 31 37 20 20 4a 65 66 66 20 48 6f 62 62 73 7-17 Jeff Hobbs
2880: 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 <hobbs@scripti
2890: 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 70 6b 67 49 cs.com>...* pkgI
28a0: 6e 64 65 78 2e 74 63 6c 2e 69 6e 3a 0a 09 2a 20 ndex.tcl.in:..*
28b0: 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 75 70 configure.in: up
28c0: 64 61 74 65 64 20 76 65 72 73 69 6f 6e 20 74 6f dated version to
28d0: 20 31 2e 34 0a 0a 32 30 30 30 2d 30 37 2d 31 33 1.4..2000-07-13
28e0: 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 Jeff Hobbs <h
28f0: 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 obbs@scriptics.c
2900: 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c om>...* tests/tl
2910: 73 49 4f 2e 74 65 73 74 3a 20 65 6e 61 62 6c 65 sIO.test: enable
2920: 64 20 74 65 73 74 73 20 32 2e 31 30 2c 20 37 2e d tests 2.10, 7.
2930: 5b 31 32 34 35 5d 20 28 74 68 65 72 65 20 69 73 [1245] (there is
2940: 20 6e 6f 20 33 29 2c 0a 09 77 68 69 63 68 20 6e no 3),..which n
2950: 6f 77 20 70 61 73 73 2e 20 20 41 64 64 65 64 20 ow pass. Added
2960: 73 6f 6d 65 20 63 6f 6d 6d 65 6e 74 73 20 74 6f some comments to
2970: 20 6f 74 68 65 72 20 66 61 69 6c 69 6e 67 20 74 other failing t
2980: 65 73 74 73 2e 0a 0a 32 30 30 30 2d 30 37 2d 31 ests...2000-07-1
2990: 31 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 1 Jeff Hobbs <
29a0: 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e hobbs@scriptics.
29b0: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 com>...* tlsIO.c
29c0: 3a 20 63 68 61 6e 67 65 64 20 61 6c 6c 20 74 68 : changed all th
29d0: 65 20 63 68 61 6e 6e 65 6c 20 70 72 6f 63 73 20 e channel procs
29e0: 74 6f 20 73 74 61 72 74 20 77 69 74 68 20 54 6c to start with Tl
29f0: 73 2a 20 66 6f 72 0a 09 62 65 74 74 65 72 20 70 s* for..better p
2a00: 61 72 69 74 79 20 77 68 65 6e 20 63 6f 6d 70 61 arity when compa
2a10: 72 69 6e 67 20 77 69 74 68 20 54 72 61 6e 73 66 ring with Transf
2a20: 6f 72 6d 20 63 68 61 6e 6e 65 6c 20 70 72 6f 63 orm channel proc
2a30: 73 2e 0a 09 52 65 77 72 6f 74 65 20 54 6c 73 57 s...Rewrote TlsW
2a40: 61 74 63 68 50 72 6f 63 2c 20 61 64 64 65 64 20 atchProc, added
2a50: 54 6c 73 4e 6f 74 69 66 79 50 72 6f 63 20 61 63 TlsNotifyProc ac
2a60: 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 6e cording to the n
2a70: 65 77 0a 09 63 68 61 6e 6e 65 6c 20 64 65 73 69 ew..channel desi
2a80: 67 6e 2c 20 77 68 69 63 68 20 61 6c 73 6f 20 6c gn, which also l
2a90: 65 61 76 65 73 20 54 6c 73 43 68 61 6e 6e 65 6c eaves TlsChannel
2aa0: 48 61 6e 64 6c 65 72 20 75 6e 75 73 65 64 2e 0a Handler unused..
2ab0: 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 20 28 42 69 ..* tlsBIO.c (Bi
2ac0: 6f 43 74 72 6c 29 3a 20 63 68 61 6e 67 65 64 20 oCtrl): changed
2ad0: 42 49 4f 5f 43 54 52 4c 5f 46 4c 55 53 48 20 63 BIO_CTRL_FLUSH c
2ae0: 61 73 65 20 74 6f 20 75 73 65 0a 09 54 63 6c 5f ase to use..Tcl_
2af0: 57 72 69 74 65 52 61 77 20 69 6e 73 74 65 61 64 WriteRaw instead
2b00: 20 6f 66 20 54 63 6c 5f 46 6c 75 73 68 20 28 74 of Tcl_Flush (t
2b10: 6f 20 6f 70 65 72 61 74 65 20 6f 6e 20 63 6f 72 o operate on cor
2b20: 72 65 63 74 20 63 68 61 6e 6e 65 6c 0a 09 69 6e rect channel..in
2b30: 20 74 68 65 20 73 74 61 63 6b 20 69 6e 73 74 65 the stack inste
2b40: 61 64 20 6f 66 20 73 74 61 72 74 69 6e 67 20 61 ad of starting a
2b50: 74 20 74 68 65 20 74 6f 70 20 61 67 61 69 6e 29 t the top again)
2b60: 2e 20 20 57 6f 75 6c 64 0a 09 6f 74 68 65 72 77 . Would..otherw
2b70: 69 73 65 20 63 61 75 73 65 20 61 20 72 65 63 75 ise cause a recu
2b80: 72 73 69 76 65 20 73 74 61 63 6b 20 62 6f 6d 62 rsive stack bomb
2b90: 20 77 68 65 6e 20 69 6d 70 6c 69 63 69 74 20 68 when implicit h
2ba0: 61 6e 64 73 68 61 6b 69 6e 67 0a 09 74 6f 6f 6b andshaking..took
2bb0: 20 65 66 66 65 63 74 2e 0a 0a 09 2a 20 74 65 73 effect....* tes
2bc0: 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 72 ts/tlsIO.test: r
2bd0: 65 6d 6f 76 65 64 20 63 68 61 6e 67 65 73 20 6d emoved changes m
2be0: 61 64 65 20 74 6f 20 74 65 73 74 20 73 75 69 74 ade to test suit
2bf0: 65 20 28 61 6c 6c 20 74 65 73 74 73 0a 09 74 68 e (all tests..th
2c00: 61 74 20 72 61 6e 20 62 65 66 6f 72 65 20 6e 6f at ran before no
2c10: 77 20 70 61 73 73 20 63 6f 72 72 65 63 74 6c 79 w pass correctly
2c20: 29 2c 20 61 6e 64 20 63 68 61 6e 67 65 64 20 73 ), and changed s
2c30: 6f 6d 65 20 61 63 63 65 70 74 20 70 72 6f 63 0a ome accept proc.
2c40: 09 61 72 67 73 20 74 6f 20 72 65 66 6c 65 63 74 .args to reflect
2c50: 20 74 68 61 74 20 61 20 73 6f 63 6b 20 69 73 20 that a sock is
2c60: 61 6e 20 61 72 67 2c 20 6e 6f 74 20 61 20 66 69 an arg, not a fi
2c70: 6c 65 2e 0a 0a 32 30 30 30 2d 30 37 2d 31 30 20 le...2000-07-10
2c80: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f Jeff Hobbs <ho
2c90: 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f bbs@scriptics.co
2ca0: 6d 3e 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 20 m>...* tlsBIO.c
2cb0: 28 42 69 6f 57 72 69 74 65 2c 20 42 69 6f 52 65 (BioWrite, BioRe
2cc0: 61 64 29 3a 20 63 68 61 6e 67 65 64 20 54 63 6c ad): changed Tcl
2cd0: 5f 52 65 61 64 2f 57 72 69 74 65 20 74 6f 0a 09 _Read/Write to..
2ce0: 54 63 6c 5f 52 65 61 64 52 61 77 2f 54 63 6c 57 Tcl_ReadRaw/TclW
2cf0: 72 69 74 65 52 61 77 2e 0a 0a 09 2a 20 74 6c 73 riteRaw....* tls
2d00: 2e 63 3a 20 61 64 64 65 64 20 75 73 65 20 6f 66 .c: added use of
2d10: 20 54 63 6c 5f 47 65 74 54 6f 70 43 68 61 6e 6e Tcl_GetTopChann
2d20: 65 6c 20 61 66 74 65 72 20 54 63 6c 5f 47 65 74 el after Tcl_Get
2d30: 43 68 61 6e 6e 65 6c 20 61 6e 64 0a 09 67 6f 74 Channel and..got
2d40: 20 72 65 74 75 72 6e 20 76 61 6c 75 65 20 66 72 return value fr
2d50: 6f 6d 20 54 63 6c 5f 53 74 61 63 6b 43 68 61 6e om Tcl_StackChan
2d60: 6e 65 6c 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 nel....* tests/t
2d70: 6c 73 49 4f 2e 74 65 73 74 3a 20 61 64 64 65 64 lsIO.test: added
2d80: 20 73 6f 6d 65 20 68 61 6e 64 73 68 61 6b 69 6e some handshakin
2d90: 67 20 74 68 61 74 20 73 68 6f 75 6c 64 6e 27 74 g that shouldn't
2da0: 20 62 65 0a 09 6e 65 63 65 73 73 61 72 79 2c 20 be..necessary,
2db0: 62 75 74 20 77 65 20 63 72 61 73 68 20 6f 74 68 but we crash oth
2dc0: 65 72 77 69 73 65 20 28 6e 65 65 64 73 20 6d 6f erwise (needs mo
2dd0: 72 65 20 74 65 73 74 69 6e 67 29 2e 0a 0a 09 2a re testing)....*
2de0: 20 74 6c 73 49 4f 2e 63 3a 20 61 64 64 65 64 20 tlsIO.c: added
2df0: 73 75 70 70 6f 72 74 20 66 6f 72 20 22 63 6f 72 support for "cor
2e00: 72 65 63 74 65 64 22 20 73 74 61 63 6b 65 64 20 rected" stacked
2e10: 63 68 61 6e 6e 65 6c 73 2e 20 20 41 6c 6c 0a 09 channels. All..
2e20: 74 68 65 20 61 62 6f 76 65 20 63 68 61 6e 6e 65 the above channe
2e30: 6c 73 20 61 72 65 20 69 6e 20 54 43 4c 5f 43 48 ls are in TCL_CH
2e40: 41 4e 4e 45 4c 5f 56 45 52 53 49 4f 4e 5f 32 20 ANNEL_VERSION_2
2e50: 23 69 66 64 65 66 73 2e 0a 0a 32 30 30 30 2d 30 #ifdefs...2000-0
2e60: 36 2d 30 35 20 20 53 63 6f 74 74 20 53 74 61 6e 6-05 Scott Stan
2e70: 74 6f 6e 20 20 3c 73 74 61 6e 74 6f 6e 40 61 6a ton <stanton@aj
2e80: 75 62 61 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f 6d ubasolutions.com
2e90: 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 >...* Makefile.i
2ea0: 6e 3a 20 46 69 78 65 64 20 62 72 6f 6b 65 6e 20 n: Fixed broken
2eb0: 74 65 73 74 20 74 61 72 67 65 74 2e 0a 0a 09 2a test target....*
2ec0: 20 74 6c 73 49 6e 74 2e 68 3a 20 0a 09 2a 20 74 tlsInt.h: ..* t
2ed0: 6c 73 2e 63 3a 20 43 6c 65 61 6e 65 64 20 75 70 ls.c: Cleaned up
2ee0: 20 64 65 63 6c 61 72 61 74 69 6f 6e 73 20 6f 66 declarations of
2ef0: 20 54 6c 73 5f 43 6c 65 61 6e 20 74 6f 20 61 76 Tls_Clean to av
2f00: 6f 69 64 20 65 72 72 6f 72 73 20 6f 6e 0a 09 57 oid errors on..W
2f10: 69 6e 64 6f 77 73 20 28 6c 69 6e 74 29 2e 0a 0a indows (lint)...
2f20: 32 30 30 30 2d 30 36 2d 30 35 20 20 42 72 65 6e 2000-06-05 Bren
2f30: 74 20 57 65 6c 63 68 20 3c 77 65 6c 63 68 40 61 t Welch <welch@a
2f40: 6a 75 62 61 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f jubasolutions.co
2f50: 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 2c 20 74 6c m>...* tls.c, tl
2f60: 73 49 4f 2e 63 3a 20 20 53 70 6c 69 74 20 54 6c sIO.c: Split Tl
2f70: 73 5f 46 72 65 65 20 69 6e 74 6f 20 54 6c 73 5f s_Free into Tls_
2f80: 43 6c 65 61 6e 2c 20 77 68 69 63 68 20 64 6f 65 Clean, which doe
2f90: 73 0a 09 74 68 65 20 53 53 4c 20 63 6c 65 61 6e s..the SSL clean
2fa0: 75 70 2c 20 61 6e 64 20 74 68 65 20 54 63 6c 5f up, and the Tcl_
2fb0: 46 72 65 65 20 63 61 6c 6c 2e 20 20 49 74 20 69 Free call. It i
2fc0: 73 20 69 6d 70 6f 72 74 61 6e 74 20 74 6f 20 73 s important to s
2fd0: 68 75 74 64 6f 77 6e 0a 09 74 68 65 20 53 53 4c hutdown..the SSL
2fe0: 20 73 74 61 74 65 20 22 73 79 6e 63 68 72 6f 6e state "synchron
2ff0: 6f 75 73 6c 79 22 20 64 75 72 69 6e 67 20 61 20 ously" during a
3000: 73 74 61 63 6b 65 64 20 66 6c 75 73 68 2e 0a 0a stacked flush...
3010: 32 30 30 30 2d 30 36 2d 30 31 20 20 53 63 6f 74 2000-06-01 Scot
3020: 74 20 53 74 61 6e 74 6f 6e 20 20 3c 73 74 61 6e t Stanton <stan
3030: 74 6f 6e 40 61 6a 75 62 61 73 6f 6c 75 74 69 6f ton@ajubasolutio
3040: 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 ns.com>...* tlsI
3050: 4f 2e 63 3a 20 52 65 73 74 6f 72 65 64 20 63 61 O.c: Restored ca
3060: 6c 6c 20 74 6f 20 54 63 6c 5f 4e 6f 74 69 66 79 ll to Tcl_Notify
3070: 43 68 61 6e 6e 65 6c 20 66 72 6f 6d 20 43 68 61 Channel from Cha
3080: 6e 6e 65 6c 48 61 6e 64 6c 65 72 0a 09 74 6f 20 nnelHandler..to
3090: 65 6e 73 75 72 65 20 74 68 61 74 20 65 76 65 6e ensure that even
30a0: 74 73 20 70 72 6f 70 61 67 61 74 65 20 66 72 6f ts propagate fro
30b0: 6d 20 74 68 65 20 6c 6f 77 65 72 20 64 72 69 76 m the lower driv
30c0: 65 72 2e 20 20 54 68 69 73 20 6d 61 79 0a 09 72 er. This may..r
30d0: 65 73 75 6c 74 20 69 6e 20 61 6e 20 69 6e 66 69 esult in an infi
30e0: 6e 69 74 65 20 6c 6f 6f 70 20 69 6e 20 73 6f 6d nite loop in som
30f0: 65 20 63 61 73 65 73 2c 20 73 6f 20 74 68 69 73 e cases, so this
3100: 20 69 73 20 6e 6f 74 20 61 20 74 6f 74 61 6c 0a is not a total.
3110: 09 66 69 78 2e 20 20 54 68 69 73 20 6d 61 79 20 .fix. This may
3120: 62 65 20 73 75 66 66 69 63 69 65 6e 74 20 66 6f be sufficient fo
3130: 72 20 6e 6f 77 2c 20 68 6f 77 65 76 65 72 2e 20 r now, however.
3140: 5b 42 75 67 3a 20 35 36 32 33 5d 0a 0a 32 30 30 [Bug: 5623]..200
3150: 30 2d 30 36 2d 30 31 20 20 53 63 6f 74 74 20 53 0-06-01 Scott S
3160: 74 61 6e 74 6f 6e 20 20 3c 73 74 61 6e 74 6f 6e tanton <stanton
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 4f 2e 63 3a 20 52 65 73 ..* tlsIO.c: Res
3190: 74 6f 72 65 20 74 68 65 20 70 72 65 76 69 6f 75 tore the previou
31a0: 73 20 76 65 72 73 69 6f 6e 2e 20 20 46 69 78 65 s version. Fixe
31b0: 64 20 74 68 65 20 43 6c 6f 73 65 50 72 6f 63 20 d the CloseProc
31c0: 73 6f 0a 09 69 74 20 75 6e 72 65 67 69 73 74 65 so..it unregiste
31d0: 72 73 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 68 rs the channel h
31e0: 61 6e 64 6c 65 72 20 6f 6e 20 74 68 65 20 73 75 andler on the su
31f0: 70 65 72 63 65 64 65 64 20 63 68 61 6e 6e 65 6c perceded channel
3200: 0a 09 69 6e 73 74 65 61 64 20 6f 66 20 74 68 65 ..instead of the
3210: 20 75 70 70 65 72 20 63 68 61 6e 6e 65 6c 2e 20 upper channel.
3220: 41 6c 73 6f 20 72 65 6d 6f 76 65 64 20 74 68 65 Also removed the
3230: 20 63 61 6c 6c 20 74 6f 0a 09 54 63 6c 5f 4e 6f call to..Tcl_No
3240: 74 69 66 79 43 68 61 6e 6e 65 6c 20 69 6e 20 74 tifyChannel in t
3250: 68 65 20 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65 he ChannelHandle
3260: 72 20 62 65 63 61 75 73 65 20 74 68 69 73 20 77 r because this w
3270: 69 6c 6c 20 72 65 73 75 6c 74 0a 09 69 6e 20 61 ill result..in a
3280: 6e 20 69 6e 66 69 6e 69 74 65 20 6c 6f 6f 70 20 n infinite loop
3290: 69 66 20 64 61 74 61 20 69 73 20 65 76 65 72 20 if data is ever
32a0: 62 75 66 66 65 72 65 64 20 69 6e 20 74 68 65 20 buffered in the
32b0: 42 49 4f 0a 09 73 74 72 75 63 74 75 72 65 2e 20 BIO..structure.
32c0: 5b 42 75 67 3a 20 35 36 32 33 5d 0a 0a 32 30 30 [Bug: 5623]..200
32d0: 30 2d 30 35 2d 33 31 20 20 42 72 65 6e 74 20 57 0-05-31 Brent W
32e0: 65 6c 63 68 20 3c 77 65 6c 63 68 40 73 63 72 69 elch <welch@scri
32f0: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 ptics.com>...* t
3300: 6c 73 2e 63 3a 20 43 68 61 6e 67 65 20 74 68 65 ls.c: Change the
3310: 20 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 20 ChannelHandler
3320: 74 6f 20 62 65 20 72 65 67 69 73 74 65 72 65 64 to be registered
3330: 20 6f 6e 20 74 68 65 20 6d 61 69 6e 0a 09 63 68 on the main..ch
3340: 61 6e 6e 65 6c 20 61 73 20 6f 70 70 73 65 64 20 annel as oppsed
3350: 74 6f 20 74 68 65 20 22 70 61 72 65 6e 74 22 2c to the "parent",
3360: 20 6f 72 20 73 75 70 65 72 63 65 65 64 65 64 2c or superceeded,
3370: 20 63 68 61 6e 6e 65 6c 2e 20 20 54 68 69 73 0a channel. This.
3380: 09 69 73 20 62 65 63 61 75 73 65 20 74 68 65 20 .is because the
3390: 73 6f 63 6b 65 74 20 64 72 69 76 65 72 20 6e 6f socket driver no
33a0: 74 69 66 69 65 73 20 74 68 65 20 6d 61 69 6e 20 tifies the main
33b0: 63 68 61 6e 6e 65 6c 2c 20 61 6e 64 20 74 68 65 channel, and the
33c0: 72 65 0a 09 61 72 65 20 74 69 6d 65 73 20 77 69 re..are times wi
33d0: 74 68 20 74 68 65 20 6d 61 69 6e 20 63 68 61 6e th the main chan
33e0: 6e 65 6c 20 67 65 74 73 20 63 6c 6f 73 65 64 2c nel gets closed,
33f0: 20 62 75 74 20 74 68 65 20 73 75 70 65 72 63 65 but the superce
3400: 64 65 64 0a 09 6f 6e 65 20 69 73 20 6e 6f 74 20 ded..one is not
3410: 79 65 74 20 63 6c 6f 73 65 64 2e 20 20 49 66 20 yet closed. If
3420: 74 68 65 20 63 68 61 6e 6e 65 6c 20 68 61 6e 64 the channel hand
3430: 6c 65 72 20 67 65 74 73 20 74 72 69 67 67 65 72 ler gets trigger
3440: 65 64 20 69 6e 0a 09 74 68 69 73 20 68 61 6c 66 ed in..this half
3450: 2d 6f 70 65 6e 20 73 74 61 74 65 20 69 74 20 69 -open state it i
3460: 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 s associated wit
3470: 68 20 74 68 65 20 73 75 70 65 72 63 65 65 64 65 h the superceede
3480: 64 0a 09 63 68 61 6e 6e 65 64 6c 2c 20 62 75 74 d..channedl, but
3490: 20 75 73 65 73 20 69 74 73 20 70 72 69 76 61 74 uses its privat
34a0: 65 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 e pointer to the
34b0: 20 6d 61 69 6e 20 63 68 61 6e 6e 65 6c 2c 20 77 main channel, w
34c0: 68 69 63 68 0a 09 69 73 20 6d 6f 73 74 6c 79 20 hich..is mostly
34d0: 64 65 73 74 72 6f 79 65 64 2e 20 20 45 6c 69 6d destroyed. Elim
34e0: 69 6e 61 74 65 64 20 74 68 65 20 72 65 64 75 6e inated the redun
34f0: 64 61 6e 74 20 63 61 6c 6c 20 74 6f 0a 09 54 63 dant call to..Tc
3500: 6c 5f 4e 6f 74 69 66 79 43 68 61 6e 6e 65 6c 20 l_NotifyChannel
3510: 66 72 6f 6d 20 54 6c 73 57 61 74 63 68 50 72 6f from TlsWatchPro
3520: 63 2e 20 5b 42 75 67 3a 20 35 36 32 33 5d 0a c. [Bug: 5623].