Hex Artifact Content

Artifact 5c4a4ef1ae63c4acdbacc38f5496de9bb2cf952e:


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 2a 2a 20 54 4c 53 20 31 2e 36 2e 31 20  ..*** TLS 1.6.1 
0040: 54 41 47 47 45 44 20 2a 2a 2a 0a 0a 09 2a 20 63  TAGGED ***...* c
0050: 6f 6e 66 69 67 75 72 65 3a 20 72 65 67 65 6e 20  onfigure: regen 
0060: 77 69 74 68 20 61 63 2d 32 2e 35 39 0a 09 2a 20  with ac-2.59..* 
0070: 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 2c  win/makefile.vc,
0080: 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 62   configure.in: b
0090: 75 6d 70 20 76 65 72 73 69 6f 6e 20 74 6f 20 31  ump version to 1
00a0: 2e 36 2e 31 0a 09 2a 20 74 63 6c 63 6f 6e 66 69  .6.1..* tclconfi
00b0: 67 2f 74 63 6c 2e 6d 34 3a 20 75 70 64 61 74 65  g/tcl.m4: update
00c0: 64 20 74 6f 20 54 45 41 20 33 2e 38 0a 0a 09 2a  d to TEA 3.8...*
00d0: 20 74 6c 73 2e 63 20 28 53 74 61 74 75 73 4f 62   tls.c (StatusOb
00e0: 6a 43 6d 64 29 3a 20 6d 65 6d 6c 65 61 6b 3a 20  jCmd): memleak: 
00f0: 66 72 65 65 20 70 65 65 72 20 69 66 20 6c 6f 61  free peer if loa
0100: 64 65 64 2e 20 5b 42 75 67 20 33 30 34 31 39 32  ded. [Bug 304192
0110: 35 5d 0a 0a 32 30 31 30 2d 30 37 2d 32 37 20 20  5]..2010-07-27  
0120: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66  Jeff Hobbs  <jef
0130: 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63  fh@ActiveState.c
0140: 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c 20  om>...* tls.tcl 
0150: 28 74 6c 73 3a 3a 73 6f 63 6b 65 74 29 3a 20 73  (tls::socket): s
0160: 6f 6d 65 20 73 6f 63 6b 65 74 20 69 6d 70 6c 65  ome socket imple
0170: 6d 65 6e 74 61 74 69 6f 6e 73 20 68 61 76 65 20  mentations have 
0180: 61 20 2d 74 79 70 65 0a 09 73 75 70 70 6f 72 74  a -type..support
0190: 20 28 65 2e 67 2e 20 66 6f 72 20 69 6e 65 74 36   (e.g. for inet6
01a0: 29 2e 0a 0a 32 30 30 39 2d 30 34 2d 32 33 20 20  )...2009-04-23  
01b0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66  Jeff Hobbs  <jef
01c0: 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63  fh@ActiveState.c
01d0: 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 74 63 6c 20  om>...* tls.tcl 
01e0: 28 74 6c 73 3a 3a 69 6e 69 74 6c 69 62 29 3a 20  (tls::initlib): 
01f0: 61 64 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20  add support for 
0200: 57 69 6e 64 6f 77 73 20 73 74 61 72 70 61 63 6b  Windows starpack
0210: 0a 09 6f 70 65 72 61 74 69 6f 6e 20 74 68 61 74  ..operation that
0220: 20 75 6e 62 75 6e 64 6c 65 73 20 61 6e 79 20 63   unbundles any c
0230: 6f 6e 73 74 69 74 75 65 6e 74 20 6c 69 62 72 61  onstituent libra
0240: 72 69 65 73 2e 20 5b 41 53 20 42 75 67 20 38 32  ries. [AS Bug 82
0250: 38 38 38 5d 0a 0a 32 30 30 38 2d 30 36 2d 31 38  888]..2008-06-18
0260: 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70    Pat Thoyts  <p
0270: 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73  atthoyts@users.s
0280: 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a  ourceforge.net>.
0290: 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 68 65 72  ..* tests/cipher
02a0: 73 2e 74 65 73 74 3a 20 46 69 78 20 66 6f 72 20  s.test: Fix for 
02b0: 64 69 66 66 65 72 65 6e 74 20 6f 70 65 6e 73 73  different openss
02c0: 6c 20 76 65 72 73 69 6f 6e 73 2e 0a 09 2a 20 77  l versions...* w
02d0: 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 20  in/makefile.vc: 
02e0: 20 20 20 55 70 64 61 74 65 73 20 74 6f 20 73 75     Updates to su
02f0: 70 70 6f 72 74 20 74 65 73 74 73 2e 0a 09 2a 20  pport tests...* 
0300: 77 69 6e 2f 72 75 6c 65 73 2e 76 63 3a 0a 09 2a  win/rules.vc:..*
0310: 20 77 69 6e 2f 6e 6d 61 6b 65 68 6c 70 2e 63 3a   win/nmakehlp.c:
0320: 0a 0a 32 30 30 38 2d 30 33 2d 31 39 20 20 4a 65  ..2008-03-19  Je
0330: 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68  ff Hobbs  <jeffh
0340: 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d  @ActiveState.com
0350: 3e 0a 0a 09 2a 2a 2a 20 54 4c 53 20 31 2e 36 20  >...*** TLS 1.6 
0360: 54 41 47 47 45 44 20 2a 2a 2a 0a 0a 09 2a 20 4d  TAGGED ***...* M
0370: 61 6b 65 66 69 6c 65 2e 69 6e 20 28 64 69 73 74  akefile.in (dist
0380: 29 3a 20 75 70 64 61 74 65 20 74 6f 20 69 6e 63  ): update to inc
0390: 6c 75 64 65 20 77 69 6e 2f 20 61 6e 64 20 66 69  lude win/ and fi
03a0: 6c 65 2e 73 72 6c 0a 0a 09 2a 20 77 69 6e 2f 6d  le.srl...* win/m
03b0: 61 6b 65 66 69 6c 65 2e 76 63 3a 20 62 75 6d 70  akefile.vc: bump
03c0: 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e 36 0a   version to 1.6.
03d0: 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a  .* configure.in:
03e0: 20 75 73 65 20 2d 4c 20 61 6e 64 20 2d 52 20 77   use -L and -R w
03f0: 68 65 72 65 20 6e 65 63 65 73 73 61 72 79 2e 20  here necessary. 
0400: 5b 42 75 67 20 31 37 34 32 38 35 39 5d 0a 0a 09  [Bug 1742859]...
0410: 2a 20 61 63 6c 6f 63 61 6c 2e 6d 34 3a 20 69 6d  * aclocal.m4: im
0420: 70 72 6f 76 65 20 2d 2d 77 69 74 68 2d 73 73 6c  prove --with-ssl
0430: 2d 64 69 72 20 63 68 65 63 6b 2e 0a 0a 09 2a 20  -dir check....* 
0440: 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74  tests/tlsIO.test
0450: 20 28 74 6c 73 49 4f 2d 31 34 2e 2a 29 3a 20 20   (tlsIO-14.*):  
0460: 20 41 64 64 20 74 6c 73 3a 3a 75 6e 69 6d 70 6f   Add tls::unimpo
0470: 72 74 20 66 6f 72 20 73 79 6d 6d 65 74 72 79 0a  rt for symmetry.
0480: 09 2a 20 74 6c 73 2e 68 74 6d 2c 20 74 6c 73 2e  .* tls.htm, tls.
0490: 63 20 28 55 6e 69 6d 70 6f 72 74 4f 62 6a 43 6d  c (UnimportObjCm
04a0: 64 29 3a 20 74 6f 20 74 6c 73 3a 3a 69 6d 70 6f  d): to tls::impo
04b0: 72 74 2e 20 5b 42 75 67 20 31 32 30 33 32 37 33  rt. [Bug 1203273
04c0: 5d 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73  ]...* tls.c (Tls
04d0: 5f 43 6c 65 61 6e 2c 20 49 6d 70 6f 72 74 4f 62  _Clean, ImportOb
04e0: 6a 43 6d 64 29 3a 20 46 69 78 20 63 6c 65 61 6e  jCmd): Fix clean
04f0: 75 70 20 6d 65 6d 20 6c 65 61 6b 20 5b 42 75 67  up mem leak [Bug
0500: 20 31 34 31 34 30 34 35 5d 0a 09 55 73 65 20 62   1414045]..Use b
0510: 65 74 74 65 72 20 45 76 61 6c 20 41 50 49 73 2c  etter Eval APIs,
0520: 20 63 6c 65 61 6e 65 72 20 54 63 6c 5f 4f 62 6a   cleaner Tcl_Obj
0530: 2d 68 61 6e 64 6c 69 6e 67 2e 0a 0a 32 30 30 38  -handling...2008
0540: 2d 30 33 2d 31 39 20 20 50 61 74 20 54 68 6f 79  -03-19  Pat Thoy
0550: 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75  ts  <patthoyts@u
0560: 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65  sers.sourceforge
0570: 2e 6e 65 74 3e 0a 0a 09 2a 20 77 69 6e 2f 4d 61  .net>...* win/Ma
0580: 6b 65 66 69 6c 65 2e 76 63 20 20 55 70 64 61 74  kefile.vc  Updat
0590: 65 64 20 74 68 65 20 6e 6d 61 6b 65 20 62 75 69  ed the nmake bui
05a0: 6c 64 20 66 69 6c 65 73 20 77 69 74 68 20 4d 53  ld files with MS
05b0: 56 43 39 20 73 75 70 70 6f 72 74 0a 09 2a 20 77  VC9 support..* w
05c0: 69 6e 2f 72 75 6c 65 73 2e 76 63 3a 20 20 20 20  in/rules.vc:    
05d0: 61 6e 64 20 66 69 78 65 64 20 74 6f 20 72 75 6e  and fixed to run
05e0: 20 74 68 65 20 74 65 73 74 2d 73 75 69 74 65 20   the test-suite 
05f0: 70 72 6f 70 65 72 6c 79 2e 0a 09 2a 20 77 69 6e  properly...* win
0600: 2f 6e 6d 61 6b 65 68 6c 70 2e 63 3a 0a 09 2a 20  /nmakehlp.c:..* 
0610: 74 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 69 6e  tls.tcl (tls::in
0620: 69 74 6c 69 62 29 3a 20 43 6f 72 72 65 63 74 65  itlib): Correcte
0630: 64 20 6e 61 6d 65 73 70 61 63 65 20 68 61 6e 64  d namespace hand
0640: 6c 69 6e 67 2e 0a 09 2a 20 74 6c 73 2e 63 3a 20  ling...* tls.c: 
0650: 41 70 70 6c 69 65 64 20 23 31 38 39 30 32 32 33  Applied #1890223
0660: 20 74 6f 20 66 69 78 20 68 61 6e 64 73 68 61 6b   to fix handshak
0670: 65 20 6f 6e 20 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e  e on non-blockin
0680: 67 20 73 6f 63 6b 65 74 73 0a 0a 32 30 30 38 2d  g sockets..2008-
0690: 30 33 2d 31 37 20 20 4a 65 66 66 20 48 6f 62 62  03-17  Jeff Hobb
06a0: 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65  s  <jeffh@Active
06b0: 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74  State.com>...* t
06c0: 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 69 6e 69  ls.tcl (tls::ini
06d0: 74 6c 69 62 29 3a 20 20 20 20 20 6c 6f 61 64 20  tlib):     load 
06e0: 74 6c 73 2e 74 63 6c 20 66 69 72 73 74 20 61 6e  tls.tcl first an
06f0: 64 20 63 61 6c 6c 0a 09 2a 20 4d 61 6b 65 66 69  d call..* Makefi
0700: 6c 65 2e 69 6e 20 28 70 6b 67 49 6e 64 65 78 2e  le.in (pkgIndex.
0710: 74 63 6c 29 3a 20 74 6c 73 3a 3a 69 6e 69 74 6c  tcl): tls::initl
0720: 69 62 20 74 6f 20 6c 6f 61 64 20 6c 69 62 72 61  ib to load libra
0730: 72 79 20 74 6f 0a 09 68 61 6e 64 6c 65 20 63 77  ry to..handle cw
0740: 64 20 63 68 61 6e 67 65 73 2e 20 5b 42 75 67 20  d changes. [Bug 
0750: 31 38 38 38 31 31 33 5d 0a 0a 32 30 30 37 2d 30  1888113]..2007-0
0760: 39 2d 30 36 20 20 50 61 74 20 54 68 6f 79 74 73  9-06  Pat Thoyts
0770: 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65    <patthoyts@use
0780: 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e  rs.sourceforge.n
0790: 65 74 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 20  et>...* tls.c:  
07a0: 20 20 20 20 20 20 20 20 20 53 69 6c 65 6e 63 65           Silence
07b0: 20 36 34 20 62 69 74 20 69 6e 74 65 67 65 72 20   64 bit integer 
07c0: 63 6f 6e 76 65 72 73 69 6f 6e 20 77 61 72 6e 69  conversion warni
07d0: 6e 67 73 0a 09 2a 20 77 69 6e 2f 6e 6d 61 6b 65  ngs..* win/nmake
07e0: 68 6c 70 2e 63 3a 20 20 55 70 64 61 74 65 20 62  hlp.c:  Update b
07f0: 75 69 6c 64 20 73 79 73 74 65 6d 20 74 6f 20 73  uild system to s
0800: 75 70 70 6f 72 74 20 41 4d 44 36 34 20 74 61 72  upport AMD64 tar
0810: 67 65 74 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66  get..* win/makef
0820: 69 6c 65 2e 76 63 3a 20 77 69 74 68 20 4d 53 56  ile.vc: with MSV
0830: 43 38 0a 09 2a 20 77 69 6e 2f 72 75 6c 65 73 2e  C8..* win/rules.
0840: 76 63 3a 0a 0a 32 30 30 37 2d 30 36 2d 32 32 20  vc:..2007-06-22 
0850: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65   Jeff Hobbs  <je
0860: 66 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e  ffh@ActiveState.
0870: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63  com>...* tlsIO.c
0880: 20 28 54 6c 73 49 6e 70 75 74 50 72 6f 63 2c 20   (TlsInputProc, 
0890: 54 6c 73 4f 75 74 70 75 74 50 72 6f 63 2c 20 54  TlsOutputProc, T
08a0: 6c 73 57 61 74 63 68 50 72 6f 63 29 3a 20 0a 09  lsWatchProc): ..
08b0: 2a 20 74 6c 73 2e 63 20 28 56 65 72 69 66 79 43  * tls.c (VerifyC
08c0: 61 6c 6c 62 61 63 6b 29 3a 20 61 64 64 20 61 6e  allback): add an
08d0: 20 73 74 61 74 65 20 66 6c 61 67 20 69 6e 20 74   state flag in t
08e0: 68 65 20 76 65 72 69 66 79 20 63 61 6c 6c 62 61  he verify callba
08f0: 63 6b 0a 09 74 68 61 74 20 70 72 65 76 65 6e 74  ck..that prevent
0900: 73 20 70 6f 73 73 69 62 6c 79 20 72 65 63 75 72  s possibly recur
0910: 73 69 6f 6e 20 28 6f 6e 20 27 75 70 64 61 74 65  sion (on 'update
0920: 27 29 2e 20 5b 42 75 67 20 31 36 35 32 33 38 30  '). [Bug 1652380
0930: 5d 0a 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 68  ]...* tests/ciph
0940: 65 72 73 2e 74 65 73 74 3a 20 72 65 77 6f 72 6b  ers.test: rework
0950: 65 64 20 74 6f 20 6d 61 6b 65 20 74 65 73 74 20  ed to make test 
0960: 6f 75 74 70 75 74 20 63 6c 65 61 6e 65 72 20 74  output cleaner t
0970: 6f 0a 09 75 6e 64 65 72 73 74 61 6e 64 20 6d 69  o..understand mi
0980: 73 73 69 6e 67 20 63 69 70 68 65 72 73 20 28 69  ssing ciphers (i
0990: 66 20 61 6e 79 29 0a 0a 09 2a 20 4d 61 6b 65 66  f any)...* Makef
09a0: 69 6c 65 2e 69 6e 2c 20 74 63 6c 63 6f 6e 66 69  ile.in, tclconfi
09b0: 67 2f 74 63 6c 2e 6d 34 3a 20 75 70 64 61 74 65  g/tcl.m4: update
09c0: 20 74 6f 20 54 45 41 20 33 2e 36 0a 09 2a 20 63   to TEA 3.6..* c
09d0: 6f 6e 66 69 67 75 72 65 2c 20 63 6f 6e 66 69 67  onfigure, config
09e0: 75 72 65 2e 69 6e 3a 20 20 20 20 20 20 20 75 73  ure.in:       us
09f0: 69 6e 67 20 61 75 74 6f 63 6f 6e 66 2d 32 2e 35  ing autoconf-2.5
0a00: 39 0a 0a 32 30 30 37 2d 30 32 2d 32 38 20 20 50  9..2007-02-28  P
0a10: 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74  at Thoyts  <patt
0a20: 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72  hoyts@users.sour
0a30: 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a  ceforge.net>...*
0a40: 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63   win/makefile.vc
0a50: 3a 20 52 65 62 61 73 65 20 74 68 65 20 44 4c 4c  : Rebase the DLL
0a60: 20 73 65 6e 73 69 62 6c 79 2e 20 41 64 64 69 74   sensibly. Addit
0a70: 69 6f 6e 61 6c 20 6c 69 62 73 20 66 6f 72 20 0a  ional libs for .
0a80: 09 73 74 61 74 69 63 20 6c 69 6e 6b 20 6f 66 20  .static link of 
0a90: 6f 70 65 6e 73 73 6c 2e 0a 09 2a 20 74 6c 73 2e  openssl...* tls.
0aa0: 74 63 6c 3a 20 62 75 67 20 23 31 35 37 39 38 33  tcl: bug #157983
0ab0: 37 20 2d 20 54 49 50 20 32 37 38 20 62 75 67 20  7 - TIP 278 bug 
0ac0: 28 70 6f 73 73 69 62 6c 79 29 20 2d 20 66 69 78  (possibly) - fix
0ad0: 65 64 2e 0a 0a 32 30 30 36 2d 30 33 2d 33 30 20  ed...2006-03-30 
0ae0: 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61   Pat Thoyts  <pa
0af0: 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f  tthoyts@users.so
0b00: 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a  urceforge.net>..
0b10: 09 2a 20 74 63 6c 63 6f 6e 66 69 67 2f 2a 3a 20  .* tclconfig/*: 
0b20: 20 55 70 64 61 74 65 64 20 74 6f 20 54 45 41 20   Updated to TEA 
0b30: 33 2e 35 20 69 6e 20 72 65 73 70 6f 6e 73 65 20  3.5 in response 
0b40: 74 6f 20 62 75 67 20 31 34 36 30 34 39 31 0a 09  to bug 1460491..
0b50: 2a 20 63 6f 6e 66 69 67 75 72 65 2a 3a 20 20 20  * configure*:   
0b60: 52 65 67 65 6e 65 72 61 74 65 64 20 63 6f 6e 66  Regenerated conf
0b70: 69 67 75 72 65 2e 0a 0a 32 30 30 35 2d 30 32 2d  igure...2005-02-
0b80: 30 38 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20  08  Jeff Hobbs  
0b90: 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61  <jeffh@ActiveSta
0ba0: 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 4d 61 6b 65  te.com>...* Make
0bb0: 66 69 6c 65 2e 69 6e 2c 20 74 63 6c 63 6f 6e 66  file.in, tclconf
0bc0: 69 67 2f 74 63 6c 2e 6d 34 3a 20 75 70 64 61 74  ig/tcl.m4: updat
0bd0: 65 20 74 6f 20 54 45 41 20 33 2e 32 0a 09 2a 20  e to TEA 3.2..* 
0be0: 63 6f 6e 66 69 67 75 72 65 2c 20 63 6f 6e 66 69  configure, confi
0bf0: 67 75 72 65 2e 69 6e 3a 20 20 20 20 20 20 20 75  gure.in:       u
0c00: 73 69 6e 67 20 61 75 74 6f 63 6f 6e 66 2d 32 2e  sing autoconf-2.
0c10: 35 39 0a 0a 32 30 30 34 2d 31 32 2d 32 33 20 20  59..2004-12-23  
0c20: 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74  Pat Thoyts  <pat
0c30: 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75  thoyts@users.sou
0c40: 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09  rceforge.net>...
0c50: 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 20  * Makefile.in:  
0c60: 20 20 20 20 52 65 6d 6f 76 65 64 20 73 70 75 72      Removed spur
0c70: 69 6f 75 73 20 63 6f 70 79 69 6e 67 20 6f 66 20  ious copying of 
0c80: 74 6c 73 2e 74 63 6c 20 69 6e 74 6f 20 74 68 65  tls.tcl into the
0c90: 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20  ..              
0ca0: 20 20 20 20 20 20 62 75 69 6c 64 20 64 69 72 65        build dire
0cb0: 63 74 6f 72 79 2e 0a 0a 32 30 30 34 2d 31 32 2d  ctory...2004-12-
0cc0: 32 32 20 20 50 61 74 20 54 68 6f 79 74 73 20 20  22  Pat Thoyts  
0cd0: 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 73  <patthoyts@users
0ce0: 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74  .sourceforge.net
0cf0: 3e 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e  >...* configure.
0d00: 69 6e 3a 20 20 20 20 20 49 6e 63 72 65 6d 65 6e  in:     Incremen
0d10: 74 65 64 20 6d 69 6e 6f 72 20 76 65 72 73 69 6f  ted minor versio
0d20: 6e 20 74 6f 20 31 2e 35 2e 31 0a 09 2a 20 63 6f  n to 1.5.1..* co
0d30: 6e 66 69 67 75 72 65 3a 20 20 20 20 20 20 20 20  nfigure:        
0d40: 0a 0a 32 30 30 34 2d 31 32 2d 31 37 20 20 50 61  ..2004-12-17  Pa
0d50: 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68  t Thoyts  <patth
0d60: 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63  oyts@users.sourc
0d70: 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20  eforge.net>...* 
0d80: 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a  win/makefile.vc:
0d90: 20 20 41 64 64 65 64 20 74 68 65 20 4d 53 56 43    Added the MSVC
0da0: 20 62 75 69 6c 64 20 73 79 73 74 65 6d 20 28 66   build system (f
0db0: 72 6f 6d 20 74 68 65 20 54 63 6c 0a 09 2a 20 77  rom the Tcl..* w
0dc0: 69 6e 2f 72 75 6c 65 73 2e 76 63 3a 20 20 20 20  in/rules.vc:    
0dd0: 20 73 61 6d 70 6c 65 65 78 74 65 6e 73 69 6f 6e   sampleextension
0de0: 29 2e 0a 09 2a 20 77 69 6e 2f 6e 6d 61 6b 65 68  )...* win/nmakeh
0df0: 6c 70 2e 63 3a 0a 09 2a 20 77 69 6e 2f 74 6c 73  lp.c:..* win/tls
0e00: 2e 72 63 20 20 20 20 20 20 20 20 41 64 64 65 64  .rc        Added
0e10: 20 57 69 6e 64 6f 77 73 20 72 65 73 6f 75 72 63   Windows resourc
0e20: 65 20 66 69 6c 65 2e 0a 09 0a 09 2a 20 74 6c 73  e file.....* tls
0e30: 2e 74 63 6c 3a 20 20 20 20 20 20 20 20 20 20 46  .tcl:          F
0e40: 72 6f 6d 20 70 61 74 63 68 20 23 39 34 38 31 35  rom patch #94815
0e50: 35 2c 20 61 64 64 65 64 20 73 75 70 70 6f 72 74  5, added support
0e60: 20 66 6f 72 0a 09 20 20 20 20 20 20 20 20 20 20   for..          
0e70: 20 20 20 20 20 20 20 20 20 20 61 6c 74 65 72 6e            altern
0e80: 61 74 65 20 73 6f 63 6b 65 74 20 63 6f 6d 6d 61  ate socket comma
0e90: 6e 64 73 2e 0a 09 2a 20 74 6c 73 2e 63 3a 20 20  nds...* tls.c:  
0ea0: 20 20 20 20 20 20 20 20 20 20 51 75 69 65 74 65            Quiete
0eb0: 6e 20 73 6f 6d 65 20 4d 53 56 43 20 77 61 72 6e  n some MSVC warn
0ec0: 69 6e 67 73 2e 20 50 72 65 66 65 72 20 63 6b 61  ings. Prefer cka
0ed0: 6c 6c 6f 63 0a 09 20 20 20 20 20 20 20 20 20 20  lloc..          
0ee0: 20 20 20 20 20 20 20 20 20 20 6f 76 65 72 20 54            over T
0ef0: 63 6c 5f 41 6c 6c 6f 63 2e 20 28 44 61 76 69 64  cl_Alloc. (David
0f00: 20 47 72 61 76 65 72 61 75 78 29 2e 0a 0a 32 30   Graveraux)...20
0f10: 30 34 2d 30 36 2d 32 39 20 20 50 61 74 20 54 68  04-06-29  Pat Th
0f20: 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73  oyts  <patthoyts
0f30: 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72  @users.sourcefor
0f40: 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 6c 73 2e  ge.net>...* tls.
0f50: 63 3a 20 20 20 20 20 20 20 20 20 20 20 20 46 69  c:            Fi
0f60: 78 75 70 20 74 6f 20 62 75 69 6c 64 20 61 67 61  xup to build aga
0f70: 69 6e 73 74 20 74 63 6c 20 38 2e 33 2e 33 2e 20  inst tcl 8.3.3. 
0f80: 48 61 6e 64 6c 65 0a 09 2a 20 74 6c 73 49 4f 2e  Handle..* tlsIO.
0f90: 63 3a 20 20 20 20 20 20 20 20 20 20 38 2e 34 20  c:          8.4 
0fa0: 63 6f 6e 73 74 69 66 69 63 61 74 69 6f 6e 2e 0a  constification..
0fb0: 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 20 20 20  ..* tlsInt.h:   
0fc0: 20 20 20 20 20 20 41 64 64 65 64 20 68 65 61 64        Added head
0fd0: 65 72 73 20 72 65 71 75 69 72 65 64 20 77 69 74  ers required wit
0fe0: 68 20 4d 53 56 43 20 6f 6e 20 57 69 6e 33 32 2e  h MSVC on Win32.
0ff0: 0a 09 2a 20 74 6c 73 58 35 30 39 2e 63 3a 20 20  ..* tlsX509.c:  
1000: 20 20 20 20 20 20 75 6e 64 65 66 20 6d 69 6e 20        undef min 
1010: 61 6e 64 20 6d 61 78 20 69 66 20 64 65 66 69 6e  and max if defin
1020: 65 64 20 28 77 69 6e 33 32 29 2e 0a 0a 09 2a 20  ed (win32)....* 
1030: 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 20 20 20  Makefile.in:    
1040: 20 20 46 69 78 65 64 20 74 6f 20 62 75 69 6c 64    Fixed to build
1050: 20 6f 6e 20 77 69 6e 33 32 20 75 73 69 6e 67 20   on win32 using 
1060: 6d 73 79 73 20 77 69 74 68 0a 09 2a 20 61 63 6c  msys with..* acl
1070: 6f 63 61 6c 2e 6d 34 3a 20 20 20 20 20 20 20 4d  ocal.m4:       M
1080: 53 56 43 2e 20 41 6c 73 6f 20 66 69 78 65 64 20  SVC. Also fixed 
1090: 74 68 65 20 74 65 73 74 20 74 61 72 67 65 74 2e  the test target.
10a0: 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e  ..* configure.in
10b0: 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20  :..* configure: 
10c0: 20 20 20 20 20 20 20 52 65 67 65 6e 65 72 61 74         Regenerat
10d0: 65 64 2e 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 67  ed...* tclconfig
10e0: 2f 74 63 6c 2e 6d 34 3a 20 55 70 64 61 74 65 64  /tcl.m4: Updated
10f0: 20 74 6f 20 6d 6f 73 74 20 72 65 63 65 6e 74 20   to most recent 
1100: 76 65 72 73 69 6f 6e 2e 0a 0a 32 30 30 34 2d 30  version...2004-0
1110: 33 2d 32 33 20 20 44 61 6e 20 52 61 7a 7a 65 6c  3-23  Dan Razzel
1120: 6c 20 3c 72 65 73 65 61 72 63 68 40 73 74 61 72  l <research@star
1130: 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a  fishsystems.ca>.
1140: 09 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 74 6c 73  .* tls.c:..* tls
1150: 42 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e  BIO.c:..* tlsIO.
1160: 63 3a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 09  c:..* tlsInt.h:.
1170: 46 69 78 65 64 20 74 79 70 65 20 6d 61 74 63 68  Fixed type match
1180: 20 77 61 72 6e 69 6e 67 73 2e 0a 0a 32 30 30 34   warnings...2004
1190: 2d 30 33 2d 31 39 20 20 4a 65 66 66 20 48 6f 62  -03-19  Jeff Hob
11a0: 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76  bs  <jeffh@Activ
11b0: 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20  eState.com>...* 
11c0: 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29  tls.c (Tls_Init)
11d0: 3a 20 20 20 72 65 70 6c 61 63 65 64 20 6f 6c 64  :   replaced old
11e0: 65 72 20 54 45 41 20 63 6f 6e 66 69 67 20 77 69  er TEA config wi
11f0: 74 68 20 6e 65 77 65 72 0a 09 2a 20 63 6f 6e 66  th newer..* conf
1200: 69 67 2f 2a 20 28 72 65 6d 6f 76 65 64 29 3a 0a  ig/* (removed):.
1210: 09 2a 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c 2e  .* pkgIndex.tcl.
1220: 69 6e 2c 20 73 74 72 6e 63 61 73 65 63 6d 70 2e  in, strncasecmp.
1230: 63 20 28 72 65 6d 6f 76 65 64 29 3a 0a 09 2a 20  c (removed):..* 
1240: 4d 61 6b 65 66 69 6c 65 2e 69 6e 2c 20 61 63 6c  Makefile.in, acl
1250: 6f 63 61 6c 2e 6d 34 2c 20 63 6f 6e 66 69 67 75  ocal.m4, configu
1260: 72 65 2c 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e  re, configure.in
1270: 3a 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 67 2f 52  :..* tclconfig/R
1280: 45 41 44 4d 45 2e 74 78 74 2c 20 74 63 6c 63 6f  EADME.txt, tclco
1290: 6e 66 69 67 2f 69 6e 73 74 61 6c 6c 2d 73 68 2c  nfig/install-sh,
12a0: 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d   tclconfig/tcl.m
12b0: 34 3a 0a 0a 32 30 30 34 2d 30 33 2d 31 37 20 20  4:..2004-03-17  
12c0: 44 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72 65 73  Dan Razzell <res
12d0: 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79  earch@starfishsy
12e0: 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 6c  stems.ca>...* tl
12f0: 73 58 35 30 39 2e 63 3a 09 41 64 64 20 73 75 70  sX509.c:.Add sup
1300: 70 6f 72 74 20 66 6f 72 20 6c 6f 6e 67 20 73 65  port for long se
1310: 72 69 61 6c 20 6e 75 6d 62 65 72 73 20 70 65 72  rial numbers per
1320: 20 52 46 43 20 33 32 38 30 2e 0a 09 09 09 46 6f   RFC 3280.....Fo
1330: 72 6d 61 74 20 69 73 20 6e 6f 77 20 68 65 78 61  rmat is now hexa
1340: 64 65 63 69 6d 61 6c 2e 20 0a 09 09 09 5b 52 65  decimal. ....[Re
1350: 71 75 65 73 74 20 23 39 31 35 33 31 33 5d 0a 09  quest #915313]..
1360: 09 09 43 6f 72 72 65 63 74 6c 79 20 63 6f 6e 76  ..Correctly conv
1370: 65 72 74 20 63 65 72 74 69 66 69 63 61 74 65 20  ert certificate 
1380: 44 69 73 74 69 6e 67 75 69 73 68 65 64 20 4e 61  Distinguished Na
1390: 6d 65 73 0a 09 09 09 74 6f 20 54 63 6c 20 73 74  mes....to Tcl st
13a0: 72 69 6e 67 20 72 65 70 72 65 73 65 6e 74 61 74  ring representat
13b0: 69 6f 6e 2e 20 20 45 6c 69 6d 69 6e 61 74 65 73  ion.  Eliminates
13c0: 20 75 73 65 20 6f 66 0a 09 09 09 64 65 70 72 65   use of....depre
13d0: 63 61 74 65 64 20 4f 70 65 6e 53 53 4c 20 66 75  cated OpenSSL fu
13e0: 6e 63 74 69 6f 6e 2e 20 20 46 6f 72 6d 61 74 20  nction.  Format 
13f0: 69 73 20 6e 6f 77 20 63 6f 6d 70 6c 69 61 6e 74  is now compliant
1400: 0a 09 09 09 77 69 74 68 20 52 46 43 20 32 32 35  ....with RFC 225
1410: 33 2e 20 20 5b 52 65 71 75 65 73 74 20 23 39 31  3.  [Request #91
1420: 35 33 31 35 5d 0a 0a 32 30 30 34 2d 30 32 2d 31  5315]..2004-02-1
1430: 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c  7  Dan Razzell <
1440: 72 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73  research@starfis
1450: 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 54  hsystems.ca>...T
1460: 4c 53 20 31 2e 35 2e 30 20 52 45 4c 45 41 53 45  LS 1.5.0 RELEASE
1470: 0a 0a 32 30 30 34 2d 30 32 2d 31 32 20 20 44 61  ..2004-02-12  Da
1480: 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61  n Razzell.<resea
1490: 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74  rch@starfishsyst
14a0: 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 6c 73 2e  ems.ca>...* tls.
14b0: 63 3a 09 41 6c 6c 6f 77 20 76 65 72 69 66 79 20  c:.Allow verify 
14c0: 63 61 6c 6c 62 61 63 6b 20 74 6f 20 72 65 74 75  callback to retu
14d0: 72 6e 20 65 6d 70 74 79 20 72 65 73 75 6c 74 2e  rn empty result.
14e0: 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 09 44 6f 63  ..* tls.htm:.Doc
14f0: 75 6d 65 6e 74 20 63 61 6c 6c 62 61 63 6b 20 62  ument callback b
1500: 65 68 61 76 69 6f 72 73 2e 0a 0a 32 30 30 34 2d  ehaviors...2004-
1510: 30 32 2d 31 31 20 20 44 61 6e 20 52 61 7a 7a 65  02-11  Dan Razze
1520: 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 73 74 61  ll.<research@sta
1530: 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e  rfishsystems.ca>
1540: 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f  ...* tests/tlsIO
1550: 2e 74 65 73 74 3a 0a 09 2a 20 72 65 6d 6f 74 65  .test:..* remote
1560: 2e 74 63 6c 3a 09 43 6f 6d 70 6c 65 74 65 20 70  .tcl:.Complete p
1570: 72 69 76 61 74 65 20 6b 65 79 20 6e 61 6d 65 20  rivate key name 
1580: 63 68 61 6e 67 65 73 20 66 72 6f 6d 20 32 30 30  changes from 200
1590: 31 2d 30 36 2d 32 31 2e 0a 0a 32 30 30 34 2d 30  1-06-21...2004-0
15a0: 32 2d 30 33 20 20 44 61 6e 20 52 61 7a 7a 65 6c  2-03  Dan Razzel
15b0: 6c 20 3c 72 65 73 65 61 72 63 68 40 73 74 61 72  l <research@star
15c0: 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a  fishsystems.ca>.
15d0: 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a  ..* Makefile.in:
15e0: 09 52 65 6d 6f 76 65 64 20 63 69 72 63 75 6c 61  .Removed circula
15f0: 72 20 64 65 70 65 6e 64 65 6e 63 79 2e 0a 09 2a  r dependency...*
1600: 20 74 6c 73 49 6e 74 2e 68 3a 09 4d 61 6b 65 20   tlsInt.h:.Make 
1610: 66 75 6e 63 74 69 6f 6e 20 64 65 63 6c 61 72 61  function declara
1620: 74 69 6f 6e 73 20 65 78 70 6c 69 63 69 74 2e 0a  tions explicit..
1630: 09 2a 20 74 6c 73 2e 63 3a 09 46 69 78 20 74 79  .* tls.c:.Fix ty
1640: 70 65 20 6d 61 74 63 68 20 61 6e 64 20 75 6e 75  pe match and unu
1650: 73 65 64 20 76 61 72 69 61 62 6c 65 20 77 61 72  sed variable war
1660: 6e 69 6e 67 73 2e 0a 09 2a 20 74 6c 73 42 49 4f  nings...* tlsBIO
1670: 2e 63 3a 09 46 69 78 20 74 79 70 65 20 6d 61 74  .c:.Fix type mat
1680: 63 68 20 77 61 72 6e 69 6e 67 2e 0a 0a 32 30 30  ch warning...200
1690: 33 2d 31 32 2d 31 35 20 20 44 61 6e 20 52 61 7a  3-12-15  Dan Raz
16a0: 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 73  zell.<research@s
16b0: 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63  tarfishsystems.c
16c0: 61 3e 0a 0a 09 2a 20 70 6b 67 49 6e 64 65 78 2e  a>...* pkgIndex.
16d0: 74 63 6c 2e 69 6e 3a 0a 09 2a 20 74 6c 73 2e 68  tcl.in:..* tls.h
16e0: 74 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73  tm:..* tests/tls
16f0: 49 4f 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64  IO.test: updated
1700: 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e 35 2e   version to 1.5.
1710: 0a 0a 32 30 30 33 2d 31 30 2d 30 37 20 20 44 61  ..2003-10-07  Da
1720: 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61  n Razzell.<resea
1730: 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73 74  rch@starfishsyst
1740: 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 65 73 74  ems.ca>...* test
1750: 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20  s/ciphers.test: 
1760: 75 70 64 61 74 65 64 20 6c 69 73 74 20 6f 66 20  updated list of 
1770: 74 65 73 74 65 64 20 63 69 70 68 65 72 73 20 74  tested ciphers t
1780: 6f 20 63 6f 72 72 65 73 70 6f 6e 64 0a 09 2a 20  o correspond..* 
1790: 77 69 74 68 20 74 68 6f 73 65 20 61 76 61 69 6c  with those avail
17a0: 61 62 6c 65 20 66 72 6f 6d 20 4f 70 65 6e 53 53  able from OpenSS
17b0: 4c 2e 20 5b 52 65 71 75 65 73 74 20 23 38 31 31  L. [Request #811
17c0: 39 38 31 5d 0a 0a 32 30 30 33 2d 31 30 2d 30 37  981]..2003-10-07
17d0: 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72    Dan Razzell <r
17e0: 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68  esearch@starfish
17f0: 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20  systems.ca>...* 
1800: 74 6c 73 2e 63 3a 20 61 64 64 65 64 20 43 4f 4e  tls.c: added CON
1810: 53 54 20 77 69 74 68 20 69 6e 74 65 6e 74 20 73  ST with intent s
1820: 69 6d 69 6c 61 72 20 74 6f 20 74 68 6f 73 65 20  imilar to those 
1830: 66 72 6f 6d 20 32 30 30 32 2d 30 32 2d 30 34 2e  from 2002-02-04.
1840: 0a 09 5b 52 65 71 75 65 73 74 20 23 38 31 31 39  ..[Request #8119
1850: 31 31 5d 0a 0a 32 30 30 33 2d 30 37 2d 30 37 20  11]..2003-07-07 
1860: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65   Jeff Hobbs  <je
1870: 66 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e  ffh@ActiveState.
1880: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28  com>...* tls.c (
1890: 54 6c 73 5f 49 6e 69 74 29 3a 20 20 20 61 64 64  Tls_Init):   add
18a0: 65 64 20 74 6c 73 3a 3a 6d 69 73 63 20 63 6f 6d  ed tls::misc com
18b0: 6d 61 6e 64 20 70 72 6f 76 69 64 65 64 20 62 79  mand provided by
18c0: 0a 09 2a 20 74 6c 73 58 35 30 39 2e 63 3a 20 20  ..* tlsX509.c:  
18d0: 20 20 20 20 20 20 20 20 57 6f 6a 63 69 65 63 68          Wojciech
18e0: 20 4b 6f 63 6a 61 6e 20 28 77 6f 6a 63 69 65 63   Kocjan (wojciec
18f0: 68 20 6b 6f 63 6a 61 6e 2e 6f 72 67 29 0a 09 2a  h kocjan.org)..*
1900: 20 74 65 73 74 73 2f 6b 65 79 74 65 73 74 31 2e   tests/keytest1.
1910: 74 63 6c 3a 20 74 6f 20 65 78 70 6f 73 65 20 6d  tcl: to expose m
1920: 6f 72 65 20 6c 6f 77 2d 6c 65 76 65 6c 20 53 53  ore low-level SS
1930: 4c 20 63 6f 6d 6d 61 6e 64 73 0a 09 2a 20 74 65  L commands..* te
1940: 73 74 73 2f 6b 65 79 74 65 73 74 32 2e 74 63 6c  sts/keytest2.tcl
1950: 3a 0a 0a 32 30 30 33 2d 30 35 2d 31 35 20 20 44  :..2003-05-15  D
1960: 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73 65  an Razzell.<rese
1970: 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79 73  arch@starfishsys
1980: 74 65 6d 73 2e 63 61 3e 20 0a 0a 09 2a 20 74 6c  tems.ca> ...* tl
1990: 73 2e 74 63 6c 3a 0a 09 2a 20 74 6c 73 49 6e 74  s.tcl:..* tlsInt
19a0: 2e 68 3a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64  .h:..* tls.c: ad
19b0: 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 62 69  d support for bi
19c0: 6e 64 69 6e 67 20 61 20 70 61 73 73 77 6f 72 64  nding a password
19d0: 20 63 61 6c 6c 62 61 63 6b 20 74 6f 20 74 68 65   callback to the
19e0: 20 73 6f 63 6b 65 74 2e 0a 09 4e 6f 77 20 65 61   socket...Now ea
19f0: 63 68 20 73 6f 63 6b 65 74 20 63 61 6e 20 68 61  ch socket can ha
1a00: 76 65 20 69 74 73 20 6f 77 6e 20 63 6f 6d 6d 61  ve its own comma
1a10: 6e 64 20 61 6e 64 20 70 61 73 73 77 6f 72 64 20  nd and password 
1a20: 63 61 6c 6c 62 61 63 6b 73 20 69 6e 73 74 65 61  callbacks instea
1a30: 64 0a 09 6f 66 20 62 65 69 6e 67 20 66 6f 72 63  d..of being forc
1a40: 65 64 20 74 6f 20 68 61 76 65 20 61 6c 6c 20 70  ed to have all p
1a50: 61 73 73 77 6f 72 64 20 6d 61 6e 61 67 65 6d 65  assword manageme
1a60: 6e 74 20 70 61 73 73 20 74 68 72 6f 75 67 68 20  nt pass through 
1a70: 61 20 63 6f 6d 6d 6f 6e 0a 09 70 72 6f 63 65 64  a common..proced
1a80: 75 72 65 2e 20 20 54 68 65 20 63 6f 6d 6d 6f 6e  ure.  The common
1a90: 20 70 61 73 73 77 6f 72 64 20 70 72 6f 63 65 64   password proced
1aa0: 75 72 65 20 69 73 20 72 65 74 61 69 6e 65 64 20  ure is retained 
1ab0: 66 6f 72 20 63 6f 6d 70 61 74 69 62 69 6c 69 74  for compatibilit
1ac0: 79 0a 09 62 75 74 20 69 74 73 20 75 73 65 20 73  y..but its use s
1ad0: 68 6f 75 6c 64 20 62 65 20 44 45 50 52 45 43 41  hould be DEPRECA
1ae0: 54 45 44 2e 0a 09 41 64 64 20 76 65 72 73 69 6f  TED...Add versio
1af0: 6e 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 72 65 74  n command to ret
1b00: 75 72 6e 20 4f 70 65 6e 53 53 4c 20 76 65 72 73  urn OpenSSL vers
1b10: 69 6f 6e 20 73 74 72 69 6e 67 2e 0a 09 52 65 6d  ion string...Rem
1b20: 6f 76 65 20 75 6e 73 74 61 62 6c 65 20 77 6f 72  ove unstable wor
1b30: 6b 61 72 6f 75 6e 64 73 20 6e 65 65 64 65 64 20  karounds needed 
1b40: 66 6f 72 20 76 65 72 69 66 79 20 69 6e 20 6f 62  for verify in ob
1b50: 73 6f 6c 65 74 65 20 76 65 72 73 69 6f 6e 73 20  solete versions 
1b60: 6f 66 0a 09 4f 70 65 6e 53 53 4c 2e 0a 09 46 69  of..OpenSSL...Fi
1b70: 78 20 6d 65 6d 6f 72 79 20 6c 65 61 6b 2e 20 5b  x memory leak. [
1b80: 52 65 71 75 65 73 74 20 23 36 34 30 36 36 30 5d  Request #640660]
1b90: 0a 09 4d 6f 72 65 20 63 61 73 74 73 20 74 6f 20  ..More casts to 
1ba0: 65 6c 69 6d 69 6e 61 74 65 20 63 6f 6d 70 69 6c  eliminate compil
1bb0: 65 72 20 77 61 72 6e 69 6e 67 73 2e 0a 0a 09 2a  er warnings....*
1bc0: 20 74 6c 73 2e 68 74 6d 3a 20 64 6f 63 75 6d 65   tls.htm: docume
1bd0: 6e 74 20 70 61 73 73 77 6f 72 64 20 63 61 6c 6c  nt password call
1be0: 62 61 63 6b 2e 0a 09 43 6f 72 72 65 63 74 20 74  back...Correct t
1bf0: 65 63 68 6e 69 63 61 6c 20 61 6e 64 20 74 79 70  echnical and typ
1c00: 6f 67 72 61 70 68 69 63 20 65 72 72 6f 72 73 2e  ographic errors.
1c10: 0a 0a 09 2a 20 52 45 41 44 4d 45 2e 74 78 74 3a  ...* README.txt:
1c20: 20 69 64 65 6e 74 69 66 79 20 76 65 72 73 69 6f   identify versio
1c30: 6e 73 20 6f 66 20 4f 70 65 6e 53 53 4c 20 77 68  ns of OpenSSL wh
1c40: 69 63 68 20 66 69 78 20 6b 6e 6f 77 6e 20 70 72  ich fix known pr
1c50: 6f 62 6c 65 6d 73 2e 0a 09 47 65 6e 65 72 61 6c  oblems...General
1c60: 20 77 61 72 6e 69 6e 67 20 6f 66 20 73 65 63 75   warning of secu
1c70: 72 69 74 79 20 70 72 6f 62 6c 65 6d 73 20 69 6e  rity problems in
1c80: 20 6f 6c 64 65 72 20 76 65 72 73 69 6f 6e 73 20   older versions 
1c90: 6f 66 20 4f 70 65 6e 53 53 4c 2e 0a 0a 32 30 30  of OpenSSL...200
1ca0: 32 2d 30 32 2d 30 34 20 20 4a 65 66 66 20 48 6f  2-02-04  Jeff Ho
1cb0: 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69  bbs  <jeffh@Acti
1cc0: 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a  veState.com>...*
1cd0: 20 74 6c 73 2e 68 74 6d 3a 0a 09 2a 20 74 6c 73   tls.htm:..* tls
1ce0: 2e 63 3a 20 61 64 64 65 64 20 73 75 70 70 6f 72  .c: added suppor
1cf0: 74 20 66 6f 72 20 6c 6f 63 61 6c 20 63 65 72 74  t for local cert
1d00: 69 66 69 63 61 74 65 20 73 74 61 74 75 73 20 63  ificate status c
1d10: 68 65 63 6b 2c 20 61 73 20 77 65 6c 6c 0a 09 61  heck, as well..a
1d20: 73 20 72 65 74 75 72 6e 69 6e 67 20 74 68 65 20  s returning the 
1d30: 23 20 6f 66 20 62 69 74 73 20 69 6e 20 74 68 65  # of bits in the
1d40: 20 73 65 73 73 69 6f 6e 20 6b 65 79 2e 20 5b 50   session key. [P
1d50: 61 74 63 68 20 23 35 30 35 36 39 38 5d 20 28 72  atch #505698] (r
1d60: 6f 73 65 29 0a 0a 09 2a 20 74 6c 73 2e 63 3a 0a  ose)...* tls.c:.
1d70: 09 2a 20 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74  .* tlsIO.c:..* t
1d80: 6c 73 42 49 4f 2e 63 3a 20 61 64 64 65 64 20 43  lsBIO.c: added C
1d90: 4f 4e 53 54 73 20 74 6f 20 73 61 74 69 73 66 79  ONSTs to satisfy
1da0: 20 54 63 6c 20 38 2e 34 20 73 6f 75 72 63 65 73   Tcl 8.4 sources
1db0: 2e 20 20 54 68 69 73 20 6d 61 79 0a 09 67 69 76  .  This may..giv
1dc0: 65 20 77 61 72 6e 69 6e 67 73 20 77 68 65 6e 20  e warnings when 
1dd0: 63 6f 6d 70 69 6c 65 64 20 61 67 61 69 6e 73 74  compiled against
1de0: 20 38 2e 33 2c 20 62 75 74 20 74 68 65 79 20 63   8.3, but they c
1df0: 61 6e 20 62 65 20 69 67 6e 6f 72 65 64 2e 0a 0a  an be ignored...
1e00: 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c 65 43  .* tests/simpleC
1e10: 6c 69 65 6e 74 2e 74 63 6c 3a 0a 09 2a 20 74 65  lient.tcl:..* te
1e20: 73 74 73 2f 73 69 6d 70 6c 65 53 65 72 76 65 72  sts/simpleServer
1e30: 2e 74 63 6c 3a 20 70 6f 69 6e 74 20 74 6f 20 75  .tcl: point to u
1e40: 70 64 61 74 65 64 20 63 6c 69 65 6e 74 2f 73 65  pdated client/se
1e50: 72 76 65 72 20 6b 65 79 20 66 69 6c 65 73 2e 0a  rver key files..
1e60: 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e  ..* tests/tlsIO.
1e70: 74 65 73 74 3a 0a 09 2a 20 74 65 73 74 73 2f 63  test:..* tests/c
1e80: 69 70 68 65 72 73 2e 74 65 73 74 3a 20 75 70 64  iphers.test: upd
1e90: 61 74 65 64 20 74 6f 20 6c 6f 61 64 20 74 6c 73  ated to load tls
1ea0: 20 66 72 6f 6d 20 62 75 69 6c 64 20 64 69 72 2e   from build dir.
1eb0: 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e  ...* Makefile.in
1ec0: 3a 20 72 65 6d 6f 76 65 64 20 73 74 72 6e 63 61  : removed strnca
1ed0: 73 65 63 6d 70 20 66 72 6f 6d 20 64 65 66 61 75  secmp from defau
1ee0: 6c 74 20 6f 62 6a 65 63 74 20 73 65 74 2e 20 20  lt object set.  
1ef0: 54 68 69 73 0a 09 69 73 20 6f 6e 6c 79 20 6e 65  This..is only ne
1f00: 65 64 65 64 20 6f 6e 20 74 68 65 20 4d 61 63 2c  eded on the Mac,
1f10: 20 61 6e 64 20 54 63 6c 20 73 74 75 62 73 20 70   and Tcl stubs p
1f20: 72 6f 76 69 64 65 73 20 69 74 2e 0a 0a 09 2a 20  rovides it....* 
1f30: 63 6f 6e 66 69 67 75 72 65 3a 20 72 65 67 65 6e  configure: regen
1f40: 27 65 64 2e 0a 09 2a 20 63 6f 6e 66 69 67 75 72  'ed...* configur
1f50: 65 2e 69 6e 3a 20 75 70 64 61 74 65 64 20 74 6f  e.in: updated to
1f60: 20 31 2e 35 2e 30 20 66 6f 72 20 6e 65 78 74 20   1.5.0 for next 
1f70: 72 65 6c 65 61 73 65 2e 0a 09 43 68 61 6e 67 65  release...Change
1f80: 64 20 64 65 66 61 75 6c 74 20 6f 70 65 6e 73 73  d default openss
1f90: 6c 20 6c 6f 63 61 74 69 6f 6e 20 74 6f 20 2f 75  l location to /u
1fa0: 73 72 2f 6c 6f 63 61 6c 2f 73 73 6c 20 28 74 68  sr/local/ssl (th
1fb0: 69 73 20 69 73 20 77 68 65 72 65 0a 09 6f 70 65  is is where..ope
1fc0: 6e 73 73 6c 20 30 2e 39 2e 36 63 20 69 6e 73 74  nssl 0.9.6c inst
1fd0: 61 6c 6c 73 20 62 79 20 64 65 66 61 75 6c 74 29  alls by default)
1fe0: 2e 0a 09 43 68 61 6e 67 65 64 20 74 6f 20 75 73  ...Changed to us
1ff0: 65 20 70 75 62 6c 69 63 20 54 63 6c 20 68 65 61  e public Tcl hea
2000: 64 65 72 73 20 28 70 72 69 76 61 74 65 20 6e 6f  ders (private no
2010: 74 20 6e 65 65 64 65 64 29 2e 0a 0a 32 30 30 31  t needed)...2001
2020: 2d 30 36 2d 32 31 20 20 4a 65 66 66 20 48 6f 62  -06-21  Jeff Hob
2030: 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76  bs  <jeffh@Activ
2040: 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 54 4c  eState.com>...TL
2050: 53 20 31 2e 34 2e 31 20 52 45 4c 45 41 53 45 0a  S 1.4.1 RELEASE.
2060: 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 61  ..* configure: a
2070: 64 64 65 64 20 63 6f 6e 66 69 67 75 72 65 20 74  dded configure t
2080: 6f 20 43 56 53 0a 09 2a 20 63 6f 6e 66 69 67 75  o CVS..* configu
2090: 72 65 2e 69 6e 3a 20 6d 6f 76 65 64 20 74 6f 20  re.in: moved to 
20a0: 70 61 74 63 68 6c 65 76 65 6c 20 31 2e 34 2e 31  patchlevel 1.4.1
20b0: 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e  ...* Makefile.in
20c0: 3a 20 63 6f 72 72 65 63 74 65 64 20 27 64 69 73  : corrected 'dis
20d0: 74 27 20 74 61 72 67 65 74 0a 0a 09 2a 20 74 65  t' target...* te
20e0: 73 74 73 2f 63 65 72 74 73 2f 66 69 6c 65 2e 73  sts/certs/file.s
20f0: 72 6c 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72  rl:..* tests/cer
2100: 74 73 2f 63 61 2e 70 65 6d 3a 0a 09 2a 20 74 65  ts/ca.pem:..* te
2110: 73 74 73 2f 63 65 72 74 73 2f 63 6c 69 65 6e 74  sts/certs/client
2120: 2e 6b 65 79 3a 0a 09 2a 20 74 65 73 74 73 2f 63  .key:..* tests/c
2130: 65 72 74 73 2f 63 6c 69 65 6e 74 2e 70 65 6d 3a  erts/client.pem:
2140: 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f  ..* tests/certs/
2150: 63 6c 69 65 6e 74 2e 72 65 71 3a 0a 09 2a 20 74  client.req:..* t
2160: 65 73 74 73 2f 63 65 72 74 73 2f 70 72 69 76 6b  ests/certs/privk
2170: 65 79 2e 70 65 6d 3a 0a 09 2a 20 74 65 73 74 73  ey.pem:..* tests
2180: 2f 63 65 72 74 73 2f 73 65 72 76 65 72 2e 6b 65  /certs/server.ke
2190: 79 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74  y:..* tests/cert
21a0: 73 2f 73 65 72 76 65 72 2e 70 65 6d 3a 0a 09 2a  s/server.pem:..*
21b0: 20 74 65 73 74 73 2f 63 65 72 74 73 2f 73 65 72   tests/certs/ser
21c0: 76 65 72 2e 72 65 71 3a 0a 09 2a 20 74 65 73 74  ver.req:..* test
21d0: 73 2f 63 65 72 74 73 2f 63 61 63 65 72 74 2e 70  s/certs/cacert.p
21e0: 65 6d 3a 20 72 65 70 6c 61 63 65 64 20 62 79 20  em: replaced by 
21f0: 6e 65 77 20 63 61 2e 70 65 6d 0a 09 2a 20 74 65  new ca.pem..* te
2200: 73 74 73 2f 63 65 72 74 73 2f 73 6b 65 79 2e 70  sts/certs/skey.p
2210: 65 6d 3a 20 72 65 70 6c 61 63 65 64 20 62 79 20  em: replaced by 
2220: 6e 65 77 20 73 65 72 76 65 72 2e 6b 65 79 0a 09  new server.key..
2230: 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 63 6b  * tests/certs/ck
2240: 65 79 2e 70 65 6d 3a 20 72 65 70 6c 61 63 65 64  ey.pem: replaced
2250: 20 62 79 20 6e 65 77 20 63 6c 69 65 6e 74 2e 6b   by new client.k
2260: 65 79 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74  ey..* tests/cert
2270: 73 2f 52 45 41 44 4d 45 2e 74 78 74 3a 20 6e 65  s/README.txt: ne
2280: 77 20 73 65 74 20 6f 66 20 74 65 73 74 20 63 65  w set of test ce
2290: 72 74 69 66 69 63 61 74 65 73 20 77 69 74 68 20  rtificates with 
22a0: 73 6f 6d 65 0a 09 52 45 41 44 4d 45 20 69 6e 66  some..README inf
22b0: 6f 20 6f 6e 20 74 68 65 69 72 20 67 65 6e 65 72  o on their gener
22c0: 61 74 69 6f 6e 2e 0a 0a 09 2a 20 74 65 73 74 73  ation....* tests
22d0: 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20 75  /ciphers.test: u
22e0: 70 64 61 74 65 64 20 63 69 70 68 65 72 73 20 65  pdated ciphers e
22f0: 78 70 65 63 74 65 64 20 77 69 74 68 20 64 65 66  xpected with def
2300: 61 75 6c 74 0a 09 6f 70 65 6e 73 73 6c 20 62 75  ault..openssl bu
2310: 69 6c 64 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74  ild....* tests/t
2320: 63 6c 49 4f 2e 74 65 73 74 3a 20 75 70 64 61 74  clIO.test: updat
2330: 65 64 20 74 6f 20 75 73 65 20 6e 65 77 20 6e 61  ed to use new na
2340: 6d 65 73 20 66 6f 72 20 63 65 72 74 73 2f 6b 65  mes for certs/ke
2350: 79 73 2e 0a 0a 32 30 30 31 2d 30 33 2d 31 34 20  ys...2001-03-14 
2360: 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65   Jeff Hobbs  <je
2370: 66 66 68 40 67 69 6d 6c 65 74 2e 61 63 74 69 76  ffh@gimlet.activ
2380: 65 73 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20  estate.com>...* 
2390: 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29  tls.c (Tls_Init)
23a0: 3a 20 61 64 64 20 64 6f 2f 77 68 69 6c 65 20 66  : add do/while f
23b0: 6f 72 20 72 61 6e 64 6f 6d 20 6e 75 6d 62 65 72  or random number
23c0: 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 0a   initialization.
23d0: 09 74 6f 20 77 6f 72 6b 20 61 72 6f 75 6e 64 20  .to work around 
23e0: 73 6f 6d 65 20 4f 53 65 73 20 71 75 69 72 6b 73  some OSes quirks
23f0: 2e 20 20 28 52 61 6c 70 68 2e 42 69 6c 6c 65 73  .  (Ralph.Billes
2400: 40 74 65 6c 74 65 63 68 2e 63 6f 6d 2e 61 75 29  @teltech.com.au)
2410: 0a 0a 32 30 30 30 2d 30 39 2d 30 37 20 20 4a 65  ..2000-09-07  Je
2420: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73  ff Hobbs  <hobbs
2430: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a  @scriptics.com>.
2440: 0a 09 2a 20 74 6c 73 49 4f 2e 63 20 28 54 6c 73  ..* tlsIO.c (Tls
2450: 5f 43 68 61 6e 6e 65 6c 54 79 70 65 29 3a 20 73  _ChannelType): s
2460: 65 74 20 74 79 70 65 4e 61 6d 65 20 66 69 65 6c  et typeName fiel
2470: 64 20 6f 66 20 63 68 61 6e 6e 65 6c 20 74 79 70  d of channel typ
2480: 65 20 74 6f 0a 09 22 74 6c 73 22 20 28 74 68 69  e to.."tls" (thi
2490: 73 20 67 6f 74 20 6c 6f 73 74 20 69 6e 20 6d 6f  s got lost in mo
24a0: 76 65 20 74 6f 20 64 79 6e 61 6d 69 63 20 76 65  ve to dynamic ve
24b0: 72 73 69 6f 6e 20 63 6f 6d 70 61 74 61 62 69 6c  rsion compatabil
24c0: 69 74 79 0a 09 63 68 65 63 6b 69 6e 67 29 2e 0a  ity..checking)..
24d0: 0a 32 30 30 30 2d 30 38 2d 32 33 20 20 4a 65 66  .2000-08-23  Jef
24e0: 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40  f Hobbs  <hobbs@
24f0: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a  scriptics.com>..
2500: 09 54 4c 53 20 31 2e 34 20 52 45 4c 45 41 53 45  .TLS 1.4 RELEASE
2510: 44 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69  D...* Makefile.i
2520: 6e 20 28 64 69 73 74 29 3a 20 63 72 65 61 74 65  n (dist): create
2530: 20 64 69 73 74 20 74 61 72 67 65 74 20 66 6f 72   dist target for
2540: 20 61 72 63 68 69 76 65 20 64 69 73 74 72 69 62   archive distrib
2550: 75 74 69 6f 6e 73 0a 0a 09 2a 20 74 65 73 74 73  utions...* tests
2560: 2f 74 6c 73 49 4f 2e 74 65 73 74 20 28 74 6c 73  /tlsIO.test (tls
2570: 49 4f 2d 38 2e 31 29 3a 20 61 64 64 65 64 20 61  IO-8.1): added a
2580: 20 64 65 6c 61 79 20 6f 6e 20 74 68 65 20 61 63   delay on the ac
2590: 63 65 70 74 20 63 6c 6f 73 65 0a 09 74 6f 20 6d  cept close..to m
25a0: 61 6b 65 20 74 68 65 20 74 65 73 74 20 77 6f 72  ake the test wor
25b0: 6b 20 77 69 74 68 20 4f 70 65 6e 53 53 4c 20 6f  k with OpenSSL o
25c0: 6e 20 57 69 6e 64 6f 77 73 20 28 64 6f 65 73 6e  n Windows (doesn
25d0: 27 74 20 61 66 66 65 63 74 0a 09 6f 74 68 65 72  't affect..other
25e0: 20 62 75 69 6c 64 73 29 2e 0a 0a 09 2a 20 74 6c   builds)....* tl
25f0: 73 2e 68 74 6d 3a 20 75 70 64 61 74 65 64 20 77  s.htm: updated w
2600: 69 74 68 20 6e 6f 74 65 73 20 66 6f 72 20 31 2e  ith notes for 1.
2610: 34 2e 0a 0a 32 30 30 30 2d 30 38 2d 32 31 20 20  4...2000-08-21  
2620: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62  Jeff Hobbs  <hob
2630: 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d  bs@scriptics.com
2640: 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49  >...* tests/tlsI
2650: 4f 2e 74 65 73 74 3a 20 72 65 71 75 69 72 65 20  O.test: require 
2660: 61 74 20 6c 65 61 73 74 20 74 6c 73 31 2e 34 20  at least tls1.4 
2670: 69 6e 20 74 65 73 74 20 73 75 69 74 65 2e 0a 0a  in test suite...
2680: 32 30 30 30 2d 30 38 2d 31 38 20 20 4a 65 66 66  2000-08-18  Jeff
2690: 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73   Hobbs  <hobbs@s
26a0: 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09  criptics.com>...
26b0: 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69  * tls.c (Tls_Ini
26c0: 74 29 3a 20 61 64 64 65 64 20 63 61 6c 6c 20 74  t): added call t
26d0: 6f 20 52 41 4e 44 5f 73 65 65 64 20 74 6f 20 73  o RAND_seed to s
26e0: 65 65 64 20 74 68 65 20 53 53 4c 20 72 61 6e 64  eed the SSL rand
26f0: 6f 6d 0a 09 6e 75 6d 62 65 72 20 67 65 6e 65 72  om..number gener
2700: 61 74 6f 72 2e 20 20 57 69 74 68 6f 75 74 20 74  ator.  Without t
2710: 68 69 73 2c 20 4f 70 65 6e 53 53 4c 20 30 2e 39  his, OpenSSL 0.9
2720: 2e 35 20 63 68 6f 6b 65 73 2c 20 61 6e 64 20 69  .5 chokes, and i
2730: 6e 20 61 6e 79 0a 09 63 61 73 65 20 69 74 20 69  n any..case it i
2740: 73 20 61 20 62 69 67 20 73 65 63 75 72 69 74 79  s a big security
2750: 20 68 6f 6c 65 20 74 6f 20 64 6f 20 77 69 74 68   hole to do with
2760: 6f 75 74 20 69 74 2e 0a 0a 09 2a 20 63 6f 6e 66  out it....* conf
2770: 69 67 75 72 65 2e 69 6e 20 28 4f 50 45 4e 53 53  igure.in (OPENSS
2780: 4c 29 3a 20 61 64 64 65 64 20 4e 4f 5f 49 44 45  L): added NO_IDE
2790: 41 20 61 6e 64 20 4e 4f 5f 52 43 35 20 64 65 66  A and NO_RC5 def
27a0: 69 6e 65 73 20 62 79 0a 09 64 65 66 61 75 6c 74  ines by..default
27b0: 20 77 68 65 6e 20 63 6f 6d 70 69 6c 69 6e 67 20   when compiling 
27c0: 77 69 74 68 20 4f 70 65 6e 53 53 4c 2e 0a 0a 09  with OpenSSL....
27d0: 2a 20 74 6c 73 49 6e 74 2e 68 3a 20 61 64 64 65  * tlsInt.h: adde
27e0: 64 20 65 72 72 2e 68 20 69 6e 63 6c 75 64 65 0a  d err.h include.
27f0: 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a 09 2a  ..* tlsBIO.c:..*
2800: 20 74 6c 73 49 4f 2e 63 3a 20 63 6f 72 72 65 63   tlsIO.c: correc
2810: 74 65 64 20 70 65 64 61 6e 74 69 63 20 63 61 73  ted pedantic cas
2820: 74 20 65 72 72 6f 72 73 2e 0a 0a 32 30 30 30 2d  t errors...2000-
2830: 30 38 2d 31 36 20 20 4a 65 66 66 20 48 6f 62 62  08-16  Jeff Hobb
2840: 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74  s  <hobbs@script
2850: 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 65 73  ics.com>...* tes
2860: 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a  ts/ciphers.test:
2870: 20 69 6d 70 72 6f 76 65 64 20 61 62 69 6c 69 74   improved abilit
2880: 79 20 74 6f 20 63 68 61 6e 67 65 20 63 6f 6e 73  y to change cons
2890: 74 72 61 69 6e 74 0a 09 73 65 74 74 69 6e 67 20  traint..setting 
28a0: 66 6f 72 20 77 68 65 74 68 65 72 20 75 73 65 72  for whether user
28b0: 20 63 6f 6d 70 69 6c 65 64 20 61 67 61 69 6e 73   compiled agains
28c0: 74 20 52 53 41 20 6f 72 20 4f 70 65 6e 53 53 4c  t RSA or OpenSSL
28d0: 20 6c 69 62 73 2e 0a 0a 09 2a 20 74 6c 73 2e 63   libs....* tls.c
28e0: 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 63 6f 72   (Tls_Init): cor
28f0: 72 65 63 74 65 64 20 69 6e 74 65 72 70 72 65 74  rected interpret
2900: 61 74 69 6f 6e 20 6f 66 20 76 65 72 73 69 6f 6e  ation of version
2910: 20 6e 75 6d 62 65 72 0a 09 28 70 61 74 63 68 6c   number..(patchl
2920: 65 76 65 6c 20 61 6e 64 20 72 65 6c 65 61 73 65  evel and release
2930: 2f 73 65 72 69 61 6c 20 77 65 72 65 20 73 77 61  /serial were swa
2940: 70 70 65 64 29 2e 0a 0a 32 30 30 30 2d 30 38 2d  pped)...2000-08-
2950: 31 35 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20  15  Jeff Hobbs  
2960: 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69 63 73  <hobbs@scriptics
2970: 2e 63 6f 6d 3e 0a 0a 09 2a 20 52 45 41 44 4d 45  .com>...* README
2980: 2e 74 78 74 3a 20 61 64 64 65 64 20 6e 6f 74 65  .txt: added note
2990: 73 20 61 62 6f 75 74 20 6e 65 65 64 20 74 6f 20  s about need to 
29a0: 75 73 65 20 38 2e 32 2e 30 2b 2e 0a 0a 09 2a 20  use 8.2.0+....* 
29b0: 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 74 6c 73  tlsInt.h:..* tls
29c0: 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20  .c:..* tlsIO.c: 
29d0: 63 6f 72 72 65 63 74 65 64 20 73 74 72 75 63 74  corrected struct
29e0: 75 72 65 20 69 6e 69 74 69 61 6c 69 7a 61 74 69  ure initializati
29f0: 6f 6e 20 74 6f 20 77 6f 72 6b 20 77 68 65 6e 0a  on to work when.
2a00: 09 63 6f 6d 70 69 6c 69 6e 67 20 77 69 74 68 20  .compiling with 
2a10: 38 2e 32 2e 20 20 4e 6f 77 20 63 6f 6d 70 69 6c  8.2.  Now compil
2a20: 65 73 20 77 69 74 68 20 38 2e 32 2b 20 61 6e 64  es with 8.2+ and
2a30: 20 74 65 73 74 65 64 20 74 6f 20 77 6f 72 6b 0a   tested to work.
2a40: 09 77 69 74 68 20 38 2e 32 2b 20 61 6e 64 20 64  .with 8.2+ and d
2a50: 79 6e 61 6d 69 63 61 6c 6c 79 20 61 64 6a 75 73  ynamically adjus
2a60: 74 20 74 6f 20 74 68 65 20 76 65 72 73 69 6f 6e  t to the version
2a70: 20 6f 66 20 54 63 6c 20 69 74 20 77 61 73 0a 09   of Tcl it was..
2a80: 6c 6f 61 64 65 64 20 69 6e 74 6f 2e 20 20 54 4c  loaded into.  TL
2a90: 53 20 77 69 6c 6c 20 66 61 69 6c 20 74 68 65 20  S will fail the 
2aa0: 74 65 73 74 20 73 75 69 74 65 20 77 69 74 68 20  test suite with 
2ab0: 54 63 6c 20 38 2e 32 2d 38 2e 33 2e 31 2e 0a 0a  Tcl 8.2-8.3.1...
2ac0: 09 2a 20 74 65 73 74 73 2f 61 6c 6c 2e 74 63 6c  .* tests/all.tcl
2ad0: 3a 20 61 64 64 65 64 20 63 61 74 63 68 20 61 72  : added catch ar
2ae0: 6f 75 6e 64 20 3a 3a 74 63 6c 74 65 73 74 3a 3a  ound ::tcltest::
2af0: 6e 6f 72 6d 61 6c 69 7a 65 50 61 74 68 0a 09 62  normalizePath..b
2b00: 65 63 61 75 73 65 20 69 74 20 64 6f 65 73 6e 27  ecause it doesn'
2b10: 74 20 65 78 69 73 74 20 69 6e 20 70 72 65 2d 38  t exist in pre-8
2b20: 2e 33 20 74 63 6c 74 65 73 74 2e 0a 0a 09 2a 20  .3 tcltest....* 
2b30: 74 65 73 74 73 2f 73 69 6d 70 6c 65 43 6c 69 65  tests/simpleClie
2b40: 6e 74 2e 74 63 6c 3a 20 0a 09 2a 20 74 65 73 74  nt.tcl: ..* test
2b50: 73 2f 73 69 6d 70 6c 65 53 65 72 76 65 72 2e 74  s/simpleServer.t
2b60: 63 6c 3a 20 61 64 64 65 64 20 73 69 6d 70 6c 65  cl: added simple
2b70: 20 63 6c 69 65 6e 74 2f 73 65 72 76 65 72 20 74   client/server t
2b80: 65 73 74 20 73 63 72 69 70 74 73 0a 09 74 68 61  est scripts..tha
2b90: 74 20 75 73 65 20 74 65 73 74 20 63 65 72 74 73  t use test certs
2ba0: 20 61 6e 64 20 63 61 6e 20 64 6f 20 73 69 6d 70   and can do simp
2bb0: 6c 65 20 73 74 72 65 73 73 20 74 65 73 74 73 2e  le stress tests.
2bc0: 0a 0a 32 30 30 30 2d 30 38 2d 31 34 20 20 4a 65  ..2000-08-14  Je
2bd0: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73  ff Hobbs  <hobbs
2be0: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a  @scriptics.com>.
2bf0: 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a  ..* tlsInt.h:..*
2c00: 20 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73   tlsIO.c:..* tls
2c10: 42 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 2e 63 3a  BIO.c:..* tls.c:
2c20: 20 63 68 61 6e 67 65 64 20 61 72 6f 75 6e 64 20   changed around 
2c30: 74 6f 20 6f 6e 6c 79 20 77 6f 72 6b 69 6e 67 20  to only working 
2c40: 77 69 74 68 20 38 2e 32 2e 30 2b 20 28 38 2e 33  with 8.2.0+ (8.3
2c50: 2e 32 2b 0a 09 70 72 65 66 65 72 72 65 64 29 2c  .2+..preferred),
2c60: 20 77 69 74 68 20 72 75 6e 74 69 6d 65 20 63 68   with runtime ch
2c70: 65 63 6b 73 20 66 6f 72 20 70 72 65 2d 20 61 6e  ecks for pre- an
2c80: 64 20 70 6f 73 74 2d 69 6f 2d 72 65 77 72 69 74  d post-io-rewrit
2c90: 65 2e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c  e....* tls.c (Tl
2ca0: 73 5f 49 6e 69 74 29 3a 20 63 68 61 6e 67 65 64  s_Init): changed
2cb0: 20 69 74 20 74 6f 20 72 65 71 75 69 72 65 20 38   it to require 8
2cc0: 2e 33 2e 32 20 77 68 65 6e 20 54 63 6c 5f 49 6e  .3.2 when Tcl_In
2cd0: 69 74 53 74 75 62 73 0a 09 77 61 73 20 63 61 6c  itStubs..was cal
2ce0: 6c 65 64 20 62 65 63 61 75 73 65 20 77 65 20 64  led because we d
2cf0: 6f 6e 27 74 20 77 61 6e 74 20 70 65 6f 70 6c 65  on't want people
2d00: 20 75 73 69 6e 67 20 54 4c 53 20 77 69 74 68 20   using TLS with 
2d10: 74 68 65 0a 09 6f 72 69 67 69 6e 61 6c 20 73 74  the..original st
2d20: 61 63 6b 65 64 20 63 68 61 6e 6e 65 6c 20 69 6d  acked channel im
2d30: 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 2e 0a 0a 32  plementation...2
2d40: 30 30 30 2d 30 37 2d 32 36 20 20 4a 65 66 66 20  000-07-26  Jeff 
2d50: 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63  Hobbs  <hobbs@sc
2d60: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a  riptics.com>...*
2d70: 20 6d 65 72 67 65 64 20 61 6c 6c 20 63 68 61 6e   merged all chan
2d80: 67 65 73 20 66 72 6f 6d 20 74 6c 73 2d 31 2d 33  ges from tls-1-3
2d90: 2d 69 6f 2d 72 65 77 72 69 74 65 20 62 61 63 6b  -io-rewrite back
2da0: 20 69 6e 74 6f 20 6d 61 69 6e 20 62 72 61 6e 63   into main branc
2db0: 68 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49  h...* tests/tlsI
2dc0: 4f 2e 74 65 73 74 3a 20 75 70 64 61 74 65 64 20  O.test: updated 
2dd0: 63 6f 6d 6d 65 6e 74 73 2c 20 66 69 78 65 64 20  comments, fixed 
2de0: 61 20 70 63 43 72 61 73 68 20 63 61 73 65 20 74  a pcCrash case t
2df0: 68 61 74 0a 09 77 61 73 20 64 75 65 20 74 6f 20  hat..was due to 
2e00: 64 65 62 75 67 20 61 73 73 65 72 74 69 6f 6e 20  debug assertion 
2e10: 69 6e 20 57 69 6e 64 6f 77 73 20 53 53 4c 2e 0a  in Windows SSL..
2e20: 0a 09 2a 20 74 6c 73 2e 63 20 28 49 6d 70 6f 72  ..* tls.c (Impor
2e30: 74 4f 62 6a 43 6d 64 29 3a 20 72 65 6d 6f 76 65  tObjCmd): remove
2e40: 64 20 75 6e 6e 65 63 65 73 73 61 72 79 20 75 73  d unnecessary us
2e50: 65 20 6f 66 20 27 62 69 6f 27 20 61 72 67 2e 0a  e of 'bio' arg..
2e60: 09 28 54 6c 73 5f 49 6e 69 74 29 3a 20 63 68 65  .(Tls_Init): che
2e70: 63 6b 20 72 65 74 75 72 6e 20 76 61 6c 75 65 20  ck return value 
2e80: 6f 66 20 53 53 4c 5f 6c 69 62 72 61 72 79 5f 69  of SSL_library_i
2e90: 6e 69 74 2e 20 20 41 6c 73 6f 20 6c 6f 74 73 20  nit.  Also lots 
2ea0: 6f 66 0a 09 77 68 69 74 65 73 70 61 63 65 20 63  of..whitespace c
2eb0: 6c 65 61 6e 75 70 20 28 6d 6f 72 65 20 6c 69 6b  leanup (more lik
2ec0: 65 20 54 63 6c 20 45 6e 67 20 73 74 79 6c 65 20  e Tcl Eng style 
2ed0: 67 75 69 64 65 29 2c 20 62 75 74 20 6e 6f 74 20  guide), but not 
2ee0: 61 6c 6c 0a 09 63 6f 64 65 20 77 61 73 20 63 6c  all..code was cl
2ef0: 65 61 6e 65 64 20 75 70 2e 0a 0a 09 2a 20 74 6c  eaned up....* tl
2f00: 73 42 49 4f 2e 63 3a 20 6d 69 6e 6f 72 20 77 68  sBIO.c: minor wh
2f10: 69 74 65 73 70 61 63 65 20 63 6c 65 61 6e 75 70  itespace cleanup
2f20: 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 6d 69  ...* tlsIO.c: mi
2f30: 6e 6f 72 20 77 68 69 74 65 73 70 61 63 65 20 63  nor whitespace c
2f40: 6c 65 61 6e 75 70 2e 0a 09 28 54 6c 73 49 6e 70  leanup...(TlsInp
2f50: 75 74 50 72 6f 63 2c 20 54 6c 73 4f 75 74 70 75  utProc, TlsOutpu
2f60: 74 50 72 6f 63 29 3a 20 41 64 64 65 64 20 45 52  tProc): Added ER
2f70: 52 5f 63 6c 65 61 72 5f 65 72 72 6f 72 20 62 65  R_clear_error be
2f80: 66 6f 72 65 20 63 61 6c 6c 73 0a 09 74 6f 20 42  fore calls..to B
2f90: 49 4f 5f 72 65 61 64 20 6f 72 20 42 49 4f 5f 77  IO_read or BIO_w
2fa0: 72 69 74 65 2c 20 62 65 63 61 75 73 65 20 77 65  rite, because we
2fb0: 20 63 6f 75 6c 64 20 6f 74 68 65 72 77 69 73 65   could otherwise
2fc0: 20 65 6e 64 20 75 70 0a 09 70 75 6c 6c 69 6e 67   end up..pulling
2fd0: 20 61 6e 20 65 72 72 6f 72 20 6f 66 66 20 74 68   an error off th
2fe0: 65 20 73 74 61 63 6b 20 74 68 61 74 20 64 69 64  e stack that did
2ff0: 6e 27 74 20 62 65 6c 6f 6e 67 20 74 6f 20 75 73  n't belong to us
3000: 2e 20 20 41 6c 73 6f 0a 09 63 6c 65 61 6e 75 70  .  Also..cleanup
3010: 20 75 70 20 65 78 63 65 73 73 69 76 65 20 75 73   up excessive us
3020: 65 20 6f 66 20 67 6f 74 6f 73 2e 0a 0a 32 30 30  e of gotos...200
3030: 30 2d 30 37 2d 32 30 20 20 4a 65 66 66 20 48 6f  0-07-20  Jeff Ho
3040: 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69  bbs  <hobbs@scri
3050: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74  ptics.com>...* t
3060: 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 3a  ests/tlsIO.test:
3070: 20 63 6f 72 72 65 63 74 65 64 20 76 61 72 69 6f   corrected vario
3080: 75 73 20 74 65 73 74 73 20 74 6f 20 62 65 20 63  us tests to be c
3090: 6f 72 72 65 63 74 20 66 6f 72 20 54 4c 53 0a 09  orrect for TLS..
30a0: 73 74 61 63 6b 65 64 20 63 68 61 6e 6e 65 6c 73  stacked channels
30b0: 20 28 61 73 20 6f 70 70 6f 73 65 64 20 74 6f 20   (as opposed to 
30c0: 74 68 65 20 73 74 61 6e 64 61 72 64 20 73 6f 63  the standard soc
30d0: 6b 65 74 73 20 74 68 65 20 74 65 73 74 0a 09 73  kets the test..s
30e0: 75 69 74 65 20 77 61 73 20 61 64 6f 70 74 65 64  uite was adopted
30f0: 20 66 72 6f 6d 29 2e 20 20 4b 65 79 20 64 69 66   from).  Key dif
3100: 66 65 72 65 6e 63 65 73 20 61 72 65 20 74 68 61  ferences are tha
3110: 74 20 54 4c 53 20 63 61 6e 6e 6f 74 0a 09 6f 70  t TLS cannot..op
3120: 65 72 61 74 65 20 69 6e 20 6f 6e 65 20 70 72 6f  erate in one pro
3130: 63 65 73 73 20 77 69 74 68 6f 75 74 20 61 6c 6c  cess without all
3140: 20 63 68 61 6e 6e 65 6c 73 20 62 65 69 6e 67 20   channels being 
3150: 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e 67 2c 20 6f 72  non-blocking, or
3160: 0a 09 74 68 65 20 68 61 6e 64 73 68 61 6b 65 20  ..the handshake 
3170: 77 69 6c 6c 20 62 6c 6f 63 6b 2c 20 61 6e 64 20  will block, and 
3180: 68 61 6e 64 73 68 61 6b 69 6e 67 20 6d 75 73 74  handshaking must
3190: 20 62 65 20 66 6f 72 63 65 64 20 69 6e 20 73 6f   be forced in so
31a0: 6d 65 0a 09 63 61 73 65 73 2e 20 20 41 6c 73 6f  me..cases.  Also
31b0: 2c 20 68 61 6e 64 73 68 61 6b 65 73 20 64 6f 6e  , handshakes don
31c0: 27 74 20 73 65 65 6d 20 74 6f 20 63 6f 6d 70 6c  't seem to compl
31d0: 65 74 65 20 75 6e 6c 65 73 73 20 74 68 65 20 63  ete unless the c
31e0: 6c 69 65 6e 74 0a 09 68 61 73 20 70 6c 61 63 65  lient..has place
31f0: 64 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 62  d at least one b
3200: 79 74 65 20 66 6f 72 20 74 68 65 20 73 65 72 76  yte for the serv
3210: 65 72 20 74 6f 20 72 65 61 64 20 69 6e 20 74 68  er to read in th
3220: 65 20 63 68 61 6e 6e 65 6c 2e 0a 0a 09 2a 20 74  e channel....* t
3230: 65 73 74 73 2f 72 65 6d 6f 74 65 2e 74 63 6c 3a  ests/remote.tcl:
3240: 20 63 6f 72 72 65 63 74 65 64 20 74 68 65 20 66   corrected the f
3250: 69 6e 64 69 6e 67 20 6f 66 20 74 65 73 74 73 20  inding of tests 
3260: 63 65 72 74 69 66 69 63 61 74 65 73 0a 0a 09 2a  certificates...*
3270: 20 74 6c 73 49 4f 2e 63 20 28 54 6c 73 43 6c 6f   tlsIO.c (TlsClo
3280: 73 65 50 72 6f 63 29 3a 20 72 65 6d 6f 76 65 64  seProc): removed
3290: 20 64 65 6c 65 74 69 6e 67 20 6f 66 20 74 69 6d   deleting of tim
32a0: 65 72 20 68 61 6e 64 6c 65 72 20 61 73 0a 09 74  er handler as..t
32b0: 68 61 74 20 69 73 20 68 61 6e 64 6c 65 64 20 62  hat is handled b
32c0: 79 20 54 6c 73 5f 43 6c 65 61 6e 2e 0a 0a 09 2a  y Tls_Clean....*
32d0: 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 5f   tls.tcl (tls::_
32e0: 61 63 63 65 70 74 29 3a 20 63 6f 72 72 65 63 74  accept): correct
32f0: 65 64 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20  ed the internal 
3300: 5f 61 63 63 65 70 74 20 74 6f 0a 09 74 72 69 63  _accept to..tric
3310: 6b 6c 65 20 63 61 6c 6c 62 61 63 6b 20 65 72 72  kle callback err
3320: 6f 72 73 20 74 6f 20 74 68 65 20 75 73 65 72 2e  ors to the user.
3330: 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e  ...* Makefile.in
3340: 3a 20 6d 61 64 65 20 74 68 65 20 69 6e 73 74 61  : made the insta
3350: 6c 6c 2d 62 69 6e 61 72 69 65 73 20 74 61 72 67  ll-binaries targ
3360: 65 74 20 72 65 67 65 6e 65 72 61 74 65 20 74 68  et regenerate th
3370: 65 0a 09 70 6b 67 49 6e 64 65 78 2e 74 63 6c 20  e..pkgIndex.tcl 
3380: 63 6f 72 72 65 63 74 6c 79 2e 20 20 54 68 65 20  correctly.  The 
3390: 74 65 73 74 20 74 61 72 67 65 74 20 70 72 6f 62  test target prob
33a0: 61 62 6c 79 20 73 68 6f 75 6c 64 6e 27 74 20 73  ably shouldn't s
33b0: 63 72 65 77 0a 09 69 74 20 75 70 2c 20 62 75 74  crew..it up, but
33c0: 20 74 68 69 73 20 69 73 20 74 6f 20 62 65 20 6f   this is to be o
33d0: 6e 20 74 68 65 20 73 61 66 65 20 73 69 64 65 2e  n the safe side.
33e0: 0a 0a 32 30 30 30 2d 30 37 2d 31 37 20 20 4a 65  ..2000-07-17  Je
33f0: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73  ff Hobbs  <hobbs
3400: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a  @scriptics.com>.
3410: 0a 09 2a 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c  ..* pkgIndex.tcl
3420: 2e 69 6e 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72  .in:..* configur
3430: 65 2e 69 6e 3a 20 75 70 64 61 74 65 64 20 76 65  e.in: updated ve
3440: 72 73 69 6f 6e 20 74 6f 20 31 2e 34 0a 0a 32 30  rsion to 1.4..20
3450: 30 30 2d 30 37 2d 31 33 20 20 4a 65 66 66 20 48  00-07-13  Jeff H
3460: 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72  obbs  <hobbs@scr
3470: 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20  iptics.com>...* 
3480: 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74  tests/tlsIO.test
3490: 3a 20 65 6e 61 62 6c 65 64 20 74 65 73 74 73 20  : enabled tests 
34a0: 32 2e 31 30 2c 20 37 2e 5b 31 32 34 35 5d 20 28  2.10, 7.[1245] (
34b0: 74 68 65 72 65 20 69 73 20 6e 6f 20 33 29 2c 0a  there is no 3),.
34c0: 09 77 68 69 63 68 20 6e 6f 77 20 70 61 73 73 2e  .which now pass.
34d0: 20 20 41 64 64 65 64 20 73 6f 6d 65 20 63 6f 6d    Added some com
34e0: 6d 65 6e 74 73 20 74 6f 20 6f 74 68 65 72 20 66  ments to other f
34f0: 61 69 6c 69 6e 67 20 74 65 73 74 73 2e 0a 0a 32  ailing tests...2
3500: 30 30 30 2d 30 37 2d 31 31 20 20 4a 65 66 66 20  000-07-11  Jeff 
3510: 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63  Hobbs  <hobbs@sc
3520: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a  riptics.com>...*
3530: 20 74 6c 73 49 4f 2e 63 3a 20 63 68 61 6e 67 65   tlsIO.c: change
3540: 64 20 61 6c 6c 20 74 68 65 20 63 68 61 6e 6e 65  d all the channe
3550: 6c 20 70 72 6f 63 73 20 74 6f 20 73 74 61 72 74  l procs to start
3560: 20 77 69 74 68 20 54 6c 73 2a 20 66 6f 72 0a 09   with Tls* for..
3570: 62 65 74 74 65 72 20 70 61 72 69 74 79 20 77 68  better parity wh
3580: 65 6e 20 63 6f 6d 70 61 72 69 6e 67 20 77 69 74  en comparing wit
3590: 68 20 54 72 61 6e 73 66 6f 72 6d 20 63 68 61 6e  h Transform chan
35a0: 6e 65 6c 20 70 72 6f 63 73 2e 0a 09 52 65 77 72  nel procs...Rewr
35b0: 6f 74 65 20 54 6c 73 57 61 74 63 68 50 72 6f 63  ote TlsWatchProc
35c0: 2c 20 61 64 64 65 64 20 54 6c 73 4e 6f 74 69 66  , added TlsNotif
35d0: 79 50 72 6f 63 20 61 63 63 6f 72 64 69 6e 67 20  yProc according 
35e0: 74 6f 20 74 68 65 20 6e 65 77 0a 09 63 68 61 6e  to the new..chan
35f0: 6e 65 6c 20 64 65 73 69 67 6e 2c 20 77 68 69 63  nel design, whic
3600: 68 20 61 6c 73 6f 20 6c 65 61 76 65 73 20 54 6c  h also leaves Tl
3610: 73 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65 72 20  sChannelHandler 
3620: 75 6e 75 73 65 64 2e 0a 0a 09 2a 20 74 6c 73 42  unused....* tlsB
3630: 49 4f 2e 63 20 28 42 69 6f 43 74 72 6c 29 3a 20  IO.c (BioCtrl): 
3640: 63 68 61 6e 67 65 64 20 42 49 4f 5f 43 54 52 4c  changed BIO_CTRL
3650: 5f 46 4c 55 53 48 20 63 61 73 65 20 74 6f 20 75  _FLUSH case to u
3660: 73 65 0a 09 54 63 6c 5f 57 72 69 74 65 52 61 77  se..Tcl_WriteRaw
3670: 20 69 6e 73 74 65 61 64 20 6f 66 20 54 63 6c 5f   instead of Tcl_
3680: 46 6c 75 73 68 20 28 74 6f 20 6f 70 65 72 61 74  Flush (to operat
3690: 65 20 6f 6e 20 63 6f 72 72 65 63 74 20 63 68 61  e on correct cha
36a0: 6e 6e 65 6c 0a 09 69 6e 20 74 68 65 20 73 74 61  nnel..in the sta
36b0: 63 6b 20 69 6e 73 74 65 61 64 20 6f 66 20 73 74  ck instead of st
36c0: 61 72 74 69 6e 67 20 61 74 20 74 68 65 20 74 6f  arting at the to
36d0: 70 20 61 67 61 69 6e 29 2e 20 20 57 6f 75 6c 64  p again).  Would
36e0: 0a 09 6f 74 68 65 72 77 69 73 65 20 63 61 75 73  ..otherwise caus
36f0: 65 20 61 20 72 65 63 75 72 73 69 76 65 20 73 74  e a recursive st
3700: 61 63 6b 20 62 6f 6d 62 20 77 68 65 6e 20 69 6d  ack bomb when im
3710: 70 6c 69 63 69 74 20 68 61 6e 64 73 68 61 6b 69  plicit handshaki
3720: 6e 67 0a 09 74 6f 6f 6b 20 65 66 66 65 63 74 2e  ng..took effect.
3730: 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f  ...* tests/tlsIO
3740: 2e 74 65 73 74 3a 20 72 65 6d 6f 76 65 64 20 63  .test: removed c
3750: 68 61 6e 67 65 73 20 6d 61 64 65 20 74 6f 20 74  hanges made to t
3760: 65 73 74 20 73 75 69 74 65 20 28 61 6c 6c 20 74  est suite (all t
3770: 65 73 74 73 0a 09 74 68 61 74 20 72 61 6e 20 62  ests..that ran b
3780: 65 66 6f 72 65 20 6e 6f 77 20 70 61 73 73 20 63  efore now pass c
3790: 6f 72 72 65 63 74 6c 79 29 2c 20 61 6e 64 20 63  orrectly), and c
37a0: 68 61 6e 67 65 64 20 73 6f 6d 65 20 61 63 63 65  hanged some acce
37b0: 70 74 20 70 72 6f 63 0a 09 61 72 67 73 20 74 6f  pt proc..args to
37c0: 20 72 65 66 6c 65 63 74 20 74 68 61 74 20 61 20   reflect that a 
37d0: 73 6f 63 6b 20 69 73 20 61 6e 20 61 72 67 2c 20  sock is an arg, 
37e0: 6e 6f 74 20 61 20 66 69 6c 65 2e 0a 0a 32 30 30  not a file...200
37f0: 30 2d 30 37 2d 31 30 20 20 4a 65 66 66 20 48 6f  0-07-10  Jeff Ho
3800: 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69  bbs  <hobbs@scri
3810: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74  ptics.com>...* t
3820: 6c 73 42 49 4f 2e 63 20 28 42 69 6f 57 72 69 74  lsBIO.c (BioWrit
3830: 65 2c 20 42 69 6f 52 65 61 64 29 3a 20 63 68 61  e, BioRead): cha
3840: 6e 67 65 64 20 54 63 6c 5f 52 65 61 64 2f 57 72  nged Tcl_Read/Wr
3850: 69 74 65 20 74 6f 0a 09 54 63 6c 5f 52 65 61 64  ite to..Tcl_Read
3860: 52 61 77 2f 54 63 6c 57 72 69 74 65 52 61 77 2e  Raw/TclWriteRaw.
3870: 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64 64 65  ...* tls.c: adde
3880: 64 20 75 73 65 20 6f 66 20 54 63 6c 5f 47 65 74  d use of Tcl_Get
3890: 54 6f 70 43 68 61 6e 6e 65 6c 20 61 66 74 65 72  TopChannel after
38a0: 20 54 63 6c 5f 47 65 74 43 68 61 6e 6e 65 6c 20   Tcl_GetChannel 
38b0: 61 6e 64 0a 09 67 6f 74 20 72 65 74 75 72 6e 20  and..got return 
38c0: 76 61 6c 75 65 20 66 72 6f 6d 20 54 63 6c 5f 53  value from Tcl_S
38d0: 74 61 63 6b 43 68 61 6e 6e 65 6c 2e 0a 0a 09 2a  tackChannel....*
38e0: 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73   tests/tlsIO.tes
38f0: 74 3a 20 61 64 64 65 64 20 73 6f 6d 65 20 68 61  t: added some ha
3900: 6e 64 73 68 61 6b 69 6e 67 20 74 68 61 74 20 73  ndshaking that s
3910: 68 6f 75 6c 64 6e 27 74 20 62 65 0a 09 6e 65 63  houldn't be..nec
3920: 65 73 73 61 72 79 2c 20 62 75 74 20 77 65 20 63  essary, but we c
3930: 72 61 73 68 20 6f 74 68 65 72 77 69 73 65 20 28  rash otherwise (
3940: 6e 65 65 64 73 20 6d 6f 72 65 20 74 65 73 74 69  needs more testi
3950: 6e 67 29 2e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63  ng)....* tlsIO.c
3960: 3a 20 61 64 64 65 64 20 73 75 70 70 6f 72 74 20  : added support 
3970: 66 6f 72 20 22 63 6f 72 72 65 63 74 65 64 22 20  for "corrected" 
3980: 73 74 61 63 6b 65 64 20 63 68 61 6e 6e 65 6c 73  stacked channels
3990: 2e 20 20 41 6c 6c 0a 09 74 68 65 20 61 62 6f 76  .  All..the abov
39a0: 65 20 63 68 61 6e 6e 65 6c 73 20 61 72 65 20 69  e channels are i
39b0: 6e 20 54 43 4c 5f 43 48 41 4e 4e 45 4c 5f 56 45  n TCL_CHANNEL_VE
39c0: 52 53 49 4f 4e 5f 32 20 23 69 66 64 65 66 73 2e  RSION_2 #ifdefs.
39d0: 0a 0a 32 30 30 30 2d 30 36 2d 30 35 20 20 53 63  ..2000-06-05  Sc
39e0: 6f 74 74 20 53 74 61 6e 74 6f 6e 20 20 3c 73 74  ott Stanton  <st
39f0: 61 6e 74 6f 6e 40 61 6a 75 62 61 73 6f 6c 75 74  anton@ajubasolut
3a00: 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 4d 61  ions.com>...* Ma
3a10: 6b 65 66 69 6c 65 2e 69 6e 3a 20 46 69 78 65 64  kefile.in: Fixed
3a20: 20 62 72 6f 6b 65 6e 20 74 65 73 74 20 74 61 72   broken test tar
3a30: 67 65 74 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e  get....* tlsInt.
3a40: 68 3a 20 0a 09 2a 20 74 6c 73 2e 63 3a 20 43 6c  h: ..* tls.c: Cl
3a50: 65 61 6e 65 64 20 75 70 20 64 65 63 6c 61 72 61  eaned up declara
3a60: 74 69 6f 6e 73 20 6f 66 20 54 6c 73 5f 43 6c 65  tions of Tls_Cle
3a70: 61 6e 20 74 6f 20 61 76 6f 69 64 20 65 72 72 6f  an to avoid erro
3a80: 72 73 20 6f 6e 0a 09 57 69 6e 64 6f 77 73 20 28  rs on..Windows (
3a90: 6c 69 6e 74 29 2e 0a 0a 32 30 30 30 2d 30 36 2d  lint)...2000-06-
3aa0: 30 35 20 20 42 72 65 6e 74 20 57 65 6c 63 68 20  05  Brent Welch 
3ab0: 3c 77 65 6c 63 68 40 61 6a 75 62 61 73 6f 6c 75  <welch@ajubasolu
3ac0: 74 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74  tions.com>...* t
3ad0: 6c 73 2e 63 2c 20 74 6c 73 49 4f 2e 63 3a 20 20  ls.c, tlsIO.c:  
3ae0: 53 70 6c 69 74 20 54 6c 73 5f 46 72 65 65 20 69  Split Tls_Free i
3af0: 6e 74 6f 20 54 6c 73 5f 43 6c 65 61 6e 2c 20 77  nto Tls_Clean, w
3b00: 68 69 63 68 20 64 6f 65 73 0a 09 74 68 65 20 53  hich does..the S
3b10: 53 4c 20 63 6c 65 61 6e 75 70 2c 20 61 6e 64 20  SL cleanup, and 
3b20: 74 68 65 20 54 63 6c 5f 46 72 65 65 20 63 61 6c  the Tcl_Free cal
3b30: 6c 2e 20 20 49 74 20 69 73 20 69 6d 70 6f 72 74  l.  It is import
3b40: 61 6e 74 20 74 6f 20 73 68 75 74 64 6f 77 6e 0a  ant to shutdown.
3b50: 09 74 68 65 20 53 53 4c 20 73 74 61 74 65 20 22  .the SSL state "
3b60: 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 22 20 64  synchronously" d
3b70: 75 72 69 6e 67 20 61 20 73 74 61 63 6b 65 64 20  uring a stacked 
3b80: 66 6c 75 73 68 2e 0a 0a 32 30 30 30 2d 30 36 2d  flush...2000-06-
3b90: 30 31 20 20 53 63 6f 74 74 20 53 74 61 6e 74 6f  01  Scott Stanto
3ba0: 6e 20 20 3c 73 74 61 6e 74 6f 6e 40 61 6a 75 62  n  <stanton@ajub
3bb0: 61 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f 6d 3e 0a  asolutions.com>.
3bc0: 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 52 65 73  ..* tlsIO.c: Res
3bd0: 74 6f 72 65 64 20 63 61 6c 6c 20 74 6f 20 54 63  tored call to Tc
3be0: 6c 5f 4e 6f 74 69 66 79 43 68 61 6e 6e 65 6c 20  l_NotifyChannel 
3bf0: 66 72 6f 6d 20 43 68 61 6e 6e 65 6c 48 61 6e 64  from ChannelHand
3c00: 6c 65 72 0a 09 74 6f 20 65 6e 73 75 72 65 20 74  ler..to ensure t
3c10: 68 61 74 20 65 76 65 6e 74 73 20 70 72 6f 70 61  hat events propa
3c20: 67 61 74 65 20 66 72 6f 6d 20 74 68 65 20 6c 6f  gate from the lo
3c30: 77 65 72 20 64 72 69 76 65 72 2e 20 20 54 68 69  wer driver.  Thi
3c40: 73 20 6d 61 79 0a 09 72 65 73 75 6c 74 20 69 6e  s may..result in
3c50: 20 61 6e 20 69 6e 66 69 6e 69 74 65 20 6c 6f 6f   an infinite loo
3c60: 70 20 69 6e 20 73 6f 6d 65 20 63 61 73 65 73 2c  p in some cases,
3c70: 20 73 6f 20 74 68 69 73 20 69 73 20 6e 6f 74 20   so this is not 
3c80: 61 20 74 6f 74 61 6c 0a 09 66 69 78 2e 20 20 54  a total..fix.  T
3c90: 68 69 73 20 6d 61 79 20 62 65 20 73 75 66 66 69  his may be suffi
3ca0: 63 69 65 6e 74 20 66 6f 72 20 6e 6f 77 2c 20 68  cient for now, h
3cb0: 6f 77 65 76 65 72 2e 20 5b 42 75 67 3a 20 35 36  owever. [Bug: 56
3cc0: 32 33 5d 0a 0a 32 30 30 30 2d 30 36 2d 30 31 20  23]..2000-06-01 
3cd0: 20 53 63 6f 74 74 20 53 74 61 6e 74 6f 6e 20 20   Scott Stanton  
3ce0: 3c 73 74 61 6e 74 6f 6e 40 73 63 72 69 70 74 69  <stanton@scripti
3cf0: 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49  cs.com>...* tlsI
3d00: 4f 2e 63 3a 20 52 65 73 74 6f 72 65 20 74 68 65  O.c: Restore the
3d10: 20 70 72 65 76 69 6f 75 73 20 76 65 72 73 69 6f   previous versio
3d20: 6e 2e 20 20 46 69 78 65 64 20 74 68 65 20 43 6c  n.  Fixed the Cl
3d30: 6f 73 65 50 72 6f 63 20 73 6f 0a 09 69 74 20 75  oseProc so..it u
3d40: 6e 72 65 67 69 73 74 65 72 73 20 74 68 65 20 63  nregisters the c
3d50: 68 61 6e 6e 65 6c 20 68 61 6e 64 6c 65 72 20 6f  hannel handler o
3d60: 6e 20 74 68 65 20 73 75 70 65 72 63 65 64 65 64  n the superceded
3d70: 20 63 68 61 6e 6e 65 6c 0a 09 69 6e 73 74 65 61   channel..instea
3d80: 64 20 6f 66 20 74 68 65 20 75 70 70 65 72 20 63  d of the upper c
3d90: 68 61 6e 6e 65 6c 2e 20 41 6c 73 6f 20 72 65 6d  hannel. Also rem
3da0: 6f 76 65 64 20 74 68 65 20 63 61 6c 6c 20 74 6f  oved the call to
3db0: 0a 09 54 63 6c 5f 4e 6f 74 69 66 79 43 68 61 6e  ..Tcl_NotifyChan
3dc0: 6e 65 6c 20 69 6e 20 74 68 65 20 43 68 61 6e 6e  nel in the Chann
3dd0: 65 6c 48 61 6e 64 6c 65 72 20 62 65 63 61 75 73  elHandler becaus
3de0: 65 20 74 68 69 73 20 77 69 6c 6c 20 72 65 73 75  e this will resu
3df0: 6c 74 0a 09 69 6e 20 61 6e 20 69 6e 66 69 6e 69  lt..in an infini
3e00: 74 65 20 6c 6f 6f 70 20 69 66 20 64 61 74 61 20  te loop if data 
3e10: 69 73 20 65 76 65 72 20 62 75 66 66 65 72 65 64  is ever buffered
3e20: 20 69 6e 20 74 68 65 20 42 49 4f 0a 09 73 74 72   in the BIO..str
3e30: 75 63 74 75 72 65 2e 20 5b 42 75 67 3a 20 35 36  ucture. [Bug: 56
3e40: 32 33 5d 0a 0a 32 30 30 30 2d 30 35 2d 33 31 20  23]..2000-05-31 
3e50: 20 42 72 65 6e 74 20 57 65 6c 63 68 20 3c 77 65   Brent Welch <we
3e60: 6c 63 68 40 73 63 72 69 70 74 69 63 73 2e 63 6f  lch@scriptics.co
3e70: 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 43 68  m>...* tls.c: Ch
3e80: 61 6e 67 65 20 74 68 65 20 43 68 61 6e 6e 65 6c  ange the Channel
3e90: 48 61 6e 64 6c 65 72 20 74 6f 20 62 65 20 72 65  Handler to be re
3ea0: 67 69 73 74 65 72 65 64 20 6f 6e 20 74 68 65 20  gistered on the 
3eb0: 6d 61 69 6e 0a 09 63 68 61 6e 6e 65 6c 20 61 73  main..channel as
3ec0: 20 6f 70 70 73 65 64 20 74 6f 20 74 68 65 20 22   oppsed to the "
3ed0: 70 61 72 65 6e 74 22 2c 20 6f 72 20 73 75 70 65  parent", or supe
3ee0: 72 63 65 65 64 65 64 2c 20 63 68 61 6e 6e 65 6c  rceeded, channel
3ef0: 2e 20 20 54 68 69 73 0a 09 69 73 20 62 65 63 61  .  This..is beca
3f00: 75 73 65 20 74 68 65 20 73 6f 63 6b 65 74 20 64  use the socket d
3f10: 72 69 76 65 72 20 6e 6f 74 69 66 69 65 73 20 74  river notifies t
3f20: 68 65 20 6d 61 69 6e 20 63 68 61 6e 6e 65 6c 2c  he main channel,
3f30: 20 61 6e 64 20 74 68 65 72 65 0a 09 61 72 65 20   and there..are 
3f40: 74 69 6d 65 73 20 77 69 74 68 20 74 68 65 20 6d  times with the m
3f50: 61 69 6e 20 63 68 61 6e 6e 65 6c 20 67 65 74 73  ain channel gets
3f60: 20 63 6c 6f 73 65 64 2c 20 62 75 74 20 74 68 65   closed, but the
3f70: 20 73 75 70 65 72 63 65 64 65 64 0a 09 6f 6e 65   superceded..one
3f80: 20 69 73 20 6e 6f 74 20 79 65 74 20 63 6c 6f 73   is not yet clos
3f90: 65 64 2e 20 20 49 66 20 74 68 65 20 63 68 61 6e  ed.  If the chan
3fa0: 6e 65 6c 20 68 61 6e 64 6c 65 72 20 67 65 74 73  nel handler gets
3fb0: 20 74 72 69 67 67 65 72 65 64 20 69 6e 0a 09 74   triggered in..t
3fc0: 68 69 73 20 68 61 6c 66 2d 6f 70 65 6e 20 73 74  his half-open st
3fd0: 61 74 65 20 69 74 20 69 73 20 61 73 73 6f 63 69  ate it is associ
3fe0: 61 74 65 64 20 77 69 74 68 20 74 68 65 20 73 75  ated with the su
3ff0: 70 65 72 63 65 65 64 65 64 0a 09 63 68 61 6e 6e  perceeded..chann
4000: 65 64 6c 2c 20 62 75 74 20 75 73 65 73 20 69 74  edl, but uses it
4010: 73 20 70 72 69 76 61 74 65 20 70 6f 69 6e 74 65  s private pointe
4020: 72 20 74 6f 20 74 68 65 20 6d 61 69 6e 20 63 68  r to the main ch
4030: 61 6e 6e 65 6c 2c 20 77 68 69 63 68 0a 09 69 73  annel, which..is
4040: 20 6d 6f 73 74 6c 79 20 64 65 73 74 72 6f 79 65   mostly destroye
4050: 64 2e 20 20 45 6c 69 6d 69 6e 61 74 65 64 20 74  d.  Eliminated t
4060: 68 65 20 72 65 64 75 6e 64 61 6e 74 20 63 61 6c  he redundant cal
4070: 6c 20 74 6f 0a 09 54 63 6c 5f 4e 6f 74 69 66 79  l to..Tcl_Notify
4080: 43 68 61 6e 6e 65 6c 20 66 72 6f 6d 20 54 6c 73  Channel from Tls
4090: 57 61 74 63 68 50 72 6f 63 2e 20 5b 42 75 67 3a  WatchProc. [Bug:
40a0: 20 35 36 32 33 5d 0a                              5623].