Hex Artifact Content

Artifact a2a1ac4d2b52701d9e90eb3b5a32acff438cf77d:


0000: 32 30 31 30 2d 30 38 2d 31 31 20 20 4a 65 66 66  2010-08-11  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 63 6f 6e 66 69 67 75 72 65 3a 20 72  ..* configure: r
0040: 65 67 65 6e 20 77 69 74 68 20 61 63 2d 32 2e 35  egen with ac-2.5
0050: 39 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c  9..* win/makefil
0060: 65 2e 76 63 2c 20 63 6f 6e 66 69 67 75 72 65 2e  e.vc, configure.
0070: 69 6e 3a 20 62 75 6d 70 20 76 65 72 73 69 6f 6e  in: bump version
0080: 20 74 6f 20 31 2e 36 2e 31 0a 09 2a 20 74 63 6c   to 1.6.1..* tcl
0090: 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 75  config/tcl.m4: u
00a0: 70 64 61 74 65 64 20 74 6f 20 54 45 41 20 33 2e  pdated to TEA 3.
00b0: 38 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 53 74 61  8...* tls.c (Sta
00c0: 74 75 73 4f 62 6a 43 6d 64 29 3a 20 6d 65 6d 6c  tusObjCmd): meml
00d0: 65 61 6b 3a 20 66 72 65 65 20 70 65 65 72 20 69  eak: free peer i
00e0: 66 20 6c 6f 61 64 65 64 2e 20 5b 42 75 67 20 33  f loaded. [Bug 3
00f0: 30 34 31 39 32 35 5d 0a 0a 32 30 31 30 2d 30 37  041925]..2010-07
0100: 2d 32 37 20 20 4a 65 66 66 20 48 6f 62 62 73 20  -27  Jeff Hobbs 
0110: 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74   <jeffh@ActiveSt
0120: 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73  ate.com>...* tls
0130: 2e 74 63 6c 20 28 74 6c 73 3a 3a 73 6f 63 6b 65  .tcl (tls::socke
0140: 74 29 3a 20 73 6f 6d 65 20 73 6f 63 6b 65 74 20  t): some socket 
0150: 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 73 20  implementations 
0160: 68 61 76 65 20 61 20 2d 74 79 70 65 0a 09 73 75  have a -type..su
0170: 70 70 6f 72 74 20 28 65 2e 67 2e 20 66 6f 72 20  pport (e.g. for 
0180: 69 6e 65 74 36 29 2e 0a 0a 32 30 30 39 2d 30 34  inet6)...2009-04
0190: 2d 32 33 20 20 4a 65 66 66 20 48 6f 62 62 73 20  -23  Jeff Hobbs 
01a0: 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74   <jeffh@ActiveSt
01b0: 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73  ate.com>...* tls
01c0: 2e 74 63 6c 20 28 74 6c 73 3a 3a 69 6e 69 74 6c  .tcl (tls::initl
01d0: 69 62 29 3a 20 61 64 64 20 73 75 70 70 6f 72 74  ib): add support
01e0: 20 66 6f 72 20 57 69 6e 64 6f 77 73 20 73 74 61   for Windows sta
01f0: 72 70 61 63 6b 0a 09 6f 70 65 72 61 74 69 6f 6e  rpack..operation
0200: 20 74 68 61 74 20 75 6e 62 75 6e 64 6c 65 73 20   that unbundles 
0210: 61 6e 79 20 63 6f 6e 73 74 69 74 75 65 6e 74 20  any constituent 
0220: 6c 69 62 72 61 72 69 65 73 2e 20 5b 41 53 20 42  libraries. [AS B
0230: 75 67 20 38 32 38 38 38 5d 0a 0a 32 30 30 38 2d  ug 82888]..2008-
0240: 30 36 2d 31 38 20 20 50 61 74 20 54 68 6f 79 74  06-18  Pat Thoyt
0250: 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73  s  <patthoyts@us
0260: 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e  ers.sourceforge.
0270: 6e 65 74 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 63  net>...* tests/c
0280: 69 70 68 65 72 73 2e 74 65 73 74 3a 20 46 69 78  iphers.test: Fix
0290: 20 66 6f 72 20 64 69 66 66 65 72 65 6e 74 20 6f   for different o
02a0: 70 65 6e 73 73 6c 20 76 65 72 73 69 6f 6e 73 2e  penssl versions.
02b0: 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65  ..* win/makefile
02c0: 2e 76 63 3a 20 20 20 20 55 70 64 61 74 65 73 20  .vc:    Updates 
02d0: 74 6f 20 73 75 70 70 6f 72 74 20 74 65 73 74 73  to support tests
02e0: 2e 0a 09 2a 20 77 69 6e 2f 72 75 6c 65 73 2e 76  ...* win/rules.v
02f0: 63 3a 0a 09 2a 20 77 69 6e 2f 6e 6d 61 6b 65 68  c:..* win/nmakeh
0300: 6c 70 2e 63 3a 0a 0a 32 30 30 38 2d 30 33 2d 31  lp.c:..2008-03-1
0310: 39 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c  9  Jeff Hobbs  <
0320: 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 74  jeffh@ActiveStat
0330: 65 2e 63 6f 6d 3e 0a 0a 09 2a 2a 2a 20 54 4c 53  e.com>...*** TLS
0340: 20 31 2e 36 20 54 41 47 47 45 44 20 2a 2a 2a 0a   1.6 TAGGED ***.
0350: 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 20  ..* Makefile.in 
0360: 28 64 69 73 74 29 3a 20 75 70 64 61 74 65 20 74  (dist): update t
0370: 6f 20 69 6e 63 6c 75 64 65 20 77 69 6e 2f 20 61  o include win/ a
0380: 6e 64 20 66 69 6c 65 2e 73 72 6c 0a 0a 09 2a 20  nd file.srl...* 
0390: 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a  win/makefile.vc:
03a0: 20 62 75 6d 70 20 76 65 72 73 69 6f 6e 20 74 6f   bump version to
03b0: 20 31 2e 36 0a 09 2a 20 63 6f 6e 66 69 67 75 72   1.6..* configur
03c0: 65 2e 69 6e 3a 20 75 73 65 20 2d 4c 20 61 6e 64  e.in: use -L and
03d0: 20 2d 52 20 77 68 65 72 65 20 6e 65 63 65 73 73   -R where necess
03e0: 61 72 79 2e 20 5b 42 75 67 20 31 37 34 32 38 35  ary. [Bug 174285
03f0: 39 5d 0a 0a 09 2a 20 61 63 6c 6f 63 61 6c 2e 6d  9]...* aclocal.m
0400: 34 3a 20 69 6d 70 72 6f 76 65 20 2d 2d 77 69 74  4: improve --wit
0410: 68 2d 73 73 6c 2d 64 69 72 20 63 68 65 63 6b 2e  h-ssl-dir check.
0420: 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f  ...* tests/tlsIO
0430: 2e 74 65 73 74 20 28 74 6c 73 49 4f 2d 31 34 2e  .test (tlsIO-14.
0440: 2a 29 3a 20 20 20 41 64 64 20 74 6c 73 3a 3a 75  *):   Add tls::u
0450: 6e 69 6d 70 6f 72 74 20 66 6f 72 20 73 79 6d 6d  nimport for symm
0460: 65 74 72 79 0a 09 2a 20 74 6c 73 2e 68 74 6d 2c  etry..* tls.htm,
0470: 20 74 6c 73 2e 63 20 28 55 6e 69 6d 70 6f 72 74   tls.c (Unimport
0480: 4f 62 6a 43 6d 64 29 3a 20 74 6f 20 74 6c 73 3a  ObjCmd): to tls:
0490: 3a 69 6d 70 6f 72 74 2e 20 5b 42 75 67 20 31 32  :import. [Bug 12
04a0: 30 33 32 37 33 5d 0a 0a 09 2a 20 74 6c 73 2e 63  03273]...* tls.c
04b0: 20 28 54 6c 73 5f 43 6c 65 61 6e 2c 20 49 6d 70   (Tls_Clean, Imp
04c0: 6f 72 74 4f 62 6a 43 6d 64 29 3a 20 46 69 78 20  ortObjCmd): Fix 
04d0: 63 6c 65 61 6e 75 70 20 6d 65 6d 20 6c 65 61 6b  cleanup mem leak
04e0: 20 5b 42 75 67 20 31 34 31 34 30 34 35 5d 0a 09   [Bug 1414045]..
04f0: 55 73 65 20 62 65 74 74 65 72 20 45 76 61 6c 20  Use better Eval 
0500: 41 50 49 73 2c 20 63 6c 65 61 6e 65 72 20 54 63  APIs, cleaner Tc
0510: 6c 5f 4f 62 6a 2d 68 61 6e 64 6c 69 6e 67 2e 0a  l_Obj-handling..
0520: 0a 32 30 30 38 2d 30 33 2d 31 39 20 20 50 61 74  .2008-03-19  Pat
0530: 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f   Thoyts  <pattho
0540: 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65  yts@users.source
0550: 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 77  forge.net>...* w
0560: 69 6e 2f 4d 61 6b 65 66 69 6c 65 2e 76 63 20 20  in/Makefile.vc  
0570: 55 70 64 61 74 65 64 20 74 68 65 20 6e 6d 61 6b  Updated the nmak
0580: 65 20 62 75 69 6c 64 20 66 69 6c 65 73 20 77 69  e build files wi
0590: 74 68 20 4d 53 56 43 39 20 73 75 70 70 6f 72 74  th MSVC9 support
05a0: 0a 09 2a 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63  ..* win/rules.vc
05b0: 3a 20 20 20 20 61 6e 64 20 66 69 78 65 64 20 74  :    and fixed t
05c0: 6f 20 72 75 6e 20 74 68 65 20 74 65 73 74 2d 73  o run the test-s
05d0: 75 69 74 65 20 70 72 6f 70 65 72 6c 79 2e 0a 09  uite properly...
05e0: 2a 20 77 69 6e 2f 6e 6d 61 6b 65 68 6c 70 2e 63  * win/nmakehlp.c
05f0: 3a 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 28 74 6c  :..* tls.tcl (tl
0600: 73 3a 3a 69 6e 69 74 6c 69 62 29 3a 20 43 6f 72  s::initlib): Cor
0610: 72 65 63 74 65 64 20 6e 61 6d 65 73 70 61 63 65  rected namespace
0620: 20 68 61 6e 64 6c 69 6e 67 2e 0a 09 2a 20 74 6c   handling...* tl
0630: 73 2e 63 3a 20 41 70 70 6c 69 65 64 20 23 31 38  s.c: Applied #18
0640: 39 30 32 32 33 20 74 6f 20 66 69 78 20 68 61 6e  90223 to fix han
0650: 64 73 68 61 6b 65 20 6f 6e 20 6e 6f 6e 2d 62 6c  dshake on non-bl
0660: 6f 63 6b 69 6e 67 20 73 6f 63 6b 65 74 73 0a 0a  ocking sockets..
0670: 32 30 30 38 2d 30 33 2d 31 37 20 20 4a 65 66 66  2008-03-17  Jeff
0680: 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41   Hobbs  <jeffh@A
0690: 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a  ctiveState.com>.
06a0: 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73  ..* tls.tcl (tls
06b0: 3a 3a 69 6e 69 74 6c 69 62 29 3a 20 20 20 20 20  ::initlib):     
06c0: 6c 6f 61 64 20 74 6c 73 2e 74 63 6c 20 66 69 72  load tls.tcl fir
06d0: 73 74 20 61 6e 64 20 63 61 6c 6c 0a 09 2a 20 4d  st and call..* M
06e0: 61 6b 65 66 69 6c 65 2e 69 6e 20 28 70 6b 67 49  akefile.in (pkgI
06f0: 6e 64 65 78 2e 74 63 6c 29 3a 20 74 6c 73 3a 3a  ndex.tcl): tls::
0700: 69 6e 69 74 6c 69 62 20 74 6f 20 6c 6f 61 64 20  initlib to load 
0710: 6c 69 62 72 61 72 79 20 74 6f 0a 09 68 61 6e 64  library to..hand
0720: 6c 65 20 63 77 64 20 63 68 61 6e 67 65 73 2e 20  le cwd changes. 
0730: 5b 42 75 67 20 31 38 38 38 31 31 33 5d 0a 0a 32  [Bug 1888113]..2
0740: 30 30 37 2d 30 39 2d 30 36 20 20 50 61 74 20 54  007-09-06  Pat T
0750: 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74  hoyts  <patthoyt
0760: 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f  s@users.sourcefo
0770: 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 6c 73  rge.net>...* tls
0780: 2e 63 3a 20 20 20 20 20 20 20 20 20 20 20 53 69  .c:           Si
0790: 6c 65 6e 63 65 20 36 34 20 62 69 74 20 69 6e 74  lence 64 bit int
07a0: 65 67 65 72 20 63 6f 6e 76 65 72 73 69 6f 6e 20  eger conversion 
07b0: 77 61 72 6e 69 6e 67 73 0a 09 2a 20 77 69 6e 2f  warnings..* win/
07c0: 6e 6d 61 6b 65 68 6c 70 2e 63 3a 20 20 55 70 64  nmakehlp.c:  Upd
07d0: 61 74 65 20 62 75 69 6c 64 20 73 79 73 74 65 6d  ate build system
07e0: 20 74 6f 20 73 75 70 70 6f 72 74 20 41 4d 44 36   to support AMD6
07f0: 34 20 74 61 72 67 65 74 0a 09 2a 20 77 69 6e 2f  4 target..* win/
0800: 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 20 77 69 74  makefile.vc: wit
0810: 68 20 4d 53 56 43 38 0a 09 2a 20 77 69 6e 2f 72  h MSVC8..* win/r
0820: 75 6c 65 73 2e 76 63 3a 0a 0a 32 30 30 37 2d 30  ules.vc:..2007-0
0830: 36 2d 32 32 20 20 4a 65 66 66 20 48 6f 62 62 73  6-22  Jeff Hobbs
0840: 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53    <jeffh@ActiveS
0850: 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c  tate.com>...* tl
0860: 73 49 4f 2e 63 20 28 54 6c 73 49 6e 70 75 74 50  sIO.c (TlsInputP
0870: 72 6f 63 2c 20 54 6c 73 4f 75 74 70 75 74 50 72  roc, TlsOutputPr
0880: 6f 63 2c 20 54 6c 73 57 61 74 63 68 50 72 6f 63  oc, TlsWatchProc
0890: 29 3a 20 0a 09 2a 20 74 6c 73 2e 63 20 28 56 65  ): ..* tls.c (Ve
08a0: 72 69 66 79 43 61 6c 6c 62 61 63 6b 29 3a 20 61  rifyCallback): a
08b0: 64 64 20 61 6e 20 73 74 61 74 65 20 66 6c 61 67  dd an state flag
08c0: 20 69 6e 20 74 68 65 20 76 65 72 69 66 79 20 63   in the verify c
08d0: 61 6c 6c 62 61 63 6b 0a 09 74 68 61 74 20 70 72  allback..that pr
08e0: 65 76 65 6e 74 73 20 70 6f 73 73 69 62 6c 79 20  events possibly 
08f0: 72 65 63 75 72 73 69 6f 6e 20 28 6f 6e 20 27 75  recursion (on 'u
0900: 70 64 61 74 65 27 29 2e 20 5b 42 75 67 20 31 36  pdate'). [Bug 16
0910: 35 32 33 38 30 5d 0a 0a 09 2a 20 74 65 73 74 73  52380]...* tests
0920: 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20 72  /ciphers.test: r
0930: 65 77 6f 72 6b 65 64 20 74 6f 20 6d 61 6b 65 20  eworked to make 
0940: 74 65 73 74 20 6f 75 74 70 75 74 20 63 6c 65 61  test output clea
0950: 6e 65 72 20 74 6f 0a 09 75 6e 64 65 72 73 74 61  ner to..understa
0960: 6e 64 20 6d 69 73 73 69 6e 67 20 63 69 70 68 65  nd missing ciphe
0970: 72 73 20 28 69 66 20 61 6e 79 29 0a 0a 09 2a 20  rs (if any)...* 
0980: 4d 61 6b 65 66 69 6c 65 2e 69 6e 2c 20 74 63 6c  Makefile.in, tcl
0990: 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 75  config/tcl.m4: u
09a0: 70 64 61 74 65 20 74 6f 20 54 45 41 20 33 2e 36  pdate to TEA 3.6
09b0: 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2c 20 63  ..* configure, c
09c0: 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 20 20 20  onfigure.in:    
09d0: 20 20 20 75 73 69 6e 67 20 61 75 74 6f 63 6f 6e     using autocon
09e0: 66 2d 32 2e 35 39 0a 0a 32 30 30 37 2d 30 32 2d  f-2.59..2007-02-
09f0: 32 38 20 20 50 61 74 20 54 68 6f 79 74 73 20 20  28  Pat Thoyts  
0a00: 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 73  <patthoyts@users
0a10: 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74  .sourceforge.net
0a20: 3e 0a 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69  >...* win/makefi
0a30: 6c 65 2e 76 63 3a 20 52 65 62 61 73 65 20 74 68  le.vc: Rebase th
0a40: 65 20 44 4c 4c 20 73 65 6e 73 69 62 6c 79 2e 20  e DLL sensibly. 
0a50: 41 64 64 69 74 69 6f 6e 61 6c 20 6c 69 62 73 20  Additional libs 
0a60: 66 6f 72 20 0a 09 73 74 61 74 69 63 20 6c 69 6e  for ..static lin
0a70: 6b 20 6f 66 20 6f 70 65 6e 73 73 6c 2e 0a 09 2a  k of openssl...*
0a80: 20 74 6c 73 2e 74 63 6c 3a 20 62 75 67 20 23 31   tls.tcl: bug #1
0a90: 35 37 39 38 33 37 20 2d 20 54 49 50 20 32 37 38  579837 - TIP 278
0aa0: 20 62 75 67 20 28 70 6f 73 73 69 62 6c 79 29 20   bug (possibly) 
0ab0: 2d 20 66 69 78 65 64 2e 0a 0a 32 30 30 36 2d 30  - fixed...2006-0
0ac0: 33 2d 33 30 20 20 50 61 74 20 54 68 6f 79 74 73  3-30  Pat Thoyts
0ad0: 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65    <patthoyts@use
0ae0: 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e  rs.sourceforge.n
0af0: 65 74 3e 0a 0a 09 2a 20 74 63 6c 63 6f 6e 66 69  et>...* tclconfi
0b00: 67 2f 2a 3a 20 20 55 70 64 61 74 65 64 20 74 6f  g/*:  Updated to
0b10: 20 54 45 41 20 33 2e 35 20 69 6e 20 72 65 73 70   TEA 3.5 in resp
0b20: 6f 6e 73 65 20 74 6f 20 62 75 67 20 31 34 36 30  onse to bug 1460
0b30: 34 39 31 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65  491..* configure
0b40: 2a 3a 20 20 20 52 65 67 65 6e 65 72 61 74 65 64  *:   Regenerated
0b50: 20 63 6f 6e 66 69 67 75 72 65 2e 0a 0a 32 30 30   configure...200
0b60: 35 2d 30 32 2d 30 38 20 20 4a 65 66 66 20 48 6f  5-02-08  Jeff Ho
0b70: 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69  bbs  <jeffh@Acti
0b80: 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a  veState.com>...*
0b90: 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 2c 20 74 63   Makefile.in, tc
0ba0: 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a 20  lconfig/tcl.m4: 
0bb0: 75 70 64 61 74 65 20 74 6f 20 54 45 41 20 33 2e  update to TEA 3.
0bc0: 32 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2c 20  2..* configure, 
0bd0: 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 20 20  configure.in:   
0be0: 20 20 20 20 75 73 69 6e 67 20 61 75 74 6f 63 6f      using autoco
0bf0: 6e 66 2d 32 2e 35 39 0a 0a 32 30 30 34 2d 31 32  nf-2.59..2004-12
0c00: 2d 32 33 20 20 50 61 74 20 54 68 6f 79 74 73 20  -23  Pat Thoyts 
0c10: 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 72   <patthoyts@user
0c20: 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65  s.sourceforge.ne
0c30: 74 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e  t>...* Makefile.
0c40: 69 6e 3a 20 20 20 20 20 20 52 65 6d 6f 76 65 64  in:      Removed
0c50: 20 73 70 75 72 69 6f 75 73 20 63 6f 70 79 69 6e   spurious copyin
0c60: 67 20 6f 66 20 74 6c 73 2e 74 63 6c 20 69 6e 74  g of tls.tcl int
0c70: 6f 20 74 68 65 0a 09 20 20 20 20 20 20 20 20 20  o the..         
0c80: 20 20 20 20 20 20 20 20 20 20 20 62 75 69 6c 64             build
0c90: 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a 32 30 30   directory...200
0ca0: 34 2d 31 32 2d 32 32 20 20 50 61 74 20 54 68 6f  4-12-22  Pat Tho
0cb0: 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40  yts  <patthoyts@
0cc0: 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67  users.sourceforg
0cd0: 65 2e 6e 65 74 3e 0a 0a 09 2a 20 63 6f 6e 66 69  e.net>...* confi
0ce0: 67 75 72 65 2e 69 6e 3a 20 20 20 20 20 49 6e 63  gure.in:     Inc
0cf0: 72 65 6d 65 6e 74 65 64 20 6d 69 6e 6f 72 20 76  remented minor v
0d00: 65 72 73 69 6f 6e 20 74 6f 20 31 2e 35 2e 31 0a  ersion to 1.5.1.
0d10: 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 20 20  .* configure:   
0d20: 20 20 20 20 20 0a 0a 32 30 30 34 2d 31 32 2d 31       ..2004-12-1
0d30: 37 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c  7  Pat Thoyts  <
0d40: 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e  patthoyts@users.
0d50: 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e  sourceforge.net>
0d60: 0a 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c  ...* win/makefil
0d70: 65 2e 76 63 3a 20 20 41 64 64 65 64 20 74 68 65  e.vc:  Added the
0d80: 20 4d 53 56 43 20 62 75 69 6c 64 20 73 79 73 74   MSVC build syst
0d90: 65 6d 20 28 66 72 6f 6d 20 74 68 65 20 54 63 6c  em (from the Tcl
0da0: 0a 09 2a 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63  ..* win/rules.vc
0db0: 3a 20 20 20 20 20 73 61 6d 70 6c 65 65 78 74 65  :     sampleexte
0dc0: 6e 73 69 6f 6e 29 2e 0a 09 2a 20 77 69 6e 2f 6e  nsion)...* win/n
0dd0: 6d 61 6b 65 68 6c 70 2e 63 3a 0a 09 2a 20 77 69  makehlp.c:..* wi
0de0: 6e 2f 74 6c 73 2e 72 63 20 20 20 20 20 20 20 20  n/tls.rc        
0df0: 41 64 64 65 64 20 57 69 6e 64 6f 77 73 20 72 65  Added Windows re
0e00: 73 6f 75 72 63 65 20 66 69 6c 65 2e 0a 09 0a 09  source file.....
0e10: 2a 20 74 6c 73 2e 74 63 6c 3a 20 20 20 20 20 20  * tls.tcl:      
0e20: 20 20 20 20 46 72 6f 6d 20 70 61 74 63 68 20 23      From patch #
0e30: 39 34 38 31 35 35 2c 20 61 64 64 65 64 20 73 75  948155, added su
0e40: 70 70 6f 72 74 20 66 6f 72 0a 09 20 20 20 20 20  pport for..     
0e50: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61                 a
0e60: 6c 74 65 72 6e 61 74 65 20 73 6f 63 6b 65 74 20  lternate socket 
0e70: 63 6f 6d 6d 61 6e 64 73 2e 0a 09 2a 20 74 6c 73  commands...* tls
0e80: 2e 63 3a 20 20 20 20 20 20 20 20 20 20 20 20 51  .c:            Q
0e90: 75 69 65 74 65 6e 20 73 6f 6d 65 20 4d 53 56 43  uieten some MSVC
0ea0: 20 77 61 72 6e 69 6e 67 73 2e 20 50 72 65 66 65   warnings. Prefe
0eb0: 72 20 63 6b 61 6c 6c 6f 63 0a 09 20 20 20 20 20  r ckalloc..     
0ec0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f                 o
0ed0: 76 65 72 20 54 63 6c 5f 41 6c 6c 6f 63 2e 20 28  ver Tcl_Alloc. (
0ee0: 44 61 76 69 64 20 47 72 61 76 65 72 61 75 78 29  David Graveraux)
0ef0: 2e 0a 0a 32 30 30 34 2d 30 36 2d 32 39 20 20 50  ...2004-06-29  P
0f00: 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74  at Thoyts  <patt
0f10: 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72  hoyts@users.sour
0f20: 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a  ceforge.net>...*
0f30: 20 74 6c 73 2e 63 3a 20 20 20 20 20 20 20 20 20   tls.c:         
0f40: 20 20 20 46 69 78 75 70 20 74 6f 20 62 75 69 6c     Fixup to buil
0f50: 64 20 61 67 61 69 6e 73 74 20 74 63 6c 20 38 2e  d against tcl 8.
0f60: 33 2e 33 2e 20 48 61 6e 64 6c 65 0a 09 2a 20 74  3.3. Handle..* t
0f70: 6c 73 49 4f 2e 63 3a 20 20 20 20 20 20 20 20 20  lsIO.c:         
0f80: 20 38 2e 34 20 63 6f 6e 73 74 69 66 69 63 61 74   8.4 constificat
0f90: 69 6f 6e 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e  ion....* tlsInt.
0fa0: 68 3a 20 20 20 20 20 20 20 20 20 41 64 64 65 64  h:         Added
0fb0: 20 68 65 61 64 65 72 73 20 72 65 71 75 69 72 65   headers require
0fc0: 64 20 77 69 74 68 20 4d 53 56 43 20 6f 6e 20 57  d with MSVC on W
0fd0: 69 6e 33 32 2e 0a 09 2a 20 74 6c 73 58 35 30 39  in32...* tlsX509
0fe0: 2e 63 3a 20 20 20 20 20 20 20 20 75 6e 64 65 66  .c:        undef
0ff0: 20 6d 69 6e 20 61 6e 64 20 6d 61 78 20 69 66 20   min and max if 
1000: 64 65 66 69 6e 65 64 20 28 77 69 6e 33 32 29 2e  defined (win32).
1010: 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e  ...* Makefile.in
1020: 3a 20 20 20 20 20 20 46 69 78 65 64 20 74 6f 20  :      Fixed to 
1030: 62 75 69 6c 64 20 6f 6e 20 77 69 6e 33 32 20 75  build on win32 u
1040: 73 69 6e 67 20 6d 73 79 73 20 77 69 74 68 0a 09  sing msys with..
1050: 2a 20 61 63 6c 6f 63 61 6c 2e 6d 34 3a 20 20 20  * aclocal.m4:   
1060: 20 20 20 20 4d 53 56 43 2e 20 41 6c 73 6f 20 66      MSVC. Also f
1070: 69 78 65 64 20 74 68 65 20 74 65 73 74 20 74 61  ixed the test ta
1080: 72 67 65 74 2e 0a 09 2a 20 63 6f 6e 66 69 67 75  rget...* configu
1090: 72 65 2e 69 6e 3a 0a 09 2a 20 63 6f 6e 66 69 67  re.in:..* config
10a0: 75 72 65 3a 20 20 20 20 20 20 20 20 52 65 67 65  ure:        Rege
10b0: 6e 65 72 61 74 65 64 2e 0a 09 2a 20 74 63 6c 63  nerated...* tclc
10c0: 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 55 70  onfig/tcl.m4: Up
10d0: 64 61 74 65 64 20 74 6f 20 6d 6f 73 74 20 72 65  dated to most re
10e0: 63 65 6e 74 20 76 65 72 73 69 6f 6e 2e 0a 0a 32  cent version...2
10f0: 30 30 34 2d 30 33 2d 32 33 20 20 44 61 6e 20 52  004-03-23  Dan R
1100: 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 68  azzell <research
1110: 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73  @starfishsystems
1120: 2e 63 61 3e 0a 09 2a 20 74 6c 73 2e 63 3a 0a 09  .ca>..* tls.c:..
1130: 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a 09 2a 20 74  * tlsBIO.c:..* t
1140: 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 49 6e  lsIO.c:..* tlsIn
1150: 74 2e 68 3a 09 46 69 78 65 64 20 74 79 70 65 20  t.h:.Fixed type 
1160: 6d 61 74 63 68 20 77 61 72 6e 69 6e 67 73 2e 0a  match warnings..
1170: 0a 32 30 30 34 2d 30 33 2d 31 39 20 20 4a 65 66  .2004-03-19  Jef
1180: 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40  f Hobbs  <jeffh@
1190: 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e  ActiveState.com>
11a0: 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f  ...* tls.c (Tls_
11b0: 49 6e 69 74 29 3a 20 20 20 72 65 70 6c 61 63 65  Init):   replace
11c0: 64 20 6f 6c 64 65 72 20 54 45 41 20 63 6f 6e 66  d older TEA conf
11d0: 69 67 20 77 69 74 68 20 6e 65 77 65 72 0a 09 2a  ig with newer..*
11e0: 20 63 6f 6e 66 69 67 2f 2a 20 28 72 65 6d 6f 76   config/* (remov
11f0: 65 64 29 3a 0a 09 2a 20 70 6b 67 49 6e 64 65 78  ed):..* pkgIndex
1200: 2e 74 63 6c 2e 69 6e 2c 20 73 74 72 6e 63 61 73  .tcl.in, strncas
1210: 65 63 6d 70 2e 63 20 28 72 65 6d 6f 76 65 64 29  ecmp.c (removed)
1220: 3a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e  :..* Makefile.in
1230: 2c 20 61 63 6c 6f 63 61 6c 2e 6d 34 2c 20 63 6f  , aclocal.m4, co
1240: 6e 66 69 67 75 72 65 2c 20 63 6f 6e 66 69 67 75  nfigure, configu
1250: 72 65 2e 69 6e 3a 0a 09 2a 20 74 63 6c 63 6f 6e  re.in:..* tclcon
1260: 66 69 67 2f 52 45 41 44 4d 45 2e 74 78 74 2c 20  fig/README.txt, 
1270: 74 63 6c 63 6f 6e 66 69 67 2f 69 6e 73 74 61 6c  tclconfig/instal
1280: 6c 2d 73 68 2c 20 74 63 6c 63 6f 6e 66 69 67 2f  l-sh, tclconfig/
1290: 74 63 6c 2e 6d 34 3a 0a 0a 32 30 30 34 2d 30 33  tcl.m4:..2004-03
12a0: 2d 31 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c  -17  Dan Razzell
12b0: 20 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66   <research@starf
12c0: 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a  ishsystems.ca>..
12d0: 09 2a 20 74 6c 73 58 35 30 39 2e 63 3a 09 41 64  .* tlsX509.c:.Ad
12e0: 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 6c 6f  d support for lo
12f0: 6e 67 20 73 65 72 69 61 6c 20 6e 75 6d 62 65 72  ng serial number
1300: 73 20 70 65 72 20 52 46 43 20 33 32 38 30 2e 0a  s per RFC 3280..
1310: 09 09 09 46 6f 72 6d 61 74 20 69 73 20 6e 6f 77  ...Format is now
1320: 20 68 65 78 61 64 65 63 69 6d 61 6c 2e 20 0a 09   hexadecimal. ..
1330: 09 09 5b 52 65 71 75 65 73 74 20 23 39 31 35 33  ..[Request #9153
1340: 31 33 5d 0a 09 09 09 43 6f 72 72 65 63 74 6c 79  13]....Correctly
1350: 20 63 6f 6e 76 65 72 74 20 63 65 72 74 69 66 69   convert certifi
1360: 63 61 74 65 20 44 69 73 74 69 6e 67 75 69 73 68  cate Distinguish
1370: 65 64 20 4e 61 6d 65 73 0a 09 09 09 74 6f 20 54  ed Names....to T
1380: 63 6c 20 73 74 72 69 6e 67 20 72 65 70 72 65 73  cl string repres
1390: 65 6e 74 61 74 69 6f 6e 2e 20 20 45 6c 69 6d 69  entation.  Elimi
13a0: 6e 61 74 65 73 20 75 73 65 20 6f 66 0a 09 09 09  nates use of....
13b0: 64 65 70 72 65 63 61 74 65 64 20 4f 70 65 6e 53  deprecated OpenS
13c0: 53 4c 20 66 75 6e 63 74 69 6f 6e 2e 20 20 46 6f  SL function.  Fo
13d0: 72 6d 61 74 20 69 73 20 6e 6f 77 20 63 6f 6d 70  rmat is now comp
13e0: 6c 69 61 6e 74 0a 09 09 09 77 69 74 68 20 52 46  liant....with RF
13f0: 43 20 32 32 35 33 2e 20 20 5b 52 65 71 75 65 73  C 2253.  [Reques
1400: 74 20 23 39 31 35 33 31 35 5d 0a 0a 32 30 30 34  t #915315]..2004
1410: 2d 30 32 2d 31 37 20 20 44 61 6e 20 52 61 7a 7a  -02-17  Dan Razz
1420: 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 74  ell <research@st
1430: 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61  arfishsystems.ca
1440: 3e 0a 0a 09 54 4c 53 20 31 2e 35 2e 30 20 52 45  >...TLS 1.5.0 RE
1450: 4c 45 41 53 45 0a 0a 32 30 30 34 2d 30 32 2d 31  LEASE..2004-02-1
1460: 32 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c  2  Dan Razzell.<
1470: 72 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73  research@starfis
1480: 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a  hsystems.ca>...*
1490: 20 74 6c 73 2e 63 3a 09 41 6c 6c 6f 77 20 76 65   tls.c:.Allow ve
14a0: 72 69 66 79 20 63 61 6c 6c 62 61 63 6b 20 74 6f  rify callback to
14b0: 20 72 65 74 75 72 6e 20 65 6d 70 74 79 20 72 65   return empty re
14c0: 73 75 6c 74 2e 0a 09 2a 20 74 6c 73 2e 68 74 6d  sult...* tls.htm
14d0: 3a 09 44 6f 63 75 6d 65 6e 74 20 63 61 6c 6c 62  :.Document callb
14e0: 61 63 6b 20 62 65 68 61 76 69 6f 72 73 2e 0a 0a  ack behaviors...
14f0: 32 30 30 34 2d 30 32 2d 31 31 20 20 44 61 6e 20  2004-02-11  Dan 
1500: 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63  Razzell.<researc
1510: 68 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d  h@starfishsystem
1520: 73 2e 63 61 3e 0a 0a 09 2a 20 74 65 73 74 73 2f  s.ca>...* tests/
1530: 74 6c 73 49 4f 2e 74 65 73 74 3a 0a 09 2a 20 72  tlsIO.test:..* r
1540: 65 6d 6f 74 65 2e 74 63 6c 3a 09 43 6f 6d 70 6c  emote.tcl:.Compl
1550: 65 74 65 20 70 72 69 76 61 74 65 20 6b 65 79 20  ete private key 
1560: 6e 61 6d 65 20 63 68 61 6e 67 65 73 20 66 72 6f  name changes fro
1570: 6d 20 32 30 30 31 2d 30 36 2d 32 31 2e 0a 0a 32  m 2001-06-21...2
1580: 30 30 34 2d 30 32 2d 30 33 20 20 44 61 6e 20 52  004-02-03  Dan R
1590: 61 7a 7a 65 6c 6c 20 3c 72 65 73 65 61 72 63 68  azzell <research
15a0: 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73  @starfishsystems
15b0: 2e 63 61 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c  .ca>...* Makefil
15c0: 65 2e 69 6e 3a 09 52 65 6d 6f 76 65 64 20 63 69  e.in:.Removed ci
15d0: 72 63 75 6c 61 72 20 64 65 70 65 6e 64 65 6e 63  rcular dependenc
15e0: 79 2e 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 09  y...* tlsInt.h:.
15f0: 4d 61 6b 65 20 66 75 6e 63 74 69 6f 6e 20 64 65  Make function de
1600: 63 6c 61 72 61 74 69 6f 6e 73 20 65 78 70 6c 69  clarations expli
1610: 63 69 74 2e 0a 09 2a 20 74 6c 73 2e 63 3a 09 46  cit...* tls.c:.F
1620: 69 78 20 74 79 70 65 20 6d 61 74 63 68 20 61 6e  ix type match an
1630: 64 20 75 6e 75 73 65 64 20 76 61 72 69 61 62 6c  d unused variabl
1640: 65 20 77 61 72 6e 69 6e 67 73 2e 0a 09 2a 20 74  e warnings...* t
1650: 6c 73 42 49 4f 2e 63 3a 09 46 69 78 20 74 79 70  lsBIO.c:.Fix typ
1660: 65 20 6d 61 74 63 68 20 77 61 72 6e 69 6e 67 2e  e match warning.
1670: 0a 0a 32 30 30 33 2d 31 32 2d 31 35 20 20 44 61  ..2003-12-15  Da
1680: 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61  n Razzell.<resea
1690: 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74  rch@starfishsyst
16a0: 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 70 6b 67 49  ems.ca>...* pkgI
16b0: 6e 64 65 78 2e 74 63 6c 2e 69 6e 3a 0a 09 2a 20  ndex.tcl.in:..* 
16c0: 74 6c 73 2e 68 74 6d 3a 0a 09 2a 20 74 65 73 74  tls.htm:..* test
16d0: 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 75 70  s/tlsIO.test: up
16e0: 64 61 74 65 64 20 76 65 72 73 69 6f 6e 20 74 6f  dated version to
16f0: 20 31 2e 35 2e 0a 0a 32 30 30 33 2d 31 30 2d 30   1.5...2003-10-0
1700: 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c  7  Dan Razzell.<
1710: 72 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73  research@starfis
1720: 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a  hsystems.ca>...*
1730: 20 74 65 73 74 73 2f 63 69 70 68 65 72 73 2e 74   tests/ciphers.t
1740: 65 73 74 3a 20 75 70 64 61 74 65 64 20 6c 69 73  est: updated lis
1750: 74 20 6f 66 20 74 65 73 74 65 64 20 63 69 70 68  t of tested ciph
1760: 65 72 73 20 74 6f 20 63 6f 72 72 65 73 70 6f 6e  ers to correspon
1770: 64 0a 09 2a 20 77 69 74 68 20 74 68 6f 73 65 20  d..* with those 
1780: 61 76 61 69 6c 61 62 6c 65 20 66 72 6f 6d 20 4f  available from O
1790: 70 65 6e 53 53 4c 2e 20 5b 52 65 71 75 65 73 74  penSSL. [Request
17a0: 20 23 38 31 31 39 38 31 5d 0a 0a 32 30 30 33 2d   #811981]..2003-
17b0: 31 30 2d 30 37 20 20 44 61 6e 20 52 61 7a 7a 65  10-07  Dan Razze
17c0: 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 74 61  ll <research@sta
17d0: 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e  rfishsystems.ca>
17e0: 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64 64 65  ...* tls.c: adde
17f0: 64 20 43 4f 4e 53 54 20 77 69 74 68 20 69 6e 74  d CONST with int
1800: 65 6e 74 20 73 69 6d 69 6c 61 72 20 74 6f 20 74  ent similar to t
1810: 68 6f 73 65 20 66 72 6f 6d 20 32 30 30 32 2d 30  hose from 2002-0
1820: 32 2d 30 34 2e 0a 09 5b 52 65 71 75 65 73 74 20  2-04...[Request 
1830: 23 38 31 31 39 31 31 5d 0a 0a 32 30 30 33 2d 30  #811911]..2003-0
1840: 37 2d 30 37 20 20 4a 65 66 66 20 48 6f 62 62 73  7-07  Jeff Hobbs
1850: 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53    <jeffh@ActiveS
1860: 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c  tate.com>...* tl
1870: 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20  s.c (Tls_Init): 
1880: 20 20 61 64 64 65 64 20 74 6c 73 3a 3a 6d 69 73    added tls::mis
1890: 63 20 63 6f 6d 6d 61 6e 64 20 70 72 6f 76 69 64  c command provid
18a0: 65 64 20 62 79 0a 09 2a 20 74 6c 73 58 35 30 39  ed by..* tlsX509
18b0: 2e 63 3a 20 20 20 20 20 20 20 20 20 20 57 6f 6a  .c:          Woj
18c0: 63 69 65 63 68 20 4b 6f 63 6a 61 6e 20 28 77 6f  ciech Kocjan (wo
18d0: 6a 63 69 65 63 68 20 6b 6f 63 6a 61 6e 2e 6f 72  jciech kocjan.or
18e0: 67 29 0a 09 2a 20 74 65 73 74 73 2f 6b 65 79 74  g)..* tests/keyt
18f0: 65 73 74 31 2e 74 63 6c 3a 20 74 6f 20 65 78 70  est1.tcl: to exp
1900: 6f 73 65 20 6d 6f 72 65 20 6c 6f 77 2d 6c 65 76  ose more low-lev
1910: 65 6c 20 53 53 4c 20 63 6f 6d 6d 61 6e 64 73 0a  el SSL commands.
1920: 09 2a 20 74 65 73 74 73 2f 6b 65 79 74 65 73 74  .* tests/keytest
1930: 32 2e 74 63 6c 3a 0a 0a 32 30 30 33 2d 30 35 2d  2.tcl:..2003-05-
1940: 31 35 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 09  15  Dan Razzell.
1950: 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66 69  <research@starfi
1960: 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 20 0a 0a  shsystems.ca> ..
1970: 09 2a 20 74 6c 73 2e 74 63 6c 3a 0a 09 2a 20 74  .* tls.tcl:..* t
1980: 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 74 6c 73 2e  lsInt.h:..* tls.
1990: 63 3a 20 61 64 64 20 73 75 70 70 6f 72 74 20 66  c: add support f
19a0: 6f 72 20 62 69 6e 64 69 6e 67 20 61 20 70 61 73  or binding a pas
19b0: 73 77 6f 72 64 20 63 61 6c 6c 62 61 63 6b 20 74  sword callback t
19c0: 6f 20 74 68 65 20 73 6f 63 6b 65 74 2e 0a 09 4e  o the socket...N
19d0: 6f 77 20 65 61 63 68 20 73 6f 63 6b 65 74 20 63  ow each socket c
19e0: 61 6e 20 68 61 76 65 20 69 74 73 20 6f 77 6e 20  an have its own 
19f0: 63 6f 6d 6d 61 6e 64 20 61 6e 64 20 70 61 73 73  command and pass
1a00: 77 6f 72 64 20 63 61 6c 6c 62 61 63 6b 73 20 69  word callbacks i
1a10: 6e 73 74 65 61 64 0a 09 6f 66 20 62 65 69 6e 67  nstead..of being
1a20: 20 66 6f 72 63 65 64 20 74 6f 20 68 61 76 65 20   forced to have 
1a30: 61 6c 6c 20 70 61 73 73 77 6f 72 64 20 6d 61 6e  all password man
1a40: 61 67 65 6d 65 6e 74 20 70 61 73 73 20 74 68 72  agement pass thr
1a50: 6f 75 67 68 20 61 20 63 6f 6d 6d 6f 6e 0a 09 70  ough a common..p
1a60: 72 6f 63 65 64 75 72 65 2e 20 20 54 68 65 20 63  rocedure.  The c
1a70: 6f 6d 6d 6f 6e 20 70 61 73 73 77 6f 72 64 20 70  ommon password p
1a80: 72 6f 63 65 64 75 72 65 20 69 73 20 72 65 74 61  rocedure is reta
1a90: 69 6e 65 64 20 66 6f 72 20 63 6f 6d 70 61 74 69  ined for compati
1aa0: 62 69 6c 69 74 79 0a 09 62 75 74 20 69 74 73 20  bility..but its 
1ab0: 75 73 65 20 73 68 6f 75 6c 64 20 62 65 20 44 45  use should be DE
1ac0: 50 52 45 43 41 54 45 44 2e 0a 09 41 64 64 20 76  PRECATED...Add v
1ad0: 65 72 73 69 6f 6e 20 63 6f 6d 6d 61 6e 64 20 74  ersion command t
1ae0: 6f 20 72 65 74 75 72 6e 20 4f 70 65 6e 53 53 4c  o return OpenSSL
1af0: 20 76 65 72 73 69 6f 6e 20 73 74 72 69 6e 67 2e   version string.
1b00: 0a 09 52 65 6d 6f 76 65 20 75 6e 73 74 61 62 6c  ..Remove unstabl
1b10: 65 20 77 6f 72 6b 61 72 6f 75 6e 64 73 20 6e 65  e workarounds ne
1b20: 65 64 65 64 20 66 6f 72 20 76 65 72 69 66 79 20  eded for verify 
1b30: 69 6e 20 6f 62 73 6f 6c 65 74 65 20 76 65 72 73  in obsolete vers
1b40: 69 6f 6e 73 20 6f 66 0a 09 4f 70 65 6e 53 53 4c  ions of..OpenSSL
1b50: 2e 0a 09 46 69 78 20 6d 65 6d 6f 72 79 20 6c 65  ...Fix memory le
1b60: 61 6b 2e 20 5b 52 65 71 75 65 73 74 20 23 36 34  ak. [Request #64
1b70: 30 36 36 30 5d 0a 09 4d 6f 72 65 20 63 61 73 74  0660]..More cast
1b80: 73 20 74 6f 20 65 6c 69 6d 69 6e 61 74 65 20 63  s to eliminate c
1b90: 6f 6d 70 69 6c 65 72 20 77 61 72 6e 69 6e 67 73  ompiler warnings
1ba0: 2e 0a 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 20 64  ....* tls.htm: d
1bb0: 6f 63 75 6d 65 6e 74 20 70 61 73 73 77 6f 72 64  ocument password
1bc0: 20 63 61 6c 6c 62 61 63 6b 2e 0a 09 43 6f 72 72   callback...Corr
1bd0: 65 63 74 20 74 65 63 68 6e 69 63 61 6c 20 61 6e  ect technical an
1be0: 64 20 74 79 70 6f 67 72 61 70 68 69 63 20 65 72  d typographic er
1bf0: 72 6f 72 73 2e 0a 0a 09 2a 20 52 45 41 44 4d 45  rors....* README
1c00: 2e 74 78 74 3a 20 69 64 65 6e 74 69 66 79 20 76  .txt: identify v
1c10: 65 72 73 69 6f 6e 73 20 6f 66 20 4f 70 65 6e 53  ersions of OpenS
1c20: 53 4c 20 77 68 69 63 68 20 66 69 78 20 6b 6e 6f  SL which fix kno
1c30: 77 6e 20 70 72 6f 62 6c 65 6d 73 2e 0a 09 47 65  wn problems...Ge
1c40: 6e 65 72 61 6c 20 77 61 72 6e 69 6e 67 20 6f 66  neral warning of
1c50: 20 73 65 63 75 72 69 74 79 20 70 72 6f 62 6c 65   security proble
1c60: 6d 73 20 69 6e 20 6f 6c 64 65 72 20 76 65 72 73  ms in older vers
1c70: 69 6f 6e 73 20 6f 66 20 4f 70 65 6e 53 53 4c 2e  ions of OpenSSL.
1c80: 0a 0a 32 30 30 32 2d 30 32 2d 30 34 20 20 4a 65  ..2002-02-04  Je
1c90: 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68  ff Hobbs  <jeffh
1ca0: 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d  @ActiveState.com
1cb0: 3e 0a 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 0a 09  >...* tls.htm:..
1cc0: 2a 20 74 6c 73 2e 63 3a 20 61 64 64 65 64 20 73  * tls.c: added s
1cd0: 75 70 70 6f 72 74 20 66 6f 72 20 6c 6f 63 61 6c  upport for local
1ce0: 20 63 65 72 74 69 66 69 63 61 74 65 20 73 74 61   certificate sta
1cf0: 74 75 73 20 63 68 65 63 6b 2c 20 61 73 20 77 65  tus check, as we
1d00: 6c 6c 0a 09 61 73 20 72 65 74 75 72 6e 69 6e 67  ll..as returning
1d10: 20 74 68 65 20 23 20 6f 66 20 62 69 74 73 20 69   the # of bits i
1d20: 6e 20 74 68 65 20 73 65 73 73 69 6f 6e 20 6b 65  n the session ke
1d30: 79 2e 20 5b 50 61 74 63 68 20 23 35 30 35 36 39  y. [Patch #50569
1d40: 38 5d 20 28 72 6f 73 65 29 0a 0a 09 2a 20 74 6c  8] (rose)...* tl
1d50: 73 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a  s.c:..* tlsIO.c:
1d60: 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 20 61 64  ..* tlsBIO.c: ad
1d70: 64 65 64 20 43 4f 4e 53 54 73 20 74 6f 20 73 61  ded CONSTs to sa
1d80: 74 69 73 66 79 20 54 63 6c 20 38 2e 34 20 73 6f  tisfy Tcl 8.4 so
1d90: 75 72 63 65 73 2e 20 20 54 68 69 73 20 6d 61 79  urces.  This may
1da0: 0a 09 67 69 76 65 20 77 61 72 6e 69 6e 67 73 20  ..give warnings 
1db0: 77 68 65 6e 20 63 6f 6d 70 69 6c 65 64 20 61 67  when compiled ag
1dc0: 61 69 6e 73 74 20 38 2e 33 2c 20 62 75 74 20 74  ainst 8.3, but t
1dd0: 68 65 79 20 63 61 6e 20 62 65 20 69 67 6e 6f 72  hey can be ignor
1de0: 65 64 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 73 69  ed....* tests/si
1df0: 6d 70 6c 65 43 6c 69 65 6e 74 2e 74 63 6c 3a 0a  mpleClient.tcl:.
1e00: 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c 65 53  .* tests/simpleS
1e10: 65 72 76 65 72 2e 74 63 6c 3a 20 70 6f 69 6e 74  erver.tcl: point
1e20: 20 74 6f 20 75 70 64 61 74 65 64 20 63 6c 69 65   to updated clie
1e30: 6e 74 2f 73 65 72 76 65 72 20 6b 65 79 20 66 69  nt/server key fi
1e40: 6c 65 73 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74  les....* tests/t
1e50: 6c 73 49 4f 2e 74 65 73 74 3a 0a 09 2a 20 74 65  lsIO.test:..* te
1e60: 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74  sts/ciphers.test
1e70: 3a 20 75 70 64 61 74 65 64 20 74 6f 20 6c 6f 61  : updated to loa
1e80: 64 20 74 6c 73 20 66 72 6f 6d 20 62 75 69 6c 64  d tls from build
1e90: 20 64 69 72 2e 0a 0a 09 2a 20 4d 61 6b 65 66 69   dir....* Makefi
1ea0: 6c 65 2e 69 6e 3a 20 72 65 6d 6f 76 65 64 20 73  le.in: removed s
1eb0: 74 72 6e 63 61 73 65 63 6d 70 20 66 72 6f 6d 20  trncasecmp from 
1ec0: 64 65 66 61 75 6c 74 20 6f 62 6a 65 63 74 20 73  default object s
1ed0: 65 74 2e 20 20 54 68 69 73 0a 09 69 73 20 6f 6e  et.  This..is on
1ee0: 6c 79 20 6e 65 65 64 65 64 20 6f 6e 20 74 68 65  ly needed on the
1ef0: 20 4d 61 63 2c 20 61 6e 64 20 54 63 6c 20 73 74   Mac, and Tcl st
1f00: 75 62 73 20 70 72 6f 76 69 64 65 73 20 69 74 2e  ubs provides it.
1f10: 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20  ...* configure: 
1f20: 72 65 67 65 6e 27 65 64 2e 0a 09 2a 20 63 6f 6e  regen'ed...* con
1f30: 66 69 67 75 72 65 2e 69 6e 3a 20 75 70 64 61 74  figure.in: updat
1f40: 65 64 20 74 6f 20 31 2e 35 2e 30 20 66 6f 72 20  ed to 1.5.0 for 
1f50: 6e 65 78 74 20 72 65 6c 65 61 73 65 2e 0a 09 43  next release...C
1f60: 68 61 6e 67 65 64 20 64 65 66 61 75 6c 74 20 6f  hanged default o
1f70: 70 65 6e 73 73 6c 20 6c 6f 63 61 74 69 6f 6e 20  penssl location 
1f80: 74 6f 20 2f 75 73 72 2f 6c 6f 63 61 6c 2f 73 73  to /usr/local/ss
1f90: 6c 20 28 74 68 69 73 20 69 73 20 77 68 65 72 65  l (this is where
1fa0: 0a 09 6f 70 65 6e 73 73 6c 20 30 2e 39 2e 36 63  ..openssl 0.9.6c
1fb0: 20 69 6e 73 74 61 6c 6c 73 20 62 79 20 64 65 66   installs by def
1fc0: 61 75 6c 74 29 2e 0a 09 43 68 61 6e 67 65 64 20  ault)...Changed 
1fd0: 74 6f 20 75 73 65 20 70 75 62 6c 69 63 20 54 63  to use public Tc
1fe0: 6c 20 68 65 61 64 65 72 73 20 28 70 72 69 76 61  l headers (priva
1ff0: 74 65 20 6e 6f 74 20 6e 65 65 64 65 64 29 2e 0a  te not needed)..
2000: 0a 32 30 30 31 2d 30 36 2d 32 31 20 20 4a 65 66  .2001-06-21  Jef
2010: 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40  f Hobbs  <jeffh@
2020: 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e  ActiveState.com>
2030: 0a 0a 09 54 4c 53 20 31 2e 34 2e 31 20 52 45 4c  ...TLS 1.4.1 REL
2040: 45 41 53 45 0a 0a 09 2a 20 63 6f 6e 66 69 67 75  EASE...* configu
2050: 72 65 3a 20 61 64 64 65 64 20 63 6f 6e 66 69 67  re: added config
2060: 75 72 65 20 74 6f 20 43 56 53 0a 09 2a 20 63 6f  ure to CVS..* co
2070: 6e 66 69 67 75 72 65 2e 69 6e 3a 20 6d 6f 76 65  nfigure.in: move
2080: 64 20 74 6f 20 70 61 74 63 68 6c 65 76 65 6c 20  d to patchlevel 
2090: 31 2e 34 2e 31 0a 0a 09 2a 20 4d 61 6b 65 66 69  1.4.1...* Makefi
20a0: 6c 65 2e 69 6e 3a 20 63 6f 72 72 65 63 74 65 64  le.in: corrected
20b0: 20 27 64 69 73 74 27 20 74 61 72 67 65 74 0a 0a   'dist' target..
20c0: 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 66  .* tests/certs/f
20d0: 69 6c 65 2e 73 72 6c 3a 0a 09 2a 20 74 65 73 74  ile.srl:..* test
20e0: 73 2f 63 65 72 74 73 2f 63 61 2e 70 65 6d 3a 0a  s/certs/ca.pem:.
20f0: 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63  .* tests/certs/c
2100: 6c 69 65 6e 74 2e 6b 65 79 3a 0a 09 2a 20 74 65  lient.key:..* te
2110: 73 74 73 2f 63 65 72 74 73 2f 63 6c 69 65 6e 74  sts/certs/client
2120: 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 63  .pem:..* tests/c
2130: 65 72 74 73 2f 63 6c 69 65 6e 74 2e 72 65 71 3a  erts/client.req:
2140: 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f  ..* tests/certs/
2150: 70 72 69 76 6b 65 79 2e 70 65 6d 3a 0a 09 2a 20  privkey.pem:..* 
2160: 74 65 73 74 73 2f 63 65 72 74 73 2f 73 65 72 76  tests/certs/serv
2170: 65 72 2e 6b 65 79 3a 0a 09 2a 20 74 65 73 74 73  er.key:..* tests
2180: 2f 63 65 72 74 73 2f 73 65 72 76 65 72 2e 70 65  /certs/server.pe
2190: 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74  m:..* tests/cert
21a0: 73 2f 73 65 72 76 65 72 2e 72 65 71 3a 0a 09 2a  s/server.req:..*
21b0: 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63 61 63   tests/certs/cac
21c0: 65 72 74 2e 70 65 6d 3a 20 72 65 70 6c 61 63 65  ert.pem: replace
21d0: 64 20 62 79 20 6e 65 77 20 63 61 2e 70 65 6d 0a  d by new ca.pem.
21e0: 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 73  .* tests/certs/s
21f0: 6b 65 79 2e 70 65 6d 3a 20 72 65 70 6c 61 63 65  key.pem: replace
2200: 64 20 62 79 20 6e 65 77 20 73 65 72 76 65 72 2e  d by new server.
2210: 6b 65 79 0a 09 2a 20 74 65 73 74 73 2f 63 65 72  key..* tests/cer
2220: 74 73 2f 63 6b 65 79 2e 70 65 6d 3a 20 72 65 70  ts/ckey.pem: rep
2230: 6c 61 63 65 64 20 62 79 20 6e 65 77 20 63 6c 69  laced by new cli
2240: 65 6e 74 2e 6b 65 79 0a 09 2a 20 74 65 73 74 73  ent.key..* tests
2250: 2f 63 65 72 74 73 2f 52 45 41 44 4d 45 2e 74 78  /certs/README.tx
2260: 74 3a 20 6e 65 77 20 73 65 74 20 6f 66 20 74 65  t: new set of te
2270: 73 74 20 63 65 72 74 69 66 69 63 61 74 65 73 20  st certificates 
2280: 77 69 74 68 20 73 6f 6d 65 0a 09 52 45 41 44 4d  with some..READM
2290: 45 20 69 6e 66 6f 20 6f 6e 20 74 68 65 69 72 20  E info on their 
22a0: 67 65 6e 65 72 61 74 69 6f 6e 2e 0a 0a 09 2a 20  generation....* 
22b0: 74 65 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65  tests/ciphers.te
22c0: 73 74 3a 20 75 70 64 61 74 65 64 20 63 69 70 68  st: updated ciph
22d0: 65 72 73 20 65 78 70 65 63 74 65 64 20 77 69 74  ers expected wit
22e0: 68 20 64 65 66 61 75 6c 74 0a 09 6f 70 65 6e 73  h default..opens
22f0: 73 6c 20 62 75 69 6c 64 2e 0a 0a 09 2a 20 74 65  sl build....* te
2300: 73 74 73 2f 74 63 6c 49 4f 2e 74 65 73 74 3a 20  sts/tclIO.test: 
2310: 75 70 64 61 74 65 64 20 74 6f 20 75 73 65 20 6e  updated to use n
2320: 65 77 20 6e 61 6d 65 73 20 66 6f 72 20 63 65 72  ew names for cer
2330: 74 73 2f 6b 65 79 73 2e 0a 0a 32 30 30 31 2d 30  ts/keys...2001-0
2340: 33 2d 31 34 20 20 4a 65 66 66 20 48 6f 62 62 73  3-14  Jeff Hobbs
2350: 20 20 3c 6a 65 66 66 68 40 67 69 6d 6c 65 74 2e    <jeffh@gimlet.
2360: 61 63 74 69 76 65 73 74 61 74 65 2e 63 6f 6d 3e  activestate.com>
2370: 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f  ...* tls.c (Tls_
2380: 49 6e 69 74 29 3a 20 61 64 64 20 64 6f 2f 77 68  Init): add do/wh
2390: 69 6c 65 20 66 6f 72 20 72 61 6e 64 6f 6d 20 6e  ile for random n
23a0: 75 6d 62 65 72 20 69 6e 69 74 69 61 6c 69 7a 61  umber initializa
23b0: 74 69 6f 6e 0a 09 74 6f 20 77 6f 72 6b 20 61 72  tion..to work ar
23c0: 6f 75 6e 64 20 73 6f 6d 65 20 4f 53 65 73 20 71  ound some OSes q
23d0: 75 69 72 6b 73 2e 20 20 28 52 61 6c 70 68 2e 42  uirks.  (Ralph.B
23e0: 69 6c 6c 65 73 40 74 65 6c 74 65 63 68 2e 63 6f  illes@teltech.co
23f0: 6d 2e 61 75 29 0a 0a 32 30 30 30 2d 30 39 2d 30  m.au)..2000-09-0
2400: 37 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c  7  Jeff Hobbs  <
2410: 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e  hobbs@scriptics.
2420: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63  com>...* tlsIO.c
2430: 20 28 54 6c 73 5f 43 68 61 6e 6e 65 6c 54 79 70   (Tls_ChannelTyp
2440: 65 29 3a 20 73 65 74 20 74 79 70 65 4e 61 6d 65  e): set typeName
2450: 20 66 69 65 6c 64 20 6f 66 20 63 68 61 6e 6e 65   field of channe
2460: 6c 20 74 79 70 65 20 74 6f 0a 09 22 74 6c 73 22  l type to.."tls"
2470: 20 28 74 68 69 73 20 67 6f 74 20 6c 6f 73 74 20   (this got lost 
2480: 69 6e 20 6d 6f 76 65 20 74 6f 20 64 79 6e 61 6d  in move to dynam
2490: 69 63 20 76 65 72 73 69 6f 6e 20 63 6f 6d 70 61  ic version compa
24a0: 74 61 62 69 6c 69 74 79 0a 09 63 68 65 63 6b 69  tability..checki
24b0: 6e 67 29 2e 0a 0a 32 30 30 30 2d 30 38 2d 32 33  ng)...2000-08-23
24c0: 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68    Jeff Hobbs  <h
24d0: 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63  obbs@scriptics.c
24e0: 6f 6d 3e 0a 0a 09 54 4c 53 20 31 2e 34 20 52 45  om>...TLS 1.4 RE
24f0: 4c 45 41 53 45 44 0a 0a 09 2a 20 4d 61 6b 65 66  LEASED...* Makef
2500: 69 6c 65 2e 69 6e 20 28 64 69 73 74 29 3a 20 63  ile.in (dist): c
2510: 72 65 61 74 65 20 64 69 73 74 20 74 61 72 67 65  reate dist targe
2520: 74 20 66 6f 72 20 61 72 63 68 69 76 65 20 64 69  t for archive di
2530: 73 74 72 69 62 75 74 69 6f 6e 73 0a 0a 09 2a 20  stributions...* 
2540: 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74  tests/tlsIO.test
2550: 20 28 74 6c 73 49 4f 2d 38 2e 31 29 3a 20 61 64   (tlsIO-8.1): ad
2560: 64 65 64 20 61 20 64 65 6c 61 79 20 6f 6e 20 74  ded a delay on t
2570: 68 65 20 61 63 63 65 70 74 20 63 6c 6f 73 65 0a  he accept close.
2580: 09 74 6f 20 6d 61 6b 65 20 74 68 65 20 74 65 73  .to make the tes
2590: 74 20 77 6f 72 6b 20 77 69 74 68 20 4f 70 65 6e  t work with Open
25a0: 53 53 4c 20 6f 6e 20 57 69 6e 64 6f 77 73 20 28  SSL on Windows (
25b0: 64 6f 65 73 6e 27 74 20 61 66 66 65 63 74 0a 09  doesn't affect..
25c0: 6f 74 68 65 72 20 62 75 69 6c 64 73 29 2e 0a 0a  other builds)...
25d0: 09 2a 20 74 6c 73 2e 68 74 6d 3a 20 75 70 64 61  .* tls.htm: upda
25e0: 74 65 64 20 77 69 74 68 20 6e 6f 74 65 73 20 66  ted with notes f
25f0: 6f 72 20 31 2e 34 2e 0a 0a 32 30 30 30 2d 30 38  or 1.4...2000-08
2600: 2d 32 31 20 20 4a 65 66 66 20 48 6f 62 62 73 20  -21  Jeff Hobbs 
2610: 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63   <hobbs@scriptic
2620: 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 73  s.com>...* tests
2630: 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 72 65 71  /tlsIO.test: req
2640: 75 69 72 65 20 61 74 20 6c 65 61 73 74 20 74 6c  uire at least tl
2650: 73 31 2e 34 20 69 6e 20 74 65 73 74 20 73 75 69  s1.4 in test sui
2660: 74 65 2e 0a 0a 32 30 30 30 2d 30 38 2d 31 38 20  te...2000-08-18 
2670: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f   Jeff Hobbs  <ho
2680: 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f  bbs@scriptics.co
2690: 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c  m>...* tls.c (Tl
26a0: 73 5f 49 6e 69 74 29 3a 20 61 64 64 65 64 20 63  s_Init): added c
26b0: 61 6c 6c 20 74 6f 20 52 41 4e 44 5f 73 65 65 64  all to RAND_seed
26c0: 20 74 6f 20 73 65 65 64 20 74 68 65 20 53 53 4c   to seed the SSL
26d0: 20 72 61 6e 64 6f 6d 0a 09 6e 75 6d 62 65 72 20   random..number 
26e0: 67 65 6e 65 72 61 74 6f 72 2e 20 20 57 69 74 68  generator.  With
26f0: 6f 75 74 20 74 68 69 73 2c 20 4f 70 65 6e 53 53  out this, OpenSS
2700: 4c 20 30 2e 39 2e 35 20 63 68 6f 6b 65 73 2c 20  L 0.9.5 chokes, 
2710: 61 6e 64 20 69 6e 20 61 6e 79 0a 09 63 61 73 65  and in any..case
2720: 20 69 74 20 69 73 20 61 20 62 69 67 20 73 65 63   it is a big sec
2730: 75 72 69 74 79 20 68 6f 6c 65 20 74 6f 20 64 6f  urity hole to do
2740: 20 77 69 74 68 6f 75 74 20 69 74 2e 0a 0a 09 2a   without it....*
2750: 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 20 28 4f   configure.in (O
2760: 50 45 4e 53 53 4c 29 3a 20 61 64 64 65 64 20 4e  PENSSL): added N
2770: 4f 5f 49 44 45 41 20 61 6e 64 20 4e 4f 5f 52 43  O_IDEA and NO_RC
2780: 35 20 64 65 66 69 6e 65 73 20 62 79 0a 09 64 65  5 defines by..de
2790: 66 61 75 6c 74 20 77 68 65 6e 20 63 6f 6d 70 69  fault when compi
27a0: 6c 69 6e 67 20 77 69 74 68 20 4f 70 65 6e 53 53  ling with OpenSS
27b0: 4c 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a  L....* tlsInt.h:
27c0: 20 61 64 64 65 64 20 65 72 72 2e 68 20 69 6e 63   added err.h inc
27d0: 6c 75 64 65 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e  lude...* tlsBIO.
27e0: 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 63  c:..* tlsIO.c: c
27f0: 6f 72 72 65 63 74 65 64 20 70 65 64 61 6e 74 69  orrected pedanti
2800: 63 20 63 61 73 74 20 65 72 72 6f 72 73 2e 0a 0a  c cast errors...
2810: 32 30 30 30 2d 30 38 2d 31 36 20 20 4a 65 66 66  2000-08-16  Jeff
2820: 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73   Hobbs  <hobbs@s
2830: 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09  criptics.com>...
2840: 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72 73 2e  * tests/ciphers.
2850: 74 65 73 74 3a 20 69 6d 70 72 6f 76 65 64 20 61  test: improved a
2860: 62 69 6c 69 74 79 20 74 6f 20 63 68 61 6e 67 65  bility to change
2870: 20 63 6f 6e 73 74 72 61 69 6e 74 0a 09 73 65 74   constraint..set
2880: 74 69 6e 67 20 66 6f 72 20 77 68 65 74 68 65 72  ting for whether
2890: 20 75 73 65 72 20 63 6f 6d 70 69 6c 65 64 20 61   user compiled a
28a0: 67 61 69 6e 73 74 20 52 53 41 20 6f 72 20 4f 70  gainst RSA or Op
28b0: 65 6e 53 53 4c 20 6c 69 62 73 2e 0a 0a 09 2a 20  enSSL libs....* 
28c0: 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29  tls.c (Tls_Init)
28d0: 3a 20 63 6f 72 72 65 63 74 65 64 20 69 6e 74 65  : corrected inte
28e0: 72 70 72 65 74 61 74 69 6f 6e 20 6f 66 20 76 65  rpretation of ve
28f0: 72 73 69 6f 6e 20 6e 75 6d 62 65 72 0a 09 28 70  rsion number..(p
2900: 61 74 63 68 6c 65 76 65 6c 20 61 6e 64 20 72 65  atchlevel and re
2910: 6c 65 61 73 65 2f 73 65 72 69 61 6c 20 77 65 72  lease/serial wer
2920: 65 20 73 77 61 70 70 65 64 29 2e 0a 0a 32 30 30  e swapped)...200
2930: 30 2d 30 38 2d 31 35 20 20 4a 65 66 66 20 48 6f  0-08-15  Jeff Ho
2940: 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69  bbs  <hobbs@scri
2950: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 52  ptics.com>...* R
2960: 45 41 44 4d 45 2e 74 78 74 3a 20 61 64 64 65 64  EADME.txt: added
2970: 20 6e 6f 74 65 73 20 61 62 6f 75 74 20 6e 65 65   notes about nee
2980: 64 20 74 6f 20 75 73 65 20 38 2e 32 2e 30 2b 2e  d to use 8.2.0+.
2990: 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a 09  ...* tlsInt.h:..
29a0: 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 74 6c 73 49  * tls.c:..* tlsI
29b0: 4f 2e 63 3a 20 63 6f 72 72 65 63 74 65 64 20 73  O.c: corrected s
29c0: 74 72 75 63 74 75 72 65 20 69 6e 69 74 69 61 6c  tructure initial
29d0: 69 7a 61 74 69 6f 6e 20 74 6f 20 77 6f 72 6b 20  ization to work 
29e0: 77 68 65 6e 0a 09 63 6f 6d 70 69 6c 69 6e 67 20  when..compiling 
29f0: 77 69 74 68 20 38 2e 32 2e 20 20 4e 6f 77 20 63  with 8.2.  Now c
2a00: 6f 6d 70 69 6c 65 73 20 77 69 74 68 20 38 2e 32  ompiles with 8.2
2a10: 2b 20 61 6e 64 20 74 65 73 74 65 64 20 74 6f 20  + and tested to 
2a20: 77 6f 72 6b 0a 09 77 69 74 68 20 38 2e 32 2b 20  work..with 8.2+ 
2a30: 61 6e 64 20 64 79 6e 61 6d 69 63 61 6c 6c 79 20  and dynamically 
2a40: 61 64 6a 75 73 74 20 74 6f 20 74 68 65 20 76 65  adjust to the ve
2a50: 72 73 69 6f 6e 20 6f 66 20 54 63 6c 20 69 74 20  rsion of Tcl it 
2a60: 77 61 73 0a 09 6c 6f 61 64 65 64 20 69 6e 74 6f  was..loaded into
2a70: 2e 20 20 54 4c 53 20 77 69 6c 6c 20 66 61 69 6c  .  TLS will fail
2a80: 20 74 68 65 20 74 65 73 74 20 73 75 69 74 65 20   the test suite 
2a90: 77 69 74 68 20 54 63 6c 20 38 2e 32 2d 38 2e 33  with Tcl 8.2-8.3
2aa0: 2e 31 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 61 6c  .1....* tests/al
2ab0: 6c 2e 74 63 6c 3a 20 61 64 64 65 64 20 63 61 74  l.tcl: added cat
2ac0: 63 68 20 61 72 6f 75 6e 64 20 3a 3a 74 63 6c 74  ch around ::tclt
2ad0: 65 73 74 3a 3a 6e 6f 72 6d 61 6c 69 7a 65 50 61  est::normalizePa
2ae0: 74 68 0a 09 62 65 63 61 75 73 65 20 69 74 20 64  th..because it d
2af0: 6f 65 73 6e 27 74 20 65 78 69 73 74 20 69 6e 20  oesn't exist in 
2b00: 70 72 65 2d 38 2e 33 20 74 63 6c 74 65 73 74 2e  pre-8.3 tcltest.
2b10: 0a 0a 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c  ...* tests/simpl
2b20: 65 43 6c 69 65 6e 74 2e 74 63 6c 3a 20 0a 09 2a  eClient.tcl: ..*
2b30: 20 74 65 73 74 73 2f 73 69 6d 70 6c 65 53 65 72   tests/simpleSer
2b40: 76 65 72 2e 74 63 6c 3a 20 61 64 64 65 64 20 73  ver.tcl: added s
2b50: 69 6d 70 6c 65 20 63 6c 69 65 6e 74 2f 73 65 72  imple client/ser
2b60: 76 65 72 20 74 65 73 74 20 73 63 72 69 70 74 73  ver test scripts
2b70: 0a 09 74 68 61 74 20 75 73 65 20 74 65 73 74 20  ..that use test 
2b80: 63 65 72 74 73 20 61 6e 64 20 63 61 6e 20 64 6f  certs and can do
2b90: 20 73 69 6d 70 6c 65 20 73 74 72 65 73 73 20 74   simple stress t
2ba0: 65 73 74 73 2e 0a 0a 32 30 30 30 2d 30 38 2d 31  ests...2000-08-1
2bb0: 34 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c  4  Jeff Hobbs  <
2bc0: 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e  hobbs@scriptics.
2bd0: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e  com>...* tlsInt.
2be0: 68 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 0a 09  h:..* tlsIO.c:..
2bf0: 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a 09 2a 20 74  * tlsBIO.c:..* t
2c00: 6c 73 2e 63 3a 20 63 68 61 6e 67 65 64 20 61 72  ls.c: changed ar
2c10: 6f 75 6e 64 20 74 6f 20 6f 6e 6c 79 20 77 6f 72  ound to only wor
2c20: 6b 69 6e 67 20 77 69 74 68 20 38 2e 32 2e 30 2b  king with 8.2.0+
2c30: 20 28 38 2e 33 2e 32 2b 0a 09 70 72 65 66 65 72   (8.3.2+..prefer
2c40: 72 65 64 29 2c 20 77 69 74 68 20 72 75 6e 74 69  red), with runti
2c50: 6d 65 20 63 68 65 63 6b 73 20 66 6f 72 20 70 72  me checks for pr
2c60: 65 2d 20 61 6e 64 20 70 6f 73 74 2d 69 6f 2d 72  e- and post-io-r
2c70: 65 77 72 69 74 65 2e 0a 0a 09 2a 20 74 6c 73 2e  ewrite....* tls.
2c80: 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 63 68  c (Tls_Init): ch
2c90: 61 6e 67 65 64 20 69 74 20 74 6f 20 72 65 71 75  anged it to requ
2ca0: 69 72 65 20 38 2e 33 2e 32 20 77 68 65 6e 20 54  ire 8.3.2 when T
2cb0: 63 6c 5f 49 6e 69 74 53 74 75 62 73 0a 09 77 61  cl_InitStubs..wa
2cc0: 73 20 63 61 6c 6c 65 64 20 62 65 63 61 75 73 65  s called because
2cd0: 20 77 65 20 64 6f 6e 27 74 20 77 61 6e 74 20 70   we don't want p
2ce0: 65 6f 70 6c 65 20 75 73 69 6e 67 20 54 4c 53 20  eople using TLS 
2cf0: 77 69 74 68 20 74 68 65 0a 09 6f 72 69 67 69 6e  with the..origin
2d00: 61 6c 20 73 74 61 63 6b 65 64 20 63 68 61 6e 6e  al stacked chann
2d10: 65 6c 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f  el implementatio
2d20: 6e 2e 0a 0a 32 30 30 30 2d 30 37 2d 32 36 20 20  n...2000-07-26  
2d30: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62  Jeff Hobbs  <hob
2d40: 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d  bs@scriptics.com
2d50: 3e 0a 0a 09 2a 20 6d 65 72 67 65 64 20 61 6c 6c  >...* merged all
2d60: 20 63 68 61 6e 67 65 73 20 66 72 6f 6d 20 74 6c   changes from tl
2d70: 73 2d 31 2d 33 2d 69 6f 2d 72 65 77 72 69 74 65  s-1-3-io-rewrite
2d80: 20 62 61 63 6b 20 69 6e 74 6f 20 6d 61 69 6e 20   back into main 
2d90: 62 72 61 6e 63 68 0a 0a 09 2a 20 74 65 73 74 73  branch...* tests
2da0: 2f 74 6c 73 49 4f 2e 74 65 73 74 3a 20 75 70 64  /tlsIO.test: upd
2db0: 61 74 65 64 20 63 6f 6d 6d 65 6e 74 73 2c 20 66  ated comments, f
2dc0: 69 78 65 64 20 61 20 70 63 43 72 61 73 68 20 63  ixed a pcCrash c
2dd0: 61 73 65 20 74 68 61 74 0a 09 77 61 73 20 64 75  ase that..was du
2de0: 65 20 74 6f 20 64 65 62 75 67 20 61 73 73 65 72  e to debug asser
2df0: 74 69 6f 6e 20 69 6e 20 57 69 6e 64 6f 77 73 20  tion in Windows 
2e00: 53 53 4c 2e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28  SSL....* tls.c (
2e10: 49 6d 70 6f 72 74 4f 62 6a 43 6d 64 29 3a 20 72  ImportObjCmd): r
2e20: 65 6d 6f 76 65 64 20 75 6e 6e 65 63 65 73 73 61  emoved unnecessa
2e30: 72 79 20 75 73 65 20 6f 66 20 27 62 69 6f 27 20  ry use of 'bio' 
2e40: 61 72 67 2e 0a 09 28 54 6c 73 5f 49 6e 69 74 29  arg...(Tls_Init)
2e50: 3a 20 63 68 65 63 6b 20 72 65 74 75 72 6e 20 76  : check return v
2e60: 61 6c 75 65 20 6f 66 20 53 53 4c 5f 6c 69 62 72  alue of SSL_libr
2e70: 61 72 79 5f 69 6e 69 74 2e 20 20 41 6c 73 6f 20  ary_init.  Also 
2e80: 6c 6f 74 73 20 6f 66 0a 09 77 68 69 74 65 73 70  lots of..whitesp
2e90: 61 63 65 20 63 6c 65 61 6e 75 70 20 28 6d 6f 72  ace cleanup (mor
2ea0: 65 20 6c 69 6b 65 20 54 63 6c 20 45 6e 67 20 73  e like Tcl Eng s
2eb0: 74 79 6c 65 20 67 75 69 64 65 29 2c 20 62 75 74  tyle guide), but
2ec0: 20 6e 6f 74 20 61 6c 6c 0a 09 63 6f 64 65 20 77   not all..code w
2ed0: 61 73 20 63 6c 65 61 6e 65 64 20 75 70 2e 0a 0a  as cleaned up...
2ee0: 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 20 6d 69 6e  .* tlsBIO.c: min
2ef0: 6f 72 20 77 68 69 74 65 73 70 61 63 65 20 63 6c  or whitespace cl
2f00: 65 61 6e 75 70 0a 0a 09 2a 20 74 6c 73 49 4f 2e  eanup...* tlsIO.
2f10: 63 3a 20 6d 69 6e 6f 72 20 77 68 69 74 65 73 70  c: minor whitesp
2f20: 61 63 65 20 63 6c 65 61 6e 75 70 2e 0a 09 28 54  ace cleanup...(T
2f30: 6c 73 49 6e 70 75 74 50 72 6f 63 2c 20 54 6c 73  lsInputProc, Tls
2f40: 4f 75 74 70 75 74 50 72 6f 63 29 3a 20 41 64 64  OutputProc): Add
2f50: 65 64 20 45 52 52 5f 63 6c 65 61 72 5f 65 72 72  ed ERR_clear_err
2f60: 6f 72 20 62 65 66 6f 72 65 20 63 61 6c 6c 73 0a  or before calls.
2f70: 09 74 6f 20 42 49 4f 5f 72 65 61 64 20 6f 72 20  .to BIO_read or 
2f80: 42 49 4f 5f 77 72 69 74 65 2c 20 62 65 63 61 75  BIO_write, becau
2f90: 73 65 20 77 65 20 63 6f 75 6c 64 20 6f 74 68 65  se we could othe
2fa0: 72 77 69 73 65 20 65 6e 64 20 75 70 0a 09 70 75  rwise end up..pu
2fb0: 6c 6c 69 6e 67 20 61 6e 20 65 72 72 6f 72 20 6f  lling an error o
2fc0: 66 66 20 74 68 65 20 73 74 61 63 6b 20 74 68 61  ff the stack tha
2fd0: 74 20 64 69 64 6e 27 74 20 62 65 6c 6f 6e 67 20  t didn't belong 
2fe0: 74 6f 20 75 73 2e 20 20 41 6c 73 6f 0a 09 63 6c  to us.  Also..cl
2ff0: 65 61 6e 75 70 20 75 70 20 65 78 63 65 73 73 69  eanup up excessi
3000: 76 65 20 75 73 65 20 6f 66 20 67 6f 74 6f 73 2e  ve use of gotos.
3010: 0a 0a 32 30 30 30 2d 30 37 2d 32 30 20 20 4a 65  ..2000-07-20  Je
3020: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73  ff Hobbs  <hobbs
3030: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a  @scriptics.com>.
3040: 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e  ..* tests/tlsIO.
3050: 74 65 73 74 3a 20 63 6f 72 72 65 63 74 65 64 20  test: corrected 
3060: 76 61 72 69 6f 75 73 20 74 65 73 74 73 20 74 6f  various tests to
3070: 20 62 65 20 63 6f 72 72 65 63 74 20 66 6f 72 20   be correct for 
3080: 54 4c 53 0a 09 73 74 61 63 6b 65 64 20 63 68 61  TLS..stacked cha
3090: 6e 6e 65 6c 73 20 28 61 73 20 6f 70 70 6f 73 65  nnels (as oppose
30a0: 64 20 74 6f 20 74 68 65 20 73 74 61 6e 64 61 72  d to the standar
30b0: 64 20 73 6f 63 6b 65 74 73 20 74 68 65 20 74 65  d sockets the te
30c0: 73 74 0a 09 73 75 69 74 65 20 77 61 73 20 61 64  st..suite was ad
30d0: 6f 70 74 65 64 20 66 72 6f 6d 29 2e 20 20 4b 65  opted from).  Ke
30e0: 79 20 64 69 66 66 65 72 65 6e 63 65 73 20 61 72  y differences ar
30f0: 65 20 74 68 61 74 20 54 4c 53 20 63 61 6e 6e 6f  e that TLS canno
3100: 74 0a 09 6f 70 65 72 61 74 65 20 69 6e 20 6f 6e  t..operate in on
3110: 65 20 70 72 6f 63 65 73 73 20 77 69 74 68 6f 75  e process withou
3120: 74 20 61 6c 6c 20 63 68 61 6e 6e 65 6c 73 20 62  t all channels b
3130: 65 69 6e 67 20 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e  eing non-blockin
3140: 67 2c 20 6f 72 0a 09 74 68 65 20 68 61 6e 64 73  g, or..the hands
3150: 68 61 6b 65 20 77 69 6c 6c 20 62 6c 6f 63 6b 2c  hake will block,
3160: 20 61 6e 64 20 68 61 6e 64 73 68 61 6b 69 6e 67   and handshaking
3170: 20 6d 75 73 74 20 62 65 20 66 6f 72 63 65 64 20   must be forced 
3180: 69 6e 20 73 6f 6d 65 0a 09 63 61 73 65 73 2e 20  in some..cases. 
3190: 20 41 6c 73 6f 2c 20 68 61 6e 64 73 68 61 6b 65   Also, handshake
31a0: 73 20 64 6f 6e 27 74 20 73 65 65 6d 20 74 6f 20  s don't seem to 
31b0: 63 6f 6d 70 6c 65 74 65 20 75 6e 6c 65 73 73 20  complete unless 
31c0: 74 68 65 20 63 6c 69 65 6e 74 0a 09 68 61 73 20  the client..has 
31d0: 70 6c 61 63 65 64 20 61 74 20 6c 65 61 73 74 20  placed at least 
31e0: 6f 6e 65 20 62 79 74 65 20 66 6f 72 20 74 68 65  one byte for the
31f0: 20 73 65 72 76 65 72 20 74 6f 20 72 65 61 64 20   server to read 
3200: 69 6e 20 74 68 65 20 63 68 61 6e 6e 65 6c 2e 0a  in the channel..
3210: 0a 09 2a 20 74 65 73 74 73 2f 72 65 6d 6f 74 65  ..* tests/remote
3220: 2e 74 63 6c 3a 20 63 6f 72 72 65 63 74 65 64 20  .tcl: corrected 
3230: 74 68 65 20 66 69 6e 64 69 6e 67 20 6f 66 20 74  the finding of t
3240: 65 73 74 73 20 63 65 72 74 69 66 69 63 61 74 65  ests certificate
3250: 73 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 20 28 54  s...* tlsIO.c (T
3260: 6c 73 43 6c 6f 73 65 50 72 6f 63 29 3a 20 72 65  lsCloseProc): re
3270: 6d 6f 76 65 64 20 64 65 6c 65 74 69 6e 67 20 6f  moved deleting o
3280: 66 20 74 69 6d 65 72 20 68 61 6e 64 6c 65 72 20  f timer handler 
3290: 61 73 0a 09 74 68 61 74 20 69 73 20 68 61 6e 64  as..that is hand
32a0: 6c 65 64 20 62 79 20 54 6c 73 5f 43 6c 65 61 6e  led by Tls_Clean
32b0: 2e 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c 20 28 74  ....* tls.tcl (t
32c0: 6c 73 3a 3a 5f 61 63 63 65 70 74 29 3a 20 63 6f  ls::_accept): co
32d0: 72 72 65 63 74 65 64 20 74 68 65 20 69 6e 74 65  rrected the inte
32e0: 72 6e 61 6c 20 5f 61 63 63 65 70 74 20 74 6f 0a  rnal _accept to.
32f0: 09 74 72 69 63 6b 6c 65 20 63 61 6c 6c 62 61 63  .trickle callbac
3300: 6b 20 65 72 72 6f 72 73 20 74 6f 20 74 68 65 20  k errors to the 
3310: 75 73 65 72 2e 0a 0a 09 2a 20 4d 61 6b 65 66 69  user....* Makefi
3320: 6c 65 2e 69 6e 3a 20 6d 61 64 65 20 74 68 65 20  le.in: made the 
3330: 69 6e 73 74 61 6c 6c 2d 62 69 6e 61 72 69 65 73  install-binaries
3340: 20 74 61 72 67 65 74 20 72 65 67 65 6e 65 72 61   target regenera
3350: 74 65 20 74 68 65 0a 09 70 6b 67 49 6e 64 65 78  te the..pkgIndex
3360: 2e 74 63 6c 20 63 6f 72 72 65 63 74 6c 79 2e 20  .tcl correctly. 
3370: 20 54 68 65 20 74 65 73 74 20 74 61 72 67 65 74   The test target
3380: 20 70 72 6f 62 61 62 6c 79 20 73 68 6f 75 6c 64   probably should
3390: 6e 27 74 20 73 63 72 65 77 0a 09 69 74 20 75 70  n't screw..it up
33a0: 2c 20 62 75 74 20 74 68 69 73 20 69 73 20 74 6f  , but this is to
33b0: 20 62 65 20 6f 6e 20 74 68 65 20 73 61 66 65 20   be on the safe 
33c0: 73 69 64 65 2e 0a 0a 32 30 30 30 2d 30 37 2d 31  side...2000-07-1
33d0: 37 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c  7  Jeff Hobbs  <
33e0: 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e  hobbs@scriptics.
33f0: 63 6f 6d 3e 0a 0a 09 2a 20 70 6b 67 49 6e 64 65  com>...* pkgInde
3400: 78 2e 74 63 6c 2e 69 6e 3a 0a 09 2a 20 63 6f 6e  x.tcl.in:..* con
3410: 66 69 67 75 72 65 2e 69 6e 3a 20 75 70 64 61 74  figure.in: updat
3420: 65 64 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e  ed version to 1.
3430: 34 0a 0a 32 30 30 30 2d 30 37 2d 31 33 20 20 4a  4..2000-07-13  J
3440: 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62  eff Hobbs  <hobb
3450: 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e  s@scriptics.com>
3460: 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f  ...* tests/tlsIO
3470: 2e 74 65 73 74 3a 20 65 6e 61 62 6c 65 64 20 74  .test: enabled t
3480: 65 73 74 73 20 32 2e 31 30 2c 20 37 2e 5b 31 32  ests 2.10, 7.[12
3490: 34 35 5d 20 28 74 68 65 72 65 20 69 73 20 6e 6f  45] (there is no
34a0: 20 33 29 2c 0a 09 77 68 69 63 68 20 6e 6f 77 20   3),..which now 
34b0: 70 61 73 73 2e 20 20 41 64 64 65 64 20 73 6f 6d  pass.  Added som
34c0: 65 20 63 6f 6d 6d 65 6e 74 73 20 74 6f 20 6f 74  e comments to ot
34d0: 68 65 72 20 66 61 69 6c 69 6e 67 20 74 65 73 74  her failing test
34e0: 73 2e 0a 0a 32 30 30 30 2d 30 37 2d 31 31 20 20  s...2000-07-11  
34f0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62  Jeff Hobbs  <hob
3500: 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d  bs@scriptics.com
3510: 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 63  >...* tlsIO.c: c
3520: 68 61 6e 67 65 64 20 61 6c 6c 20 74 68 65 20 63  hanged all the c
3530: 68 61 6e 6e 65 6c 20 70 72 6f 63 73 20 74 6f 20  hannel procs to 
3540: 73 74 61 72 74 20 77 69 74 68 20 54 6c 73 2a 20  start with Tls* 
3550: 66 6f 72 0a 09 62 65 74 74 65 72 20 70 61 72 69  for..better pari
3560: 74 79 20 77 68 65 6e 20 63 6f 6d 70 61 72 69 6e  ty when comparin
3570: 67 20 77 69 74 68 20 54 72 61 6e 73 66 6f 72 6d  g with Transform
3580: 20 63 68 61 6e 6e 65 6c 20 70 72 6f 63 73 2e 0a   channel procs..
3590: 09 52 65 77 72 6f 74 65 20 54 6c 73 57 61 74 63  .Rewrote TlsWatc
35a0: 68 50 72 6f 63 2c 20 61 64 64 65 64 20 54 6c 73  hProc, added Tls
35b0: 4e 6f 74 69 66 79 50 72 6f 63 20 61 63 63 6f 72  NotifyProc accor
35c0: 64 69 6e 67 20 74 6f 20 74 68 65 20 6e 65 77 0a  ding to the new.
35d0: 09 63 68 61 6e 6e 65 6c 20 64 65 73 69 67 6e 2c  .channel design,
35e0: 20 77 68 69 63 68 20 61 6c 73 6f 20 6c 65 61 76   which also leav
35f0: 65 73 20 54 6c 73 43 68 61 6e 6e 65 6c 48 61 6e  es TlsChannelHan
3600: 64 6c 65 72 20 75 6e 75 73 65 64 2e 0a 0a 09 2a  dler unused....*
3610: 20 74 6c 73 42 49 4f 2e 63 20 28 42 69 6f 43 74   tlsBIO.c (BioCt
3620: 72 6c 29 3a 20 63 68 61 6e 67 65 64 20 42 49 4f  rl): changed BIO
3630: 5f 43 54 52 4c 5f 46 4c 55 53 48 20 63 61 73 65  _CTRL_FLUSH case
3640: 20 74 6f 20 75 73 65 0a 09 54 63 6c 5f 57 72 69   to use..Tcl_Wri
3650: 74 65 52 61 77 20 69 6e 73 74 65 61 64 20 6f 66  teRaw instead of
3660: 20 54 63 6c 5f 46 6c 75 73 68 20 28 74 6f 20 6f   Tcl_Flush (to o
3670: 70 65 72 61 74 65 20 6f 6e 20 63 6f 72 72 65 63  perate on correc
3680: 74 20 63 68 61 6e 6e 65 6c 0a 09 69 6e 20 74 68  t channel..in th
3690: 65 20 73 74 61 63 6b 20 69 6e 73 74 65 61 64 20  e stack instead 
36a0: 6f 66 20 73 74 61 72 74 69 6e 67 20 61 74 20 74  of starting at t
36b0: 68 65 20 74 6f 70 20 61 67 61 69 6e 29 2e 20 20  he top again).  
36c0: 57 6f 75 6c 64 0a 09 6f 74 68 65 72 77 69 73 65  Would..otherwise
36d0: 20 63 61 75 73 65 20 61 20 72 65 63 75 72 73 69   cause a recursi
36e0: 76 65 20 73 74 61 63 6b 20 62 6f 6d 62 20 77 68  ve stack bomb wh
36f0: 65 6e 20 69 6d 70 6c 69 63 69 74 20 68 61 6e 64  en implicit hand
3700: 73 68 61 6b 69 6e 67 0a 09 74 6f 6f 6b 20 65 66  shaking..took ef
3710: 66 65 63 74 2e 0a 0a 09 2a 20 74 65 73 74 73 2f  fect....* tests/
3720: 74 6c 73 49 4f 2e 74 65 73 74 3a 20 72 65 6d 6f  tlsIO.test: remo
3730: 76 65 64 20 63 68 61 6e 67 65 73 20 6d 61 64 65  ved changes made
3740: 20 74 6f 20 74 65 73 74 20 73 75 69 74 65 20 28   to test suite (
3750: 61 6c 6c 20 74 65 73 74 73 0a 09 74 68 61 74 20  all tests..that 
3760: 72 61 6e 20 62 65 66 6f 72 65 20 6e 6f 77 20 70  ran before now p
3770: 61 73 73 20 63 6f 72 72 65 63 74 6c 79 29 2c 20  ass correctly), 
3780: 61 6e 64 20 63 68 61 6e 67 65 64 20 73 6f 6d 65  and changed some
3790: 20 61 63 63 65 70 74 20 70 72 6f 63 0a 09 61 72   accept proc..ar
37a0: 67 73 20 74 6f 20 72 65 66 6c 65 63 74 20 74 68  gs to reflect th
37b0: 61 74 20 61 20 73 6f 63 6b 20 69 73 20 61 6e 20  at a sock is an 
37c0: 61 72 67 2c 20 6e 6f 74 20 61 20 66 69 6c 65 2e  arg, not a file.
37d0: 0a 0a 32 30 30 30 2d 30 37 2d 31 30 20 20 4a 65  ..2000-07-10  Je
37e0: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73  ff Hobbs  <hobbs
37f0: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a  @scriptics.com>.
3800: 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 20 28 42 69  ..* tlsBIO.c (Bi
3810: 6f 57 72 69 74 65 2c 20 42 69 6f 52 65 61 64 29  oWrite, BioRead)
3820: 3a 20 63 68 61 6e 67 65 64 20 54 63 6c 5f 52 65  : changed Tcl_Re
3830: 61 64 2f 57 72 69 74 65 20 74 6f 0a 09 54 63 6c  ad/Write to..Tcl
3840: 5f 52 65 61 64 52 61 77 2f 54 63 6c 57 72 69 74  _ReadRaw/TclWrit
3850: 65 52 61 77 2e 0a 0a 09 2a 20 74 6c 73 2e 63 3a  eRaw....* tls.c:
3860: 20 61 64 64 65 64 20 75 73 65 20 6f 66 20 54 63   added use of Tc
3870: 6c 5f 47 65 74 54 6f 70 43 68 61 6e 6e 65 6c 20  l_GetTopChannel 
3880: 61 66 74 65 72 20 54 63 6c 5f 47 65 74 43 68 61  after Tcl_GetCha
3890: 6e 6e 65 6c 20 61 6e 64 0a 09 67 6f 74 20 72 65  nnel and..got re
38a0: 74 75 72 6e 20 76 61 6c 75 65 20 66 72 6f 6d 20  turn value from 
38b0: 54 63 6c 5f 53 74 61 63 6b 43 68 61 6e 6e 65 6c  Tcl_StackChannel
38c0: 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49  ....* tests/tlsI
38d0: 4f 2e 74 65 73 74 3a 20 61 64 64 65 64 20 73 6f  O.test: added so
38e0: 6d 65 20 68 61 6e 64 73 68 61 6b 69 6e 67 20 74  me handshaking t
38f0: 68 61 74 20 73 68 6f 75 6c 64 6e 27 74 20 62 65  hat shouldn't be
3900: 0a 09 6e 65 63 65 73 73 61 72 79 2c 20 62 75 74  ..necessary, but
3910: 20 77 65 20 63 72 61 73 68 20 6f 74 68 65 72 77   we crash otherw
3920: 69 73 65 20 28 6e 65 65 64 73 20 6d 6f 72 65 20  ise (needs more 
3930: 74 65 73 74 69 6e 67 29 2e 0a 0a 09 2a 20 74 6c  testing)....* tl
3940: 73 49 4f 2e 63 3a 20 61 64 64 65 64 20 73 75 70  sIO.c: added sup
3950: 70 6f 72 74 20 66 6f 72 20 22 63 6f 72 72 65 63  port for "correc
3960: 74 65 64 22 20 73 74 61 63 6b 65 64 20 63 68 61  ted" stacked cha
3970: 6e 6e 65 6c 73 2e 20 20 41 6c 6c 0a 09 74 68 65  nnels.  All..the
3980: 20 61 62 6f 76 65 20 63 68 61 6e 6e 65 6c 73 20   above channels 
3990: 61 72 65 20 69 6e 20 54 43 4c 5f 43 48 41 4e 4e  are in TCL_CHANN
39a0: 45 4c 5f 56 45 52 53 49 4f 4e 5f 32 20 23 69 66  EL_VERSION_2 #if
39b0: 64 65 66 73 2e 0a 0a 32 30 30 30 2d 30 36 2d 30  defs...2000-06-0
39c0: 35 20 20 53 63 6f 74 74 20 53 74 61 6e 74 6f 6e  5  Scott Stanton
39d0: 20 20 3c 73 74 61 6e 74 6f 6e 40 61 6a 75 62 61    <stanton@ajuba
39e0: 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a  solutions.com>..
39f0: 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20  .* Makefile.in: 
3a00: 46 69 78 65 64 20 62 72 6f 6b 65 6e 20 74 65 73  Fixed broken tes
3a10: 74 20 74 61 72 67 65 74 2e 0a 0a 09 2a 20 74 6c  t target....* tl
3a20: 73 49 6e 74 2e 68 3a 20 0a 09 2a 20 74 6c 73 2e  sInt.h: ..* tls.
3a30: 63 3a 20 43 6c 65 61 6e 65 64 20 75 70 20 64 65  c: Cleaned up de
3a40: 63 6c 61 72 61 74 69 6f 6e 73 20 6f 66 20 54 6c  clarations of Tl
3a50: 73 5f 43 6c 65 61 6e 20 74 6f 20 61 76 6f 69 64  s_Clean to avoid
3a60: 20 65 72 72 6f 72 73 20 6f 6e 0a 09 57 69 6e 64   errors on..Wind
3a70: 6f 77 73 20 28 6c 69 6e 74 29 2e 0a 0a 32 30 30  ows (lint)...200
3a80: 30 2d 30 36 2d 30 35 20 20 42 72 65 6e 74 20 57  0-06-05  Brent W
3a90: 65 6c 63 68 20 3c 77 65 6c 63 68 40 61 6a 75 62  elch <welch@ajub
3aa0: 61 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f 6d 3e 0a  asolutions.com>.
3ab0: 0a 09 2a 20 74 6c 73 2e 63 2c 20 74 6c 73 49 4f  ..* tls.c, tlsIO
3ac0: 2e 63 3a 20 20 53 70 6c 69 74 20 54 6c 73 5f 46  .c:  Split Tls_F
3ad0: 72 65 65 20 69 6e 74 6f 20 54 6c 73 5f 43 6c 65  ree into Tls_Cle
3ae0: 61 6e 2c 20 77 68 69 63 68 20 64 6f 65 73 0a 09  an, which does..
3af0: 74 68 65 20 53 53 4c 20 63 6c 65 61 6e 75 70 2c  the SSL cleanup,
3b00: 20 61 6e 64 20 74 68 65 20 54 63 6c 5f 46 72 65   and the Tcl_Fre
3b10: 65 20 63 61 6c 6c 2e 20 20 49 74 20 69 73 20 69  e call.  It is i
3b20: 6d 70 6f 72 74 61 6e 74 20 74 6f 20 73 68 75 74  mportant to shut
3b30: 64 6f 77 6e 0a 09 74 68 65 20 53 53 4c 20 73 74  down..the SSL st
3b40: 61 74 65 20 22 73 79 6e 63 68 72 6f 6e 6f 75 73  ate "synchronous
3b50: 6c 79 22 20 64 75 72 69 6e 67 20 61 20 73 74 61  ly" during a sta
3b60: 63 6b 65 64 20 66 6c 75 73 68 2e 0a 0a 32 30 30  cked flush...200
3b70: 30 2d 30 36 2d 30 31 20 20 53 63 6f 74 74 20 53  0-06-01  Scott S
3b80: 74 61 6e 74 6f 6e 20 20 3c 73 74 61 6e 74 6f 6e  tanton  <stanton
3b90: 40 61 6a 75 62 61 73 6f 6c 75 74 69 6f 6e 73 2e  @ajubasolutions.
3ba0: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63  com>...* tlsIO.c
3bb0: 3a 20 52 65 73 74 6f 72 65 64 20 63 61 6c 6c 20  : Restored call 
3bc0: 74 6f 20 54 63 6c 5f 4e 6f 74 69 66 79 43 68 61  to Tcl_NotifyCha
3bd0: 6e 6e 65 6c 20 66 72 6f 6d 20 43 68 61 6e 6e 65  nnel from Channe
3be0: 6c 48 61 6e 64 6c 65 72 0a 09 74 6f 20 65 6e 73  lHandler..to ens
3bf0: 75 72 65 20 74 68 61 74 20 65 76 65 6e 74 73 20  ure that events 
3c00: 70 72 6f 70 61 67 61 74 65 20 66 72 6f 6d 20 74  propagate from t
3c10: 68 65 20 6c 6f 77 65 72 20 64 72 69 76 65 72 2e  he lower driver.
3c20: 20 20 54 68 69 73 20 6d 61 79 0a 09 72 65 73 75    This may..resu
3c30: 6c 74 20 69 6e 20 61 6e 20 69 6e 66 69 6e 69 74  lt in an infinit
3c40: 65 20 6c 6f 6f 70 20 69 6e 20 73 6f 6d 65 20 63  e loop in some c
3c50: 61 73 65 73 2c 20 73 6f 20 74 68 69 73 20 69 73  ases, so this is
3c60: 20 6e 6f 74 20 61 20 74 6f 74 61 6c 0a 09 66 69   not a total..fi
3c70: 78 2e 20 20 54 68 69 73 20 6d 61 79 20 62 65 20  x.  This may be 
3c80: 73 75 66 66 69 63 69 65 6e 74 20 66 6f 72 20 6e  sufficient for n
3c90: 6f 77 2c 20 68 6f 77 65 76 65 72 2e 20 5b 42 75  ow, however. [Bu
3ca0: 67 3a 20 35 36 32 33 5d 0a 0a 32 30 30 30 2d 30  g: 5623]..2000-0
3cb0: 36 2d 30 31 20 20 53 63 6f 74 74 20 53 74 61 6e  6-01  Scott Stan
3cc0: 74 6f 6e 20 20 3c 73 74 61 6e 74 6f 6e 40 73 63  ton  <stanton@sc
3cd0: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a  riptics.com>...*
3ce0: 20 74 6c 73 49 4f 2e 63 3a 20 52 65 73 74 6f 72   tlsIO.c: Restor
3cf0: 65 20 74 68 65 20 70 72 65 76 69 6f 75 73 20 76  e the previous v
3d00: 65 72 73 69 6f 6e 2e 20 20 46 69 78 65 64 20 74  ersion.  Fixed t
3d10: 68 65 20 43 6c 6f 73 65 50 72 6f 63 20 73 6f 0a  he CloseProc so.
3d20: 09 69 74 20 75 6e 72 65 67 69 73 74 65 72 73 20  .it unregisters 
3d30: 74 68 65 20 63 68 61 6e 6e 65 6c 20 68 61 6e 64  the channel hand
3d40: 6c 65 72 20 6f 6e 20 74 68 65 20 73 75 70 65 72  ler on the super
3d50: 63 65 64 65 64 20 63 68 61 6e 6e 65 6c 0a 09 69  ceded channel..i
3d60: 6e 73 74 65 61 64 20 6f 66 20 74 68 65 20 75 70  nstead of the up
3d70: 70 65 72 20 63 68 61 6e 6e 65 6c 2e 20 41 6c 73  per channel. Als
3d80: 6f 20 72 65 6d 6f 76 65 64 20 74 68 65 20 63 61  o removed the ca
3d90: 6c 6c 20 74 6f 0a 09 54 63 6c 5f 4e 6f 74 69 66  ll to..Tcl_Notif
3da0: 79 43 68 61 6e 6e 65 6c 20 69 6e 20 74 68 65 20  yChannel in the 
3db0: 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 20 62  ChannelHandler b
3dc0: 65 63 61 75 73 65 20 74 68 69 73 20 77 69 6c 6c  ecause this will
3dd0: 20 72 65 73 75 6c 74 0a 09 69 6e 20 61 6e 20 69   result..in an i
3de0: 6e 66 69 6e 69 74 65 20 6c 6f 6f 70 20 69 66 20  nfinite loop if 
3df0: 64 61 74 61 20 69 73 20 65 76 65 72 20 62 75 66  data is ever buf
3e00: 66 65 72 65 64 20 69 6e 20 74 68 65 20 42 49 4f  fered in the BIO
3e10: 0a 09 73 74 72 75 63 74 75 72 65 2e 20 5b 42 75  ..structure. [Bu
3e20: 67 3a 20 35 36 32 33 5d 0a 0a 32 30 30 30 2d 30  g: 5623]..2000-0
3e30: 35 2d 33 31 20 20 42 72 65 6e 74 20 57 65 6c 63  5-31  Brent Welc
3e40: 68 20 3c 77 65 6c 63 68 40 73 63 72 69 70 74 69  h <welch@scripti
3e50: 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e  cs.com>...* tls.
3e60: 63 3a 20 43 68 61 6e 67 65 20 74 68 65 20 43 68  c: Change the Ch
3e70: 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 20 74 6f 20  annelHandler to 
3e80: 62 65 20 72 65 67 69 73 74 65 72 65 64 20 6f 6e  be registered on
3e90: 20 74 68 65 20 6d 61 69 6e 0a 09 63 68 61 6e 6e   the main..chann
3ea0: 65 6c 20 61 73 20 6f 70 70 73 65 64 20 74 6f 20  el as oppsed to 
3eb0: 74 68 65 20 22 70 61 72 65 6e 74 22 2c 20 6f 72  the "parent", or
3ec0: 20 73 75 70 65 72 63 65 65 64 65 64 2c 20 63 68   superceeded, ch
3ed0: 61 6e 6e 65 6c 2e 20 20 54 68 69 73 0a 09 69 73  annel.  This..is
3ee0: 20 62 65 63 61 75 73 65 20 74 68 65 20 73 6f 63   because the soc
3ef0: 6b 65 74 20 64 72 69 76 65 72 20 6e 6f 74 69 66  ket driver notif
3f00: 69 65 73 20 74 68 65 20 6d 61 69 6e 20 63 68 61  ies the main cha
3f10: 6e 6e 65 6c 2c 20 61 6e 64 20 74 68 65 72 65 0a  nnel, and there.
3f20: 09 61 72 65 20 74 69 6d 65 73 20 77 69 74 68 20  .are times with 
3f30: 74 68 65 20 6d 61 69 6e 20 63 68 61 6e 6e 65 6c  the main channel
3f40: 20 67 65 74 73 20 63 6c 6f 73 65 64 2c 20 62 75   gets closed, bu
3f50: 74 20 74 68 65 20 73 75 70 65 72 63 65 64 65 64  t the superceded
3f60: 0a 09 6f 6e 65 20 69 73 20 6e 6f 74 20 79 65 74  ..one is not yet
3f70: 20 63 6c 6f 73 65 64 2e 20 20 49 66 20 74 68 65   closed.  If the
3f80: 20 63 68 61 6e 6e 65 6c 20 68 61 6e 64 6c 65 72   channel handler
3f90: 20 67 65 74 73 20 74 72 69 67 67 65 72 65 64 20   gets triggered 
3fa0: 69 6e 0a 09 74 68 69 73 20 68 61 6c 66 2d 6f 70  in..this half-op
3fb0: 65 6e 20 73 74 61 74 65 20 69 74 20 69 73 20 61  en state it is a
3fc0: 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74  ssociated with t
3fd0: 68 65 20 73 75 70 65 72 63 65 65 64 65 64 0a 09  he superceeded..
3fe0: 63 68 61 6e 6e 65 64 6c 2c 20 62 75 74 20 75 73  channedl, but us
3ff0: 65 73 20 69 74 73 20 70 72 69 76 61 74 65 20 70  es its private p
4000: 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 6d 61  ointer to the ma
4010: 69 6e 20 63 68 61 6e 6e 65 6c 2c 20 77 68 69 63  in channel, whic
4020: 68 0a 09 69 73 20 6d 6f 73 74 6c 79 20 64 65 73  h..is mostly des
4030: 74 72 6f 79 65 64 2e 20 20 45 6c 69 6d 69 6e 61  troyed.  Elimina
4040: 74 65 64 20 74 68 65 20 72 65 64 75 6e 64 61 6e  ted the redundan
4050: 74 20 63 61 6c 6c 20 74 6f 0a 09 54 63 6c 5f 4e  t call to..Tcl_N
4060: 6f 74 69 66 79 43 68 61 6e 6e 65 6c 20 66 72 6f  otifyChannel fro
4070: 6d 20 54 6c 73 57 61 74 63 68 50 72 6f 63 2e 20  m TlsWatchProc. 
4080: 5b 42 75 67 3a 20 35 36 32 33 5d 0a              [Bug: 5623].