Hex Artifact Content

Artifact 6f6a7c06d2ff49ad4331ac1e9b08dd3e20d50d5d:


0000: 32 30 31 34 2d 31 32 2d 30 35 20 20 41 6e 64 72  2014-12-05  Andr
0010: 65 61 73 20 4b 75 70 72 69 65 73 20 20 3c 61 6e  eas Kupries  <an
0020: 64 72 65 61 73 6b 40 61 63 74 69 76 65 73 74 61  dreask@activesta
0030: 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 63 6f 6e 66  te.com>...* conf
0040: 69 67 75 72 65 2e 69 6e 3a 20 42 75 6d 70 20 74  igure.in: Bump t
0050: 6f 20 76 65 72 73 69 6f 6e 20 31 2e 36 2e 34 2e  o version 1.6.4.
0060: 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65  ..* win/makefile
0070: 2e 76 63 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72  .vc:..* configur
0080: 65 3a 20 72 65 67 65 6e 20 77 69 74 68 20 61 63  e: regen with ac
0090: 2d 32 2e 35 39 0a 09 2a 20 74 6c 73 2e 63 3a 20  -2.59..* tls.c: 
00a0: 41 63 63 65 70 74 65 64 20 53 46 20 54 4c 53 20  Accepted SF TLS 
00b0: 70 61 74 63 68 65 73 20 23 31 32 20 61 6e 64 20  patches #12 and 
00c0: 23 31 33 20 69 6d 70 6c 65 6d 65 6e 74 69 6e 67  #13 implementing
00d0: 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 20 73 75 70  ..* tls.htm: sup
00e0: 70 6f 72 74 20 66 6f 72 20 53 4e 49 2c 20 61 6e  port for SNI, an
00f0: 64 20 54 4c 53 20 31 2e 31 20 2b 20 31 2e 32 0a  d TLS 1.1 + 1.2.
0100: 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20  .* tlsInt.h:..* 
0110: 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 2e  tlsIO.c:..* tls.
0120: 74 63 6c 3a 0a 0a 32 30 31 32 2d 30 37 2d 30 39  tcl:..2012-07-09
0130: 20 20 41 6e 64 72 65 61 73 20 4b 75 70 72 69 65    Andreas Kuprie
0140: 73 20 20 3c 61 6e 64 72 65 61 73 6b 40 61 63 74  s  <andreask@act
0150: 69 76 65 73 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09  ivestate.com>...
0160: 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20  * configure.in: 
0170: 42 75 6d 70 20 74 6f 20 76 65 72 73 69 6f 6e 20  Bump to version 
0180: 31 2e 36 2e 33 2e 0a 09 2a 20 77 69 6e 2f 6d 61  1.6.3...* win/ma
0190: 6b 65 66 69 6c 65 2e 76 63 3a 0a 09 2a 20 63 6f  kefile.vc:..* co
01a0: 6e 66 69 67 75 72 65 3a 20 72 65 67 65 6e 20 77  nfigure: regen w
01b0: 69 74 68 20 61 63 2d 32 2e 35 39 0a 0a 09 2a 20  ith ac-2.59...* 
01c0: 74 6c 73 2e 63 20 28 4d 69 73 63 4f 62 6a 43 6d  tls.c (MiscObjCm
01d0: 64 29 3a 20 46 69 78 65 64 20 6e 6f 6e 2d 73 74  d): Fixed non-st
01e0: 61 74 69 63 20 73 74 72 69 6e 67 20 61 72 72 61  atic string arra
01f0: 79 20 75 73 65 64 20 69 6e 20 63 61 6c 6c 0a 09  y used in call..
0200: 20 20 6f 66 20 54 63 6c 5f 47 65 74 49 6e 64 65    of Tcl_GetInde
0210: 78 46 72 6f 6d 4f 62 6a 28 29 2e 20 4d 65 6d 6f  xFromObj(). Memo
0220: 72 79 20 73 6d 61 73 68 20 77 61 69 74 69 6e 67  ry smash waiting
0230: 20 74 6f 20 68 61 70 70 65 6e 2e 20 54 68 61 6e   to happen. Than
0240: 6b 73 0a 09 20 20 74 6f 20 42 72 69 61 6e 20 47  ks..  to Brian G
0250: 72 69 66 66 69 6e 20 66 6f 72 20 61 6c 65 72 74  riffin for alert
0260: 69 6e 67 20 75 73 20 61 6c 6c 20 74 6f 20 74 68  ing us all to th
0270: 65 20 70 72 6f 62 6c 65 6d 2e 20 0a 0a 32 30 31  e problem. ..201
0280: 32 2d 30 36 2d 30 31 20 20 41 6e 64 72 65 61 73  2-06-01  Andreas
0290: 20 4b 75 70 72 69 65 73 20 20 3c 61 6e 64 72 65   Kupries  <andre
02a0: 61 73 6b 40 61 63 74 69 76 65 73 74 61 74 65 2e  ask@activestate.
02b0: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20  com>...* tls.c: 
02c0: 41 70 70 6c 69 65 64 20 4a 65 66 66 27 73 20 70  Applied Jeff's p
02d0: 61 74 63 68 20 66 72 6f 6d 0a 09 20 20 68 74 74  atch from..  htt
02e0: 70 3a 2f 2f 77 77 77 2e 6d 61 69 6c 2d 61 72 63  p://www.mail-arc
02f0: 68 69 76 65 2e 63 6f 6d 2f 61 6f 6c 73 65 72 76  hive.com/aolserv
0300: 65 72 40 6c 69 73 74 73 65 72 76 2e 61 6f 6c 2e  er@listserv.aol.
0310: 63 6f 6d 2f 6d 73 67 31 32 33 35 36 2e 68 74 6d  com/msg12356.htm
0320: 6c 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e  l...* configure.
0330: 69 6e 3a 20 42 75 6d 70 20 74 6f 20 76 65 72 73  in: Bump to vers
0340: 69 6f 6e 20 31 2e 36 2e 32 2e 0a 09 2a 20 77 69  ion 1.6.2...* wi
0350: 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 0a 09  n/makefile.vc:..
0360: 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 72 65 67  * configure: reg
0370: 65 6e 20 77 69 74 68 20 61 63 2d 32 2e 35 39 0a  en with ac-2.59.
0380: 09 0a 32 30 31 30 2d 30 38 2d 31 31 20 20 4a 65  ..2010-08-11  Je
0390: 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66 66 68  ff Hobbs  <jeffh
03a0: 40 41 63 74 69 76 65 53 74 61 74 65 2e 63 6f 6d  @ActiveState.com
03b0: 3e 0a 0a 09 2a 2a 2a 20 54 4c 53 20 31 2e 36 2e  >...*** TLS 1.6.
03c0: 31 20 54 41 47 47 45 44 20 2a 2a 2a 0a 0a 09 2a  1 TAGGED ***...*
03d0: 20 63 6f 6e 66 69 67 75 72 65 3a 20 72 65 67 65   configure: rege
03e0: 6e 20 77 69 74 68 20 61 63 2d 32 2e 35 39 0a 09  n with ac-2.59..
03f0: 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76  * win/makefile.v
0400: 63 2c 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a  c, configure.in:
0410: 20 62 75 6d 70 20 76 65 72 73 69 6f 6e 20 74 6f   bump version to
0420: 20 31 2e 36 2e 31 0a 09 2a 20 74 63 6c 63 6f 6e   1.6.1..* tclcon
0430: 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 75 70 64 61  fig/tcl.m4: upda
0440: 74 65 64 20 74 6f 20 54 45 41 20 33 2e 38 0a 0a  ted to TEA 3.8..
0450: 09 2a 20 74 6c 73 2e 63 20 28 53 74 61 74 75 73  .* tls.c (Status
0460: 4f 62 6a 43 6d 64 29 3a 20 6d 65 6d 6c 65 61 6b  ObjCmd): memleak
0470: 3a 20 66 72 65 65 20 70 65 65 72 20 69 66 20 6c  : free peer if l
0480: 6f 61 64 65 64 2e 20 5b 42 75 67 20 33 30 34 31  oaded. [Bug 3041
0490: 39 32 35 5d 0a 0a 32 30 31 30 2d 30 37 2d 32 37  925]..2010-07-27
04a0: 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a    Jeff Hobbs  <j
04b0: 65 66 66 68 40 41 63 74 69 76 65 53 74 61 74 65  effh@ActiveState
04c0: 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 74 63  .com>...* tls.tc
04d0: 6c 20 28 74 6c 73 3a 3a 73 6f 63 6b 65 74 29 3a  l (tls::socket):
04e0: 20 73 6f 6d 65 20 73 6f 63 6b 65 74 20 69 6d 70   some socket imp
04f0: 6c 65 6d 65 6e 74 61 74 69 6f 6e 73 20 68 61 76  lementations hav
0500: 65 20 61 20 2d 74 79 70 65 0a 09 73 75 70 70 6f  e a -type..suppo
0510: 72 74 20 28 65 2e 67 2e 20 66 6f 72 20 69 6e 65  rt (e.g. for ine
0520: 74 36 29 2e 0a 0a 32 30 30 39 2d 30 34 2d 32 33  t6)...2009-04-23
0530: 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a    Jeff Hobbs  <j
0540: 65 66 66 68 40 41 63 74 69 76 65 53 74 61 74 65  effh@ActiveState
0550: 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 74 63  .com>...* tls.tc
0560: 6c 20 28 74 6c 73 3a 3a 69 6e 69 74 6c 69 62 29  l (tls::initlib)
0570: 3a 20 61 64 64 20 73 75 70 70 6f 72 74 20 66 6f  : add support fo
0580: 72 20 57 69 6e 64 6f 77 73 20 73 74 61 72 70 61  r Windows starpa
0590: 63 6b 0a 09 6f 70 65 72 61 74 69 6f 6e 20 74 68  ck..operation th
05a0: 61 74 20 75 6e 62 75 6e 64 6c 65 73 20 61 6e 79  at unbundles any
05b0: 20 63 6f 6e 73 74 69 74 75 65 6e 74 20 6c 69 62   constituent lib
05c0: 72 61 72 69 65 73 2e 20 5b 41 53 20 42 75 67 20  raries. [AS Bug 
05d0: 38 32 38 38 38 5d 0a 0a 32 30 30 38 2d 30 36 2d  82888]..2008-06-
05e0: 31 38 20 20 50 61 74 20 54 68 6f 79 74 73 20 20  18  Pat Thoyts  
05f0: 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 73  <patthoyts@users
0600: 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74  .sourceforge.net
0610: 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 63 69 70 68  >...* tests/ciph
0620: 65 72 73 2e 74 65 73 74 3a 20 46 69 78 20 66 6f  ers.test: Fix fo
0630: 72 20 64 69 66 66 65 72 65 6e 74 20 6f 70 65 6e  r different open
0640: 73 73 6c 20 76 65 72 73 69 6f 6e 73 2e 0a 09 2a  ssl versions...*
0650: 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63   win/makefile.vc
0660: 3a 20 20 20 20 55 70 64 61 74 65 73 20 74 6f 20  :    Updates to 
0670: 73 75 70 70 6f 72 74 20 74 65 73 74 73 2e 0a 09  support tests...
0680: 2a 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63 3a 0a  * win/rules.vc:.
0690: 09 2a 20 77 69 6e 2f 6e 6d 61 6b 65 68 6c 70 2e  .* win/nmakehlp.
06a0: 63 3a 0a 0a 32 30 30 38 2d 30 33 2d 31 39 20 20  c:..2008-03-19  
06b0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 6a 65 66  Jeff Hobbs  <jef
06c0: 66 68 40 41 63 74 69 76 65 53 74 61 74 65 2e 63  fh@ActiveState.c
06d0: 6f 6d 3e 0a 0a 09 2a 2a 2a 20 54 4c 53 20 31 2e  om>...*** TLS 1.
06e0: 36 20 54 41 47 47 45 44 20 2a 2a 2a 0a 0a 09 2a  6 TAGGED ***...*
06f0: 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 20 28 64 69   Makefile.in (di
0700: 73 74 29 3a 20 75 70 64 61 74 65 20 74 6f 20 69  st): update to i
0710: 6e 63 6c 75 64 65 20 77 69 6e 2f 20 61 6e 64 20  nclude win/ and 
0720: 66 69 6c 65 2e 73 72 6c 0a 0a 09 2a 20 77 69 6e  file.srl...* win
0730: 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 20 62 75  /makefile.vc: bu
0740: 6d 70 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e  mp version to 1.
0750: 36 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69  6..* configure.i
0760: 6e 3a 20 75 73 65 20 2d 4c 20 61 6e 64 20 2d 52  n: use -L and -R
0770: 20 77 68 65 72 65 20 6e 65 63 65 73 73 61 72 79   where necessary
0780: 2e 20 5b 42 75 67 20 31 37 34 32 38 35 39 5d 0a  . [Bug 1742859].
0790: 0a 09 2a 20 61 63 6c 6f 63 61 6c 2e 6d 34 3a 20  ..* aclocal.m4: 
07a0: 69 6d 70 72 6f 76 65 20 2d 2d 77 69 74 68 2d 73  improve --with-s
07b0: 73 6c 2d 64 69 72 20 63 68 65 63 6b 2e 0a 0a 09  sl-dir check....
07c0: 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65  * tests/tlsIO.te
07d0: 73 74 20 28 74 6c 73 49 4f 2d 31 34 2e 2a 29 3a  st (tlsIO-14.*):
07e0: 20 20 20 41 64 64 20 74 6c 73 3a 3a 75 6e 69 6d     Add tls::unim
07f0: 70 6f 72 74 20 66 6f 72 20 73 79 6d 6d 65 74 72  port for symmetr
0800: 79 0a 09 2a 20 74 6c 73 2e 68 74 6d 2c 20 74 6c  y..* tls.htm, tl
0810: 73 2e 63 20 28 55 6e 69 6d 70 6f 72 74 4f 62 6a  s.c (UnimportObj
0820: 43 6d 64 29 3a 20 74 6f 20 74 6c 73 3a 3a 69 6d  Cmd): to tls::im
0830: 70 6f 72 74 2e 20 5b 42 75 67 20 31 32 30 33 32  port. [Bug 12032
0840: 37 33 5d 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 54  73]...* tls.c (T
0850: 6c 73 5f 43 6c 65 61 6e 2c 20 49 6d 70 6f 72 74  ls_Clean, Import
0860: 4f 62 6a 43 6d 64 29 3a 20 46 69 78 20 63 6c 65  ObjCmd): Fix cle
0870: 61 6e 75 70 20 6d 65 6d 20 6c 65 61 6b 20 5b 42  anup mem leak [B
0880: 75 67 20 31 34 31 34 30 34 35 5d 0a 09 55 73 65  ug 1414045]..Use
0890: 20 62 65 74 74 65 72 20 45 76 61 6c 20 41 50 49   better Eval API
08a0: 73 2c 20 63 6c 65 61 6e 65 72 20 54 63 6c 5f 4f  s, cleaner Tcl_O
08b0: 62 6a 2d 68 61 6e 64 6c 69 6e 67 2e 0a 0a 32 30  bj-handling...20
08c0: 30 38 2d 30 33 2d 31 39 20 20 50 61 74 20 54 68  08-03-19  Pat Th
08d0: 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73  oyts  <patthoyts
08e0: 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72  @users.sourcefor
08f0: 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 77 69 6e 2f  ge.net>...* win/
0900: 4d 61 6b 65 66 69 6c 65 2e 76 63 20 20 55 70 64  Makefile.vc  Upd
0910: 61 74 65 64 20 74 68 65 20 6e 6d 61 6b 65 20 62  ated the nmake b
0920: 75 69 6c 64 20 66 69 6c 65 73 20 77 69 74 68 20  uild files with 
0930: 4d 53 56 43 39 20 73 75 70 70 6f 72 74 0a 09 2a  MSVC9 support..*
0940: 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63 3a 20 20   win/rules.vc:  
0950: 20 20 61 6e 64 20 66 69 78 65 64 20 74 6f 20 72    and fixed to r
0960: 75 6e 20 74 68 65 20 74 65 73 74 2d 73 75 69 74  un the test-suit
0970: 65 20 70 72 6f 70 65 72 6c 79 2e 0a 09 2a 20 77  e properly...* w
0980: 69 6e 2f 6e 6d 61 6b 65 68 6c 70 2e 63 3a 0a 09  in/nmakehlp.c:..
0990: 2a 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a  * tls.tcl (tls::
09a0: 69 6e 69 74 6c 69 62 29 3a 20 43 6f 72 72 65 63  initlib): Correc
09b0: 74 65 64 20 6e 61 6d 65 73 70 61 63 65 20 68 61  ted namespace ha
09c0: 6e 64 6c 69 6e 67 2e 0a 09 2a 20 74 6c 73 2e 63  ndling...* tls.c
09d0: 3a 20 41 70 70 6c 69 65 64 20 23 31 38 39 30 32  : Applied #18902
09e0: 32 33 20 74 6f 20 66 69 78 20 68 61 6e 64 73 68  23 to fix handsh
09f0: 61 6b 65 20 6f 6e 20 6e 6f 6e 2d 62 6c 6f 63 6b  ake on non-block
0a00: 69 6e 67 20 73 6f 63 6b 65 74 73 0a 0a 32 30 30  ing sockets..200
0a10: 38 2d 30 33 2d 31 37 20 20 4a 65 66 66 20 48 6f  8-03-17  Jeff Ho
0a20: 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74 69  bbs  <jeffh@Acti
0a30: 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a  veState.com>...*
0a40: 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 3a 3a 69   tls.tcl (tls::i
0a50: 6e 69 74 6c 69 62 29 3a 20 20 20 20 20 6c 6f 61  nitlib):     loa
0a60: 64 20 74 6c 73 2e 74 63 6c 20 66 69 72 73 74 20  d tls.tcl first 
0a70: 61 6e 64 20 63 61 6c 6c 0a 09 2a 20 4d 61 6b 65  and call..* Make
0a80: 66 69 6c 65 2e 69 6e 20 28 70 6b 67 49 6e 64 65  file.in (pkgInde
0a90: 78 2e 74 63 6c 29 3a 20 74 6c 73 3a 3a 69 6e 69  x.tcl): tls::ini
0aa0: 74 6c 69 62 20 74 6f 20 6c 6f 61 64 20 6c 69 62  tlib to load lib
0ab0: 72 61 72 79 20 74 6f 0a 09 68 61 6e 64 6c 65 20  rary to..handle 
0ac0: 63 77 64 20 63 68 61 6e 67 65 73 2e 20 5b 42 75  cwd changes. [Bu
0ad0: 67 20 31 38 38 38 31 31 33 5d 0a 0a 32 30 30 37  g 1888113]..2007
0ae0: 2d 30 39 2d 30 36 20 20 50 61 74 20 54 68 6f 79  -09-06  Pat Thoy
0af0: 74 73 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75  ts  <patthoyts@u
0b00: 73 65 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65  sers.sourceforge
0b10: 2e 6e 65 74 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a  .net>...* tls.c:
0b20: 20 20 20 20 20 20 20 20 20 20 20 53 69 6c 65 6e             Silen
0b30: 63 65 20 36 34 20 62 69 74 20 69 6e 74 65 67 65  ce 64 bit intege
0b40: 72 20 63 6f 6e 76 65 72 73 69 6f 6e 20 77 61 72  r conversion war
0b50: 6e 69 6e 67 73 0a 09 2a 20 77 69 6e 2f 6e 6d 61  nings..* win/nma
0b60: 6b 65 68 6c 70 2e 63 3a 20 20 55 70 64 61 74 65  kehlp.c:  Update
0b70: 20 62 75 69 6c 64 20 73 79 73 74 65 6d 20 74 6f   build system to
0b80: 20 73 75 70 70 6f 72 74 20 41 4d 44 36 34 20 74   support AMD64 t
0b90: 61 72 67 65 74 0a 09 2a 20 77 69 6e 2f 6d 61 6b  arget..* win/mak
0ba0: 65 66 69 6c 65 2e 76 63 3a 20 77 69 74 68 20 4d  efile.vc: with M
0bb0: 53 56 43 38 0a 09 2a 20 77 69 6e 2f 72 75 6c 65  SVC8..* win/rule
0bc0: 73 2e 76 63 3a 0a 0a 32 30 30 37 2d 30 36 2d 32  s.vc:..2007-06-2
0bd0: 32 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c  2  Jeff Hobbs  <
0be0: 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 74  jeffh@ActiveStat
0bf0: 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 49 4f  e.com>...* tlsIO
0c00: 2e 63 20 28 54 6c 73 49 6e 70 75 74 50 72 6f 63  .c (TlsInputProc
0c10: 2c 20 54 6c 73 4f 75 74 70 75 74 50 72 6f 63 2c  , TlsOutputProc,
0c20: 20 54 6c 73 57 61 74 63 68 50 72 6f 63 29 3a 20   TlsWatchProc): 
0c30: 0a 09 2a 20 74 6c 73 2e 63 20 28 56 65 72 69 66  ..* tls.c (Verif
0c40: 79 43 61 6c 6c 62 61 63 6b 29 3a 20 61 64 64 20  yCallback): add 
0c50: 61 6e 20 73 74 61 74 65 20 66 6c 61 67 20 69 6e  an state flag in
0c60: 20 74 68 65 20 76 65 72 69 66 79 20 63 61 6c 6c   the verify call
0c70: 62 61 63 6b 0a 09 74 68 61 74 20 70 72 65 76 65  back..that preve
0c80: 6e 74 73 20 70 6f 73 73 69 62 6c 79 20 72 65 63  nts possibly rec
0c90: 75 72 73 69 6f 6e 20 28 6f 6e 20 27 75 70 64 61  ursion (on 'upda
0ca0: 74 65 27 29 2e 20 5b 42 75 67 20 31 36 35 32 33  te'). [Bug 16523
0cb0: 38 30 5d 0a 0a 09 2a 20 74 65 73 74 73 2f 63 69  80]...* tests/ci
0cc0: 70 68 65 72 73 2e 74 65 73 74 3a 20 72 65 77 6f  phers.test: rewo
0cd0: 72 6b 65 64 20 74 6f 20 6d 61 6b 65 20 74 65 73  rked to make tes
0ce0: 74 20 6f 75 74 70 75 74 20 63 6c 65 61 6e 65 72  t output cleaner
0cf0: 20 74 6f 0a 09 75 6e 64 65 72 73 74 61 6e 64 20   to..understand 
0d00: 6d 69 73 73 69 6e 67 20 63 69 70 68 65 72 73 20  missing ciphers 
0d10: 28 69 66 20 61 6e 79 29 0a 0a 09 2a 20 4d 61 6b  (if any)...* Mak
0d20: 65 66 69 6c 65 2e 69 6e 2c 20 74 63 6c 63 6f 6e  efile.in, tclcon
0d30: 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 75 70 64 61  fig/tcl.m4: upda
0d40: 74 65 20 74 6f 20 54 45 41 20 33 2e 36 0a 09 2a  te to TEA 3.6..*
0d50: 20 63 6f 6e 66 69 67 75 72 65 2c 20 63 6f 6e 66   configure, conf
0d60: 69 67 75 72 65 2e 69 6e 3a 20 20 20 20 20 20 20  igure.in:       
0d70: 75 73 69 6e 67 20 61 75 74 6f 63 6f 6e 66 2d 32  using autoconf-2
0d80: 2e 35 39 0a 0a 32 30 30 37 2d 30 32 2d 32 38 20  .59..2007-02-28 
0d90: 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61   Pat Thoyts  <pa
0da0: 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f  tthoyts@users.so
0db0: 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a  urceforge.net>..
0dc0: 09 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e  .* win/makefile.
0dd0: 76 63 3a 20 52 65 62 61 73 65 20 74 68 65 20 44  vc: Rebase the D
0de0: 4c 4c 20 73 65 6e 73 69 62 6c 79 2e 20 41 64 64  LL sensibly. Add
0df0: 69 74 69 6f 6e 61 6c 20 6c 69 62 73 20 66 6f 72  itional libs for
0e00: 20 0a 09 73 74 61 74 69 63 20 6c 69 6e 6b 20 6f   ..static link o
0e10: 66 20 6f 70 65 6e 73 73 6c 2e 0a 09 2a 20 74 6c  f openssl...* tl
0e20: 73 2e 74 63 6c 3a 20 62 75 67 20 23 31 35 37 39  s.tcl: bug #1579
0e30: 38 33 37 20 2d 20 54 49 50 20 32 37 38 20 62 75  837 - TIP 278 bu
0e40: 67 20 28 70 6f 73 73 69 62 6c 79 29 20 2d 20 66  g (possibly) - f
0e50: 69 78 65 64 2e 0a 0a 32 30 30 36 2d 30 33 2d 33  ixed...2006-03-3
0e60: 30 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c  0  Pat Thoyts  <
0e70: 70 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e  patthoyts@users.
0e80: 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e  sourceforge.net>
0e90: 0a 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 67 2f 2a  ...* tclconfig/*
0ea0: 3a 20 20 55 70 64 61 74 65 64 20 74 6f 20 54 45  :  Updated to TE
0eb0: 41 20 33 2e 35 20 69 6e 20 72 65 73 70 6f 6e 73  A 3.5 in respons
0ec0: 65 20 74 6f 20 62 75 67 20 31 34 36 30 34 39 31  e to bug 1460491
0ed0: 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2a 3a 20  ..* configure*: 
0ee0: 20 20 52 65 67 65 6e 65 72 61 74 65 64 20 63 6f    Regenerated co
0ef0: 6e 66 69 67 75 72 65 2e 0a 0a 32 30 30 35 2d 30  nfigure...2005-0
0f00: 32 2d 30 38 20 20 4a 65 66 66 20 48 6f 62 62 73  2-08  Jeff Hobbs
0f10: 20 20 3c 6a 65 66 66 68 40 41 63 74 69 76 65 53    <jeffh@ActiveS
0f20: 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 4d 61  tate.com>...* Ma
0f30: 6b 65 66 69 6c 65 2e 69 6e 2c 20 74 63 6c 63 6f  kefile.in, tclco
0f40: 6e 66 69 67 2f 74 63 6c 2e 6d 34 3a 20 75 70 64  nfig/tcl.m4: upd
0f50: 61 74 65 20 74 6f 20 54 45 41 20 33 2e 32 0a 09  ate to TEA 3.2..
0f60: 2a 20 63 6f 6e 66 69 67 75 72 65 2c 20 63 6f 6e  * configure, con
0f70: 66 69 67 75 72 65 2e 69 6e 3a 20 20 20 20 20 20  figure.in:      
0f80: 20 75 73 69 6e 67 20 61 75 74 6f 63 6f 6e 66 2d   using autoconf-
0f90: 32 2e 35 39 0a 0a 32 30 30 34 2d 31 32 2d 32 33  2.59..2004-12-23
0fa0: 20 20 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70    Pat Thoyts  <p
0fb0: 61 74 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73  atthoyts@users.s
0fc0: 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a  ourceforge.net>.
0fd0: 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a  ..* Makefile.in:
0fe0: 20 20 20 20 20 20 52 65 6d 6f 76 65 64 20 73 70        Removed sp
0ff0: 75 72 69 6f 75 73 20 63 6f 70 79 69 6e 67 20 6f  urious copying o
1000: 66 20 74 6c 73 2e 74 63 6c 20 69 6e 74 6f 20 74  f tls.tcl into t
1010: 68 65 0a 09 20 20 20 20 20 20 20 20 20 20 20 20  he..            
1020: 20 20 20 20 20 20 20 20 62 75 69 6c 64 20 64 69          build di
1030: 72 65 63 74 6f 72 79 2e 0a 0a 32 30 30 34 2d 31  rectory...2004-1
1040: 32 2d 32 32 20 20 50 61 74 20 54 68 6f 79 74 73  2-22  Pat Thoyts
1050: 20 20 3c 70 61 74 74 68 6f 79 74 73 40 75 73 65    <patthoyts@use
1060: 72 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e  rs.sourceforge.n
1070: 65 74 3e 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72  et>...* configur
1080: 65 2e 69 6e 3a 20 20 20 20 20 49 6e 63 72 65 6d  e.in:     Increm
1090: 65 6e 74 65 64 20 6d 69 6e 6f 72 20 76 65 72 73  ented minor vers
10a0: 69 6f 6e 20 74 6f 20 31 2e 35 2e 31 0a 09 2a 20  ion to 1.5.1..* 
10b0: 63 6f 6e 66 69 67 75 72 65 3a 20 20 20 20 20 20  configure:      
10c0: 20 20 0a 0a 32 30 30 34 2d 31 32 2d 31 37 20 20    ..2004-12-17  
10d0: 50 61 74 20 54 68 6f 79 74 73 20 20 3c 70 61 74  Pat Thoyts  <pat
10e0: 74 68 6f 79 74 73 40 75 73 65 72 73 2e 73 6f 75  thoyts@users.sou
10f0: 72 63 65 66 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09  rceforge.net>...
1100: 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76  * win/makefile.v
1110: 63 3a 20 20 41 64 64 65 64 20 74 68 65 20 4d 53  c:  Added the MS
1120: 56 43 20 62 75 69 6c 64 20 73 79 73 74 65 6d 20  VC build system 
1130: 28 66 72 6f 6d 20 74 68 65 20 54 63 6c 0a 09 2a  (from the Tcl..*
1140: 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63 3a 20 20   win/rules.vc:  
1150: 20 20 20 73 61 6d 70 6c 65 65 78 74 65 6e 73 69     sampleextensi
1160: 6f 6e 29 2e 0a 09 2a 20 77 69 6e 2f 6e 6d 61 6b  on)...* win/nmak
1170: 65 68 6c 70 2e 63 3a 0a 09 2a 20 77 69 6e 2f 74  ehlp.c:..* win/t
1180: 6c 73 2e 72 63 20 20 20 20 20 20 20 20 41 64 64  ls.rc        Add
1190: 65 64 20 57 69 6e 64 6f 77 73 20 72 65 73 6f 75  ed Windows resou
11a0: 72 63 65 20 66 69 6c 65 2e 0a 09 0a 09 2a 20 74  rce file.....* t
11b0: 6c 73 2e 74 63 6c 3a 20 20 20 20 20 20 20 20 20  ls.tcl:         
11c0: 20 46 72 6f 6d 20 70 61 74 63 68 20 23 39 34 38   From patch #948
11d0: 31 35 35 2c 20 61 64 64 65 64 20 73 75 70 70 6f  155, added suppo
11e0: 72 74 20 66 6f 72 0a 09 20 20 20 20 20 20 20 20  rt for..        
11f0: 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 74 65              alte
1200: 72 6e 61 74 65 20 73 6f 63 6b 65 74 20 63 6f 6d  rnate socket com
1210: 6d 61 6e 64 73 2e 0a 09 2a 20 74 6c 73 2e 63 3a  mands...* tls.c:
1220: 20 20 20 20 20 20 20 20 20 20 20 20 51 75 69 65              Quie
1230: 74 65 6e 20 73 6f 6d 65 20 4d 53 56 43 20 77 61  ten some MSVC wa
1240: 72 6e 69 6e 67 73 2e 20 50 72 65 66 65 72 20 63  rnings. Prefer c
1250: 6b 61 6c 6c 6f 63 0a 09 20 20 20 20 20 20 20 20  kalloc..        
1260: 20 20 20 20 20 20 20 20 20 20 20 20 6f 76 65 72              over
1270: 20 54 63 6c 5f 41 6c 6c 6f 63 2e 20 28 44 61 76   Tcl_Alloc. (Dav
1280: 69 64 20 47 72 61 76 65 72 61 75 78 29 2e 0a 0a  id Graveraux)...
1290: 32 30 30 34 2d 30 36 2d 32 39 20 20 50 61 74 20  2004-06-29  Pat 
12a0: 54 68 6f 79 74 73 20 20 3c 70 61 74 74 68 6f 79  Thoyts  <patthoy
12b0: 74 73 40 75 73 65 72 73 2e 73 6f 75 72 63 65 66  ts@users.sourcef
12c0: 6f 72 67 65 2e 6e 65 74 3e 0a 0a 09 2a 20 74 6c  orge.net>...* tl
12d0: 73 2e 63 3a 20 20 20 20 20 20 20 20 20 20 20 20  s.c:            
12e0: 46 69 78 75 70 20 74 6f 20 62 75 69 6c 64 20 61  Fixup to build a
12f0: 67 61 69 6e 73 74 20 74 63 6c 20 38 2e 33 2e 33  gainst tcl 8.3.3
1300: 2e 20 48 61 6e 64 6c 65 0a 09 2a 20 74 6c 73 49  . Handle..* tlsI
1310: 4f 2e 63 3a 20 20 20 20 20 20 20 20 20 20 38 2e  O.c:          8.
1320: 34 20 63 6f 6e 73 74 69 66 69 63 61 74 69 6f 6e  4 constification
1330: 2e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 20  ....* tlsInt.h: 
1340: 20 20 20 20 20 20 20 20 41 64 64 65 64 20 68 65          Added he
1350: 61 64 65 72 73 20 72 65 71 75 69 72 65 64 20 77  aders required w
1360: 69 74 68 20 4d 53 56 43 20 6f 6e 20 57 69 6e 33  ith MSVC on Win3
1370: 32 2e 0a 09 2a 20 74 6c 73 58 35 30 39 2e 63 3a  2...* tlsX509.c:
1380: 20 20 20 20 20 20 20 20 75 6e 64 65 66 20 6d 69          undef mi
1390: 6e 20 61 6e 64 20 6d 61 78 20 69 66 20 64 65 66  n and max if def
13a0: 69 6e 65 64 20 28 77 69 6e 33 32 29 2e 0a 0a 09  ined (win32)....
13b0: 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 20  * Makefile.in:  
13c0: 20 20 20 20 46 69 78 65 64 20 74 6f 20 62 75 69      Fixed to bui
13d0: 6c 64 20 6f 6e 20 77 69 6e 33 32 20 75 73 69 6e  ld on win32 usin
13e0: 67 20 6d 73 79 73 20 77 69 74 68 0a 09 2a 20 61  g msys with..* a
13f0: 63 6c 6f 63 61 6c 2e 6d 34 3a 20 20 20 20 20 20  clocal.m4:      
1400: 20 4d 53 56 43 2e 20 41 6c 73 6f 20 66 69 78 65   MSVC. Also fixe
1410: 64 20 74 68 65 20 74 65 73 74 20 74 61 72 67 65  d the test targe
1420: 74 2e 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 2e  t...* configure.
1430: 69 6e 3a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65  in:..* configure
1440: 3a 20 20 20 20 20 20 20 20 52 65 67 65 6e 65 72  :        Regener
1450: 61 74 65 64 2e 0a 09 2a 20 74 63 6c 63 6f 6e 66  ated...* tclconf
1460: 69 67 2f 74 63 6c 2e 6d 34 3a 20 55 70 64 61 74  ig/tcl.m4: Updat
1470: 65 64 20 74 6f 20 6d 6f 73 74 20 72 65 63 65 6e  ed to most recen
1480: 74 20 76 65 72 73 69 6f 6e 2e 0a 0a 32 30 30 34  t version...2004
1490: 2d 30 33 2d 32 33 20 20 44 61 6e 20 52 61 7a 7a  -03-23  Dan Razz
14a0: 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 74  ell <research@st
14b0: 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61  arfishsystems.ca
14c0: 3e 0a 09 2a 20 74 6c 73 2e 63 3a 0a 09 2a 20 74  >..* tls.c:..* t
14d0: 6c 73 42 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 49  lsBIO.c:..* tlsI
14e0: 4f 2e 63 3a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68  O.c:..* tlsInt.h
14f0: 3a 09 46 69 78 65 64 20 74 79 70 65 20 6d 61 74  :.Fixed type mat
1500: 63 68 20 77 61 72 6e 69 6e 67 73 2e 0a 0a 32 30  ch warnings...20
1510: 30 34 2d 30 33 2d 31 39 20 20 4a 65 66 66 20 48  04-03-19  Jeff H
1520: 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74  obbs  <jeffh@Act
1530: 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09  iveState.com>...
1540: 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69  * tls.c (Tls_Ini
1550: 74 29 3a 20 20 20 72 65 70 6c 61 63 65 64 20 6f  t):   replaced o
1560: 6c 64 65 72 20 54 45 41 20 63 6f 6e 66 69 67 20  lder TEA config 
1570: 77 69 74 68 20 6e 65 77 65 72 0a 09 2a 20 63 6f  with newer..* co
1580: 6e 66 69 67 2f 2a 20 28 72 65 6d 6f 76 65 64 29  nfig/* (removed)
1590: 3a 0a 09 2a 20 70 6b 67 49 6e 64 65 78 2e 74 63  :..* pkgIndex.tc
15a0: 6c 2e 69 6e 2c 20 73 74 72 6e 63 61 73 65 63 6d  l.in, strncasecm
15b0: 70 2e 63 20 28 72 65 6d 6f 76 65 64 29 3a 0a 09  p.c (removed):..
15c0: 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 2c 20 61  * Makefile.in, a
15d0: 63 6c 6f 63 61 6c 2e 6d 34 2c 20 63 6f 6e 66 69  clocal.m4, confi
15e0: 67 75 72 65 2c 20 63 6f 6e 66 69 67 75 72 65 2e  gure, configure.
15f0: 69 6e 3a 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 67  in:..* tclconfig
1600: 2f 52 45 41 44 4d 45 2e 74 78 74 2c 20 74 63 6c  /README.txt, tcl
1610: 63 6f 6e 66 69 67 2f 69 6e 73 74 61 6c 6c 2d 73  config/install-s
1620: 68 2c 20 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c  h, tclconfig/tcl
1630: 2e 6d 34 3a 0a 0a 32 30 30 34 2d 30 33 2d 31 37  .m4:..2004-03-17
1640: 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 20 3c 72    Dan Razzell <r
1650: 65 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68  esearch@starfish
1660: 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20  systems.ca>...* 
1670: 74 6c 73 58 35 30 39 2e 63 3a 09 41 64 64 20 73  tlsX509.c:.Add s
1680: 75 70 70 6f 72 74 20 66 6f 72 20 6c 6f 6e 67 20  upport for long 
1690: 73 65 72 69 61 6c 20 6e 75 6d 62 65 72 73 20 70  serial numbers p
16a0: 65 72 20 52 46 43 20 33 32 38 30 2e 0a 09 09 09  er RFC 3280.....
16b0: 46 6f 72 6d 61 74 20 69 73 20 6e 6f 77 20 68 65  Format is now he
16c0: 78 61 64 65 63 69 6d 61 6c 2e 20 0a 09 09 09 5b  xadecimal. ....[
16d0: 52 65 71 75 65 73 74 20 23 39 31 35 33 31 33 5d  Request #915313]
16e0: 0a 09 09 09 43 6f 72 72 65 63 74 6c 79 20 63 6f  ....Correctly co
16f0: 6e 76 65 72 74 20 63 65 72 74 69 66 69 63 61 74  nvert certificat
1700: 65 20 44 69 73 74 69 6e 67 75 69 73 68 65 64 20  e Distinguished 
1710: 4e 61 6d 65 73 0a 09 09 09 74 6f 20 54 63 6c 20  Names....to Tcl 
1720: 73 74 72 69 6e 67 20 72 65 70 72 65 73 65 6e 74  string represent
1730: 61 74 69 6f 6e 2e 20 20 45 6c 69 6d 69 6e 61 74  ation.  Eliminat
1740: 65 73 20 75 73 65 20 6f 66 0a 09 09 09 64 65 70  es use of....dep
1750: 72 65 63 61 74 65 64 20 4f 70 65 6e 53 53 4c 20  recated OpenSSL 
1760: 66 75 6e 63 74 69 6f 6e 2e 20 20 46 6f 72 6d 61  function.  Forma
1770: 74 20 69 73 20 6e 6f 77 20 63 6f 6d 70 6c 69 61  t is now complia
1780: 6e 74 0a 09 09 09 77 69 74 68 20 52 46 43 20 32  nt....with RFC 2
1790: 32 35 33 2e 20 20 5b 52 65 71 75 65 73 74 20 23  253.  [Request #
17a0: 39 31 35 33 31 35 5d 0a 0a 32 30 30 34 2d 30 32  915315]..2004-02
17b0: 2d 31 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c  -17  Dan Razzell
17c0: 20 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66   <research@starf
17d0: 69 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a  ishsystems.ca>..
17e0: 09 54 4c 53 20 31 2e 35 2e 30 20 52 45 4c 45 41  .TLS 1.5.0 RELEA
17f0: 53 45 0a 0a 32 30 30 34 2d 30 32 2d 31 32 20 20  SE..2004-02-12  
1800: 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73  Dan Razzell.<res
1810: 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79  earch@starfishsy
1820: 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 6c  stems.ca>...* tl
1830: 73 2e 63 3a 09 41 6c 6c 6f 77 20 76 65 72 69 66  s.c:.Allow verif
1840: 79 20 63 61 6c 6c 62 61 63 6b 20 74 6f 20 72 65  y callback to re
1850: 74 75 72 6e 20 65 6d 70 74 79 20 72 65 73 75 6c  turn empty resul
1860: 74 2e 0a 09 2a 20 74 6c 73 2e 68 74 6d 3a 09 44  t...* tls.htm:.D
1870: 6f 63 75 6d 65 6e 74 20 63 61 6c 6c 62 61 63 6b  ocument callback
1880: 20 62 65 68 61 76 69 6f 72 73 2e 0a 0a 32 30 30   behaviors...200
1890: 34 2d 30 32 2d 31 31 20 20 44 61 6e 20 52 61 7a  4-02-11  Dan Raz
18a0: 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63 68 40 73  zell.<research@s
18b0: 74 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63  tarfishsystems.c
18c0: 61 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73  a>...* tests/tls
18d0: 49 4f 2e 74 65 73 74 3a 0a 09 2a 20 72 65 6d 6f  IO.test:..* remo
18e0: 74 65 2e 74 63 6c 3a 09 43 6f 6d 70 6c 65 74 65  te.tcl:.Complete
18f0: 20 70 72 69 76 61 74 65 20 6b 65 79 20 6e 61 6d   private key nam
1900: 65 20 63 68 61 6e 67 65 73 20 66 72 6f 6d 20 32  e changes from 2
1910: 30 30 31 2d 30 36 2d 32 31 2e 0a 0a 32 30 30 34  001-06-21...2004
1920: 2d 30 32 2d 30 33 20 20 44 61 6e 20 52 61 7a 7a  -02-03  Dan Razz
1930: 65 6c 6c 20 3c 72 65 73 65 61 72 63 68 40 73 74  ell <research@st
1940: 61 72 66 69 73 68 73 79 73 74 65 6d 73 2e 63 61  arfishsystems.ca
1950: 3e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69  >...* Makefile.i
1960: 6e 3a 09 52 65 6d 6f 76 65 64 20 63 69 72 63 75  n:.Removed circu
1970: 6c 61 72 20 64 65 70 65 6e 64 65 6e 63 79 2e 0a  lar dependency..
1980: 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 09 4d 61 6b  .* tlsInt.h:.Mak
1990: 65 20 66 75 6e 63 74 69 6f 6e 20 64 65 63 6c 61  e function decla
19a0: 72 61 74 69 6f 6e 73 20 65 78 70 6c 69 63 69 74  rations explicit
19b0: 2e 0a 09 2a 20 74 6c 73 2e 63 3a 09 46 69 78 20  ...* tls.c:.Fix 
19c0: 74 79 70 65 20 6d 61 74 63 68 20 61 6e 64 20 75  type match and u
19d0: 6e 75 73 65 64 20 76 61 72 69 61 62 6c 65 20 77  nused variable w
19e0: 61 72 6e 69 6e 67 73 2e 0a 09 2a 20 74 6c 73 42  arnings...* tlsB
19f0: 49 4f 2e 63 3a 09 46 69 78 20 74 79 70 65 20 6d  IO.c:.Fix type m
1a00: 61 74 63 68 20 77 61 72 6e 69 6e 67 2e 0a 0a 32  atch warning...2
1a10: 30 30 33 2d 31 32 2d 31 35 20 20 44 61 6e 20 52  003-12-15  Dan R
1a20: 61 7a 7a 65 6c 6c 09 3c 72 65 73 65 61 72 63 68  azzell.<research
1a30: 40 73 74 61 72 66 69 73 68 73 79 73 74 65 6d 73  @starfishsystems
1a40: 2e 63 61 3e 0a 0a 09 2a 20 70 6b 67 49 6e 64 65  .ca>...* pkgInde
1a50: 78 2e 74 63 6c 2e 69 6e 3a 0a 09 2a 20 74 6c 73  x.tcl.in:..* tls
1a60: 2e 68 74 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 74  .htm:..* tests/t
1a70: 6c 73 49 4f 2e 74 65 73 74 3a 20 75 70 64 61 74  lsIO.test: updat
1a80: 65 64 20 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e  ed version to 1.
1a90: 35 2e 0a 0a 32 30 30 33 2d 31 30 2d 30 37 20 20  5...2003-10-07  
1aa0: 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65 73  Dan Razzell.<res
1ab0: 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73 79  earch@starfishsy
1ac0: 73 74 65 6d 73 2e 63 61 3e 0a 0a 09 2a 20 74 65  stems.ca>...* te
1ad0: 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74  sts/ciphers.test
1ae0: 3a 20 75 70 64 61 74 65 64 20 6c 69 73 74 20 6f  : updated list o
1af0: 66 20 74 65 73 74 65 64 20 63 69 70 68 65 72 73  f tested ciphers
1b00: 20 74 6f 20 63 6f 72 72 65 73 70 6f 6e 64 0a 09   to correspond..
1b10: 2a 20 77 69 74 68 20 74 68 6f 73 65 20 61 76 61  * with those ava
1b20: 69 6c 61 62 6c 65 20 66 72 6f 6d 20 4f 70 65 6e  ilable from Open
1b30: 53 53 4c 2e 20 5b 52 65 71 75 65 73 74 20 23 38  SSL. [Request #8
1b40: 31 31 39 38 31 5d 0a 0a 32 30 30 33 2d 31 30 2d  11981]..2003-10-
1b50: 30 37 20 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 20  07  Dan Razzell 
1b60: 3c 72 65 73 65 61 72 63 68 40 73 74 61 72 66 69  <research@starfi
1b70: 73 68 73 79 73 74 65 6d 73 2e 63 61 3e 0a 0a 09  shsystems.ca>...
1b80: 2a 20 74 6c 73 2e 63 3a 20 61 64 64 65 64 20 43  * tls.c: added C
1b90: 4f 4e 53 54 20 77 69 74 68 20 69 6e 74 65 6e 74  ONST with intent
1ba0: 20 73 69 6d 69 6c 61 72 20 74 6f 20 74 68 6f 73   similar to thos
1bb0: 65 20 66 72 6f 6d 20 32 30 30 32 2d 30 32 2d 30  e from 2002-02-0
1bc0: 34 2e 0a 09 5b 52 65 71 75 65 73 74 20 23 38 31  4...[Request #81
1bd0: 31 39 31 31 5d 0a 0a 32 30 30 33 2d 30 37 2d 30  1911]..2003-07-0
1be0: 37 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c  7  Jeff Hobbs  <
1bf0: 6a 65 66 66 68 40 41 63 74 69 76 65 53 74 61 74  jeffh@ActiveStat
1c00: 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63  e.com>...* tls.c
1c10: 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 20 20 61   (Tls_Init):   a
1c20: 64 64 65 64 20 74 6c 73 3a 3a 6d 69 73 63 20 63  dded tls::misc c
1c30: 6f 6d 6d 61 6e 64 20 70 72 6f 76 69 64 65 64 20  ommand provided 
1c40: 62 79 0a 09 2a 20 74 6c 73 58 35 30 39 2e 63 3a  by..* tlsX509.c:
1c50: 20 20 20 20 20 20 20 20 20 20 57 6f 6a 63 69 65            Wojcie
1c60: 63 68 20 4b 6f 63 6a 61 6e 20 28 77 6f 6a 63 69  ch Kocjan (wojci
1c70: 65 63 68 20 6b 6f 63 6a 61 6e 2e 6f 72 67 29 0a  ech kocjan.org).
1c80: 09 2a 20 74 65 73 74 73 2f 6b 65 79 74 65 73 74  .* tests/keytest
1c90: 31 2e 74 63 6c 3a 20 74 6f 20 65 78 70 6f 73 65  1.tcl: to expose
1ca0: 20 6d 6f 72 65 20 6c 6f 77 2d 6c 65 76 65 6c 20   more low-level 
1cb0: 53 53 4c 20 63 6f 6d 6d 61 6e 64 73 0a 09 2a 20  SSL commands..* 
1cc0: 74 65 73 74 73 2f 6b 65 79 74 65 73 74 32 2e 74  tests/keytest2.t
1cd0: 63 6c 3a 0a 0a 32 30 30 33 2d 30 35 2d 31 35 20  cl:..2003-05-15 
1ce0: 20 44 61 6e 20 52 61 7a 7a 65 6c 6c 09 3c 72 65   Dan Razzell.<re
1cf0: 73 65 61 72 63 68 40 73 74 61 72 66 69 73 68 73  search@starfishs
1d00: 79 73 74 65 6d 73 2e 63 61 3e 20 0a 0a 09 2a 20  ystems.ca> ...* 
1d10: 74 6c 73 2e 74 63 6c 3a 0a 09 2a 20 74 6c 73 49  tls.tcl:..* tlsI
1d20: 6e 74 2e 68 3a 0a 09 2a 20 74 6c 73 2e 63 3a 20  nt.h:..* tls.c: 
1d30: 61 64 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20  add support for 
1d40: 62 69 6e 64 69 6e 67 20 61 20 70 61 73 73 77 6f  binding a passwo
1d50: 72 64 20 63 61 6c 6c 62 61 63 6b 20 74 6f 20 74  rd callback to t
1d60: 68 65 20 73 6f 63 6b 65 74 2e 0a 09 4e 6f 77 20  he socket...Now 
1d70: 65 61 63 68 20 73 6f 63 6b 65 74 20 63 61 6e 20  each socket can 
1d80: 68 61 76 65 20 69 74 73 20 6f 77 6e 20 63 6f 6d  have its own com
1d90: 6d 61 6e 64 20 61 6e 64 20 70 61 73 73 77 6f 72  mand and passwor
1da0: 64 20 63 61 6c 6c 62 61 63 6b 73 20 69 6e 73 74  d callbacks inst
1db0: 65 61 64 0a 09 6f 66 20 62 65 69 6e 67 20 66 6f  ead..of being fo
1dc0: 72 63 65 64 20 74 6f 20 68 61 76 65 20 61 6c 6c  rced to have all
1dd0: 20 70 61 73 73 77 6f 72 64 20 6d 61 6e 61 67 65   password manage
1de0: 6d 65 6e 74 20 70 61 73 73 20 74 68 72 6f 75 67  ment pass throug
1df0: 68 20 61 20 63 6f 6d 6d 6f 6e 0a 09 70 72 6f 63  h a common..proc
1e00: 65 64 75 72 65 2e 20 20 54 68 65 20 63 6f 6d 6d  edure.  The comm
1e10: 6f 6e 20 70 61 73 73 77 6f 72 64 20 70 72 6f 63  on password proc
1e20: 65 64 75 72 65 20 69 73 20 72 65 74 61 69 6e 65  edure is retaine
1e30: 64 20 66 6f 72 20 63 6f 6d 70 61 74 69 62 69 6c  d for compatibil
1e40: 69 74 79 0a 09 62 75 74 20 69 74 73 20 75 73 65  ity..but its use
1e50: 20 73 68 6f 75 6c 64 20 62 65 20 44 45 50 52 45   should be DEPRE
1e60: 43 41 54 45 44 2e 0a 09 41 64 64 20 76 65 72 73  CATED...Add vers
1e70: 69 6f 6e 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 72  ion command to r
1e80: 65 74 75 72 6e 20 4f 70 65 6e 53 53 4c 20 76 65  eturn OpenSSL ve
1e90: 72 73 69 6f 6e 20 73 74 72 69 6e 67 2e 0a 09 52  rsion string...R
1ea0: 65 6d 6f 76 65 20 75 6e 73 74 61 62 6c 65 20 77  emove unstable w
1eb0: 6f 72 6b 61 72 6f 75 6e 64 73 20 6e 65 65 64 65  orkarounds neede
1ec0: 64 20 66 6f 72 20 76 65 72 69 66 79 20 69 6e 20  d for verify in 
1ed0: 6f 62 73 6f 6c 65 74 65 20 76 65 72 73 69 6f 6e  obsolete version
1ee0: 73 20 6f 66 0a 09 4f 70 65 6e 53 53 4c 2e 0a 09  s of..OpenSSL...
1ef0: 46 69 78 20 6d 65 6d 6f 72 79 20 6c 65 61 6b 2e  Fix memory leak.
1f00: 20 5b 52 65 71 75 65 73 74 20 23 36 34 30 36 36   [Request #64066
1f10: 30 5d 0a 09 4d 6f 72 65 20 63 61 73 74 73 20 74  0]..More casts t
1f20: 6f 20 65 6c 69 6d 69 6e 61 74 65 20 63 6f 6d 70  o eliminate comp
1f30: 69 6c 65 72 20 77 61 72 6e 69 6e 67 73 2e 0a 0a  iler warnings...
1f40: 09 2a 20 74 6c 73 2e 68 74 6d 3a 20 64 6f 63 75  .* tls.htm: docu
1f50: 6d 65 6e 74 20 70 61 73 73 77 6f 72 64 20 63 61  ment password ca
1f60: 6c 6c 62 61 63 6b 2e 0a 09 43 6f 72 72 65 63 74  llback...Correct
1f70: 20 74 65 63 68 6e 69 63 61 6c 20 61 6e 64 20 74   technical and t
1f80: 79 70 6f 67 72 61 70 68 69 63 20 65 72 72 6f 72  ypographic error
1f90: 73 2e 0a 0a 09 2a 20 52 45 41 44 4d 45 2e 74 78  s....* README.tx
1fa0: 74 3a 20 69 64 65 6e 74 69 66 79 20 76 65 72 73  t: identify vers
1fb0: 69 6f 6e 73 20 6f 66 20 4f 70 65 6e 53 53 4c 20  ions of OpenSSL 
1fc0: 77 68 69 63 68 20 66 69 78 20 6b 6e 6f 77 6e 20  which fix known 
1fd0: 70 72 6f 62 6c 65 6d 73 2e 0a 09 47 65 6e 65 72  problems...Gener
1fe0: 61 6c 20 77 61 72 6e 69 6e 67 20 6f 66 20 73 65  al warning of se
1ff0: 63 75 72 69 74 79 20 70 72 6f 62 6c 65 6d 73 20  curity problems 
2000: 69 6e 20 6f 6c 64 65 72 20 76 65 72 73 69 6f 6e  in older version
2010: 73 20 6f 66 20 4f 70 65 6e 53 53 4c 2e 0a 0a 32  s of OpenSSL...2
2020: 30 30 32 2d 30 32 2d 30 34 20 20 4a 65 66 66 20  002-02-04  Jeff 
2030: 48 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63  Hobbs  <jeffh@Ac
2040: 74 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a  tiveState.com>..
2050: 09 2a 20 74 6c 73 2e 68 74 6d 3a 0a 09 2a 20 74  .* tls.htm:..* t
2060: 6c 73 2e 63 3a 20 61 64 64 65 64 20 73 75 70 70  ls.c: added supp
2070: 6f 72 74 20 66 6f 72 20 6c 6f 63 61 6c 20 63 65  ort for local ce
2080: 72 74 69 66 69 63 61 74 65 20 73 74 61 74 75 73  rtificate status
2090: 20 63 68 65 63 6b 2c 20 61 73 20 77 65 6c 6c 0a   check, as well.
20a0: 09 61 73 20 72 65 74 75 72 6e 69 6e 67 20 74 68  .as returning th
20b0: 65 20 23 20 6f 66 20 62 69 74 73 20 69 6e 20 74  e # of bits in t
20c0: 68 65 20 73 65 73 73 69 6f 6e 20 6b 65 79 2e 20  he session key. 
20d0: 5b 50 61 74 63 68 20 23 35 30 35 36 39 38 5d 20  [Patch #505698] 
20e0: 28 72 6f 73 65 29 0a 0a 09 2a 20 74 6c 73 2e 63  (rose)...* tls.c
20f0: 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 0a 09 2a  :..* tlsIO.c:..*
2100: 20 74 6c 73 42 49 4f 2e 63 3a 20 61 64 64 65 64   tlsBIO.c: added
2110: 20 43 4f 4e 53 54 73 20 74 6f 20 73 61 74 69 73   CONSTs to satis
2120: 66 79 20 54 63 6c 20 38 2e 34 20 73 6f 75 72 63  fy Tcl 8.4 sourc
2130: 65 73 2e 20 20 54 68 69 73 20 6d 61 79 0a 09 67  es.  This may..g
2140: 69 76 65 20 77 61 72 6e 69 6e 67 73 20 77 68 65  ive warnings whe
2150: 6e 20 63 6f 6d 70 69 6c 65 64 20 61 67 61 69 6e  n compiled again
2160: 73 74 20 38 2e 33 2c 20 62 75 74 20 74 68 65 79  st 8.3, but they
2170: 20 63 61 6e 20 62 65 20 69 67 6e 6f 72 65 64 2e   can be ignored.
2180: 0a 0a 09 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c  ...* tests/simpl
2190: 65 43 6c 69 65 6e 74 2e 74 63 6c 3a 0a 09 2a 20  eClient.tcl:..* 
21a0: 74 65 73 74 73 2f 73 69 6d 70 6c 65 53 65 72 76  tests/simpleServ
21b0: 65 72 2e 74 63 6c 3a 20 70 6f 69 6e 74 20 74 6f  er.tcl: point to
21c0: 20 75 70 64 61 74 65 64 20 63 6c 69 65 6e 74 2f   updated client/
21d0: 73 65 72 76 65 72 20 6b 65 79 20 66 69 6c 65 73  server key files
21e0: 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73 49  ....* tests/tlsI
21f0: 4f 2e 74 65 73 74 3a 0a 09 2a 20 74 65 73 74 73  O.test:..* tests
2200: 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a 20 75  /ciphers.test: u
2210: 70 64 61 74 65 64 20 74 6f 20 6c 6f 61 64 20 74  pdated to load t
2220: 6c 73 20 66 72 6f 6d 20 62 75 69 6c 64 20 64 69  ls from build di
2230: 72 2e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e  r....* Makefile.
2240: 69 6e 3a 20 72 65 6d 6f 76 65 64 20 73 74 72 6e  in: removed strn
2250: 63 61 73 65 63 6d 70 20 66 72 6f 6d 20 64 65 66  casecmp from def
2260: 61 75 6c 74 20 6f 62 6a 65 63 74 20 73 65 74 2e  ault object set.
2270: 20 20 54 68 69 73 0a 09 69 73 20 6f 6e 6c 79 20    This..is only 
2280: 6e 65 65 64 65 64 20 6f 6e 20 74 68 65 20 4d 61  needed on the Ma
2290: 63 2c 20 61 6e 64 20 54 63 6c 20 73 74 75 62 73  c, and Tcl stubs
22a0: 20 70 72 6f 76 69 64 65 73 20 69 74 2e 0a 0a 09   provides it....
22b0: 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 72 65 67  * configure: reg
22c0: 65 6e 27 65 64 2e 0a 09 2a 20 63 6f 6e 66 69 67  en'ed...* config
22d0: 75 72 65 2e 69 6e 3a 20 75 70 64 61 74 65 64 20  ure.in: updated 
22e0: 74 6f 20 31 2e 35 2e 30 20 66 6f 72 20 6e 65 78  to 1.5.0 for nex
22f0: 74 20 72 65 6c 65 61 73 65 2e 0a 09 43 68 61 6e  t release...Chan
2300: 67 65 64 20 64 65 66 61 75 6c 74 20 6f 70 65 6e  ged default open
2310: 73 73 6c 20 6c 6f 63 61 74 69 6f 6e 20 74 6f 20  ssl location to 
2320: 2f 75 73 72 2f 6c 6f 63 61 6c 2f 73 73 6c 20 28  /usr/local/ssl (
2330: 74 68 69 73 20 69 73 20 77 68 65 72 65 0a 09 6f  this is where..o
2340: 70 65 6e 73 73 6c 20 30 2e 39 2e 36 63 20 69 6e  penssl 0.9.6c in
2350: 73 74 61 6c 6c 73 20 62 79 20 64 65 66 61 75 6c  stalls by defaul
2360: 74 29 2e 0a 09 43 68 61 6e 67 65 64 20 74 6f 20  t)...Changed to 
2370: 75 73 65 20 70 75 62 6c 69 63 20 54 63 6c 20 68  use public Tcl h
2380: 65 61 64 65 72 73 20 28 70 72 69 76 61 74 65 20  eaders (private 
2390: 6e 6f 74 20 6e 65 65 64 65 64 29 2e 0a 0a 32 30  not needed)...20
23a0: 30 31 2d 30 36 2d 32 31 20 20 4a 65 66 66 20 48  01-06-21  Jeff H
23b0: 6f 62 62 73 20 20 3c 6a 65 66 66 68 40 41 63 74  obbs  <jeffh@Act
23c0: 69 76 65 53 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09  iveState.com>...
23d0: 54 4c 53 20 31 2e 34 2e 31 20 52 45 4c 45 41 53  TLS 1.4.1 RELEAS
23e0: 45 0a 0a 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a  E...* configure:
23f0: 20 61 64 64 65 64 20 63 6f 6e 66 69 67 75 72 65   added configure
2400: 20 74 6f 20 43 56 53 0a 09 2a 20 63 6f 6e 66 69   to CVS..* confi
2410: 67 75 72 65 2e 69 6e 3a 20 6d 6f 76 65 64 20 74  gure.in: moved t
2420: 6f 20 70 61 74 63 68 6c 65 76 65 6c 20 31 2e 34  o patchlevel 1.4
2430: 2e 31 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e  .1...* Makefile.
2440: 69 6e 3a 20 63 6f 72 72 65 63 74 65 64 20 27 64  in: corrected 'd
2450: 69 73 74 27 20 74 61 72 67 65 74 0a 0a 09 2a 20  ist' target...* 
2460: 74 65 73 74 73 2f 63 65 72 74 73 2f 66 69 6c 65  tests/certs/file
2470: 2e 73 72 6c 3a 0a 09 2a 20 74 65 73 74 73 2f 63  .srl:..* tests/c
2480: 65 72 74 73 2f 63 61 2e 70 65 6d 3a 0a 09 2a 20  erts/ca.pem:..* 
2490: 74 65 73 74 73 2f 63 65 72 74 73 2f 63 6c 69 65  tests/certs/clie
24a0: 6e 74 2e 6b 65 79 3a 0a 09 2a 20 74 65 73 74 73  nt.key:..* tests
24b0: 2f 63 65 72 74 73 2f 63 6c 69 65 6e 74 2e 70 65  /certs/client.pe
24c0: 6d 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74  m:..* tests/cert
24d0: 73 2f 63 6c 69 65 6e 74 2e 72 65 71 3a 0a 09 2a  s/client.req:..*
24e0: 20 74 65 73 74 73 2f 63 65 72 74 73 2f 70 72 69   tests/certs/pri
24f0: 76 6b 65 79 2e 70 65 6d 3a 0a 09 2a 20 74 65 73  vkey.pem:..* tes
2500: 74 73 2f 63 65 72 74 73 2f 73 65 72 76 65 72 2e  ts/certs/server.
2510: 6b 65 79 3a 0a 09 2a 20 74 65 73 74 73 2f 63 65  key:..* tests/ce
2520: 72 74 73 2f 73 65 72 76 65 72 2e 70 65 6d 3a 0a  rts/server.pem:.
2530: 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f 73  .* tests/certs/s
2540: 65 72 76 65 72 2e 72 65 71 3a 0a 09 2a 20 74 65  erver.req:..* te
2550: 73 74 73 2f 63 65 72 74 73 2f 63 61 63 65 72 74  sts/certs/cacert
2560: 2e 70 65 6d 3a 20 72 65 70 6c 61 63 65 64 20 62  .pem: replaced b
2570: 79 20 6e 65 77 20 63 61 2e 70 65 6d 0a 09 2a 20  y new ca.pem..* 
2580: 74 65 73 74 73 2f 63 65 72 74 73 2f 73 6b 65 79  tests/certs/skey
2590: 2e 70 65 6d 3a 20 72 65 70 6c 61 63 65 64 20 62  .pem: replaced b
25a0: 79 20 6e 65 77 20 73 65 72 76 65 72 2e 6b 65 79  y new server.key
25b0: 0a 09 2a 20 74 65 73 74 73 2f 63 65 72 74 73 2f  ..* tests/certs/
25c0: 63 6b 65 79 2e 70 65 6d 3a 20 72 65 70 6c 61 63  ckey.pem: replac
25d0: 65 64 20 62 79 20 6e 65 77 20 63 6c 69 65 6e 74  ed by new client
25e0: 2e 6b 65 79 0a 09 2a 20 74 65 73 74 73 2f 63 65  .key..* tests/ce
25f0: 72 74 73 2f 52 45 41 44 4d 45 2e 74 78 74 3a 20  rts/README.txt: 
2600: 6e 65 77 20 73 65 74 20 6f 66 20 74 65 73 74 20  new set of test 
2610: 63 65 72 74 69 66 69 63 61 74 65 73 20 77 69 74  certificates wit
2620: 68 20 73 6f 6d 65 0a 09 52 45 41 44 4d 45 20 69  h some..README i
2630: 6e 66 6f 20 6f 6e 20 74 68 65 69 72 20 67 65 6e  nfo on their gen
2640: 65 72 61 74 69 6f 6e 2e 0a 0a 09 2a 20 74 65 73  eration....* tes
2650: 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73 74 3a  ts/ciphers.test:
2660: 20 75 70 64 61 74 65 64 20 63 69 70 68 65 72 73   updated ciphers
2670: 20 65 78 70 65 63 74 65 64 20 77 69 74 68 20 64   expected with d
2680: 65 66 61 75 6c 74 0a 09 6f 70 65 6e 73 73 6c 20  efault..openssl 
2690: 62 75 69 6c 64 2e 0a 0a 09 2a 20 74 65 73 74 73  build....* tests
26a0: 2f 74 63 6c 49 4f 2e 74 65 73 74 3a 20 75 70 64  /tclIO.test: upd
26b0: 61 74 65 64 20 74 6f 20 75 73 65 20 6e 65 77 20  ated to use new 
26c0: 6e 61 6d 65 73 20 66 6f 72 20 63 65 72 74 73 2f  names for certs/
26d0: 6b 65 79 73 2e 0a 0a 32 30 30 31 2d 30 33 2d 31  keys...2001-03-1
26e0: 34 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c  4  Jeff Hobbs  <
26f0: 6a 65 66 66 68 40 67 69 6d 6c 65 74 2e 61 63 74  jeffh@gimlet.act
2700: 69 76 65 73 74 61 74 65 2e 63 6f 6d 3e 0a 0a 09  ivestate.com>...
2710: 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49 6e 69  * tls.c (Tls_Ini
2720: 74 29 3a 20 61 64 64 20 64 6f 2f 77 68 69 6c 65  t): add do/while
2730: 20 66 6f 72 20 72 61 6e 64 6f 6d 20 6e 75 6d 62   for random numb
2740: 65 72 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f  er initializatio
2750: 6e 0a 09 74 6f 20 77 6f 72 6b 20 61 72 6f 75 6e  n..to work aroun
2760: 64 20 73 6f 6d 65 20 4f 53 65 73 20 71 75 69 72  d some OSes quir
2770: 6b 73 2e 20 20 28 52 61 6c 70 68 2e 42 69 6c 6c  ks.  (Ralph.Bill
2780: 65 73 40 74 65 6c 74 65 63 68 2e 63 6f 6d 2e 61  es@teltech.com.a
2790: 75 29 0a 0a 32 30 30 30 2d 30 39 2d 30 37 20 20  u)..2000-09-07  
27a0: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62  Jeff Hobbs  <hob
27b0: 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d  bs@scriptics.com
27c0: 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 20 28 54  >...* tlsIO.c (T
27d0: 6c 73 5f 43 68 61 6e 6e 65 6c 54 79 70 65 29 3a  ls_ChannelType):
27e0: 20 73 65 74 20 74 79 70 65 4e 61 6d 65 20 66 69   set typeName fi
27f0: 65 6c 64 20 6f 66 20 63 68 61 6e 6e 65 6c 20 74  eld of channel t
2800: 79 70 65 20 74 6f 0a 09 22 74 6c 73 22 20 28 74  ype to.."tls" (t
2810: 68 69 73 20 67 6f 74 20 6c 6f 73 74 20 69 6e 20  his got lost in 
2820: 6d 6f 76 65 20 74 6f 20 64 79 6e 61 6d 69 63 20  move to dynamic 
2830: 76 65 72 73 69 6f 6e 20 63 6f 6d 70 61 74 61 62  version compatab
2840: 69 6c 69 74 79 0a 09 63 68 65 63 6b 69 6e 67 29  ility..checking)
2850: 2e 0a 0a 32 30 30 30 2d 30 38 2d 32 33 20 20 4a  ...2000-08-23  J
2860: 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62  eff Hobbs  <hobb
2870: 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e  s@scriptics.com>
2880: 0a 0a 09 54 4c 53 20 31 2e 34 20 52 45 4c 45 41  ...TLS 1.4 RELEA
2890: 53 45 44 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65  SED...* Makefile
28a0: 2e 69 6e 20 28 64 69 73 74 29 3a 20 63 72 65 61  .in (dist): crea
28b0: 74 65 20 64 69 73 74 20 74 61 72 67 65 74 20 66  te dist target f
28c0: 6f 72 20 61 72 63 68 69 76 65 20 64 69 73 74 72  or archive distr
28d0: 69 62 75 74 69 6f 6e 73 0a 0a 09 2a 20 74 65 73  ibutions...* tes
28e0: 74 73 2f 74 6c 73 49 4f 2e 74 65 73 74 20 28 74  ts/tlsIO.test (t
28f0: 6c 73 49 4f 2d 38 2e 31 29 3a 20 61 64 64 65 64  lsIO-8.1): added
2900: 20 61 20 64 65 6c 61 79 20 6f 6e 20 74 68 65 20   a delay on the 
2910: 61 63 63 65 70 74 20 63 6c 6f 73 65 0a 09 74 6f  accept close..to
2920: 20 6d 61 6b 65 20 74 68 65 20 74 65 73 74 20 77   make the test w
2930: 6f 72 6b 20 77 69 74 68 20 4f 70 65 6e 53 53 4c  ork with OpenSSL
2940: 20 6f 6e 20 57 69 6e 64 6f 77 73 20 28 64 6f 65   on Windows (doe
2950: 73 6e 27 74 20 61 66 66 65 63 74 0a 09 6f 74 68  sn't affect..oth
2960: 65 72 20 62 75 69 6c 64 73 29 2e 0a 0a 09 2a 20  er builds)....* 
2970: 74 6c 73 2e 68 74 6d 3a 20 75 70 64 61 74 65 64  tls.htm: updated
2980: 20 77 69 74 68 20 6e 6f 74 65 73 20 66 6f 72 20   with notes for 
2990: 31 2e 34 2e 0a 0a 32 30 30 30 2d 30 38 2d 32 31  1.4...2000-08-21
29a0: 20 20 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68    Jeff Hobbs  <h
29b0: 6f 62 62 73 40 73 63 72 69 70 74 69 63 73 2e 63  obbs@scriptics.c
29c0: 6f 6d 3e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c  om>...* tests/tl
29d0: 73 49 4f 2e 74 65 73 74 3a 20 72 65 71 75 69 72  sIO.test: requir
29e0: 65 20 61 74 20 6c 65 61 73 74 20 74 6c 73 31 2e  e at least tls1.
29f0: 34 20 69 6e 20 74 65 73 74 20 73 75 69 74 65 2e  4 in test suite.
2a00: 0a 0a 32 30 30 30 2d 30 38 2d 31 38 20 20 4a 65  ..2000-08-18  Je
2a10: 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73  ff Hobbs  <hobbs
2a20: 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a  @scriptics.com>.
2a30: 0a 09 2a 20 74 6c 73 2e 63 20 28 54 6c 73 5f 49  ..* tls.c (Tls_I
2a40: 6e 69 74 29 3a 20 61 64 64 65 64 20 63 61 6c 6c  nit): added call
2a50: 20 74 6f 20 52 41 4e 44 5f 73 65 65 64 20 74 6f   to RAND_seed to
2a60: 20 73 65 65 64 20 74 68 65 20 53 53 4c 20 72 61   seed the SSL ra
2a70: 6e 64 6f 6d 0a 09 6e 75 6d 62 65 72 20 67 65 6e  ndom..number gen
2a80: 65 72 61 74 6f 72 2e 20 20 57 69 74 68 6f 75 74  erator.  Without
2a90: 20 74 68 69 73 2c 20 4f 70 65 6e 53 53 4c 20 30   this, OpenSSL 0
2aa0: 2e 39 2e 35 20 63 68 6f 6b 65 73 2c 20 61 6e 64  .9.5 chokes, and
2ab0: 20 69 6e 20 61 6e 79 0a 09 63 61 73 65 20 69 74   in any..case it
2ac0: 20 69 73 20 61 20 62 69 67 20 73 65 63 75 72 69   is a big securi
2ad0: 74 79 20 68 6f 6c 65 20 74 6f 20 64 6f 20 77 69  ty hole to do wi
2ae0: 74 68 6f 75 74 20 69 74 2e 0a 0a 09 2a 20 63 6f  thout it....* co
2af0: 6e 66 69 67 75 72 65 2e 69 6e 20 28 4f 50 45 4e  nfigure.in (OPEN
2b00: 53 53 4c 29 3a 20 61 64 64 65 64 20 4e 4f 5f 49  SSL): added NO_I
2b10: 44 45 41 20 61 6e 64 20 4e 4f 5f 52 43 35 20 64  DEA and NO_RC5 d
2b20: 65 66 69 6e 65 73 20 62 79 0a 09 64 65 66 61 75  efines by..defau
2b30: 6c 74 20 77 68 65 6e 20 63 6f 6d 70 69 6c 69 6e  lt when compilin
2b40: 67 20 77 69 74 68 20 4f 70 65 6e 53 53 4c 2e 0a  g with OpenSSL..
2b50: 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 20 61 64  ..* tlsInt.h: ad
2b60: 64 65 64 20 65 72 72 2e 68 20 69 6e 63 6c 75 64  ded err.h includ
2b70: 65 0a 0a 09 2a 20 74 6c 73 42 49 4f 2e 63 3a 0a  e...* tlsBIO.c:.
2b80: 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 63 6f 72 72  .* tlsIO.c: corr
2b90: 65 63 74 65 64 20 70 65 64 61 6e 74 69 63 20 63  ected pedantic c
2ba0: 61 73 74 20 65 72 72 6f 72 73 2e 0a 0a 32 30 30  ast errors...200
2bb0: 30 2d 30 38 2d 31 36 20 20 4a 65 66 66 20 48 6f  0-08-16  Jeff Ho
2bc0: 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63 72 69  bbs  <hobbs@scri
2bd0: 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74  ptics.com>...* t
2be0: 65 73 74 73 2f 63 69 70 68 65 72 73 2e 74 65 73  ests/ciphers.tes
2bf0: 74 3a 20 69 6d 70 72 6f 76 65 64 20 61 62 69 6c  t: improved abil
2c00: 69 74 79 20 74 6f 20 63 68 61 6e 67 65 20 63 6f  ity to change co
2c10: 6e 73 74 72 61 69 6e 74 0a 09 73 65 74 74 69 6e  nstraint..settin
2c20: 67 20 66 6f 72 20 77 68 65 74 68 65 72 20 75 73  g for whether us
2c30: 65 72 20 63 6f 6d 70 69 6c 65 64 20 61 67 61 69  er compiled agai
2c40: 6e 73 74 20 52 53 41 20 6f 72 20 4f 70 65 6e 53  nst RSA or OpenS
2c50: 53 4c 20 6c 69 62 73 2e 0a 0a 09 2a 20 74 6c 73  SL libs....* tls
2c60: 2e 63 20 28 54 6c 73 5f 49 6e 69 74 29 3a 20 63  .c (Tls_Init): c
2c70: 6f 72 72 65 63 74 65 64 20 69 6e 74 65 72 70 72  orrected interpr
2c80: 65 74 61 74 69 6f 6e 20 6f 66 20 76 65 72 73 69  etation of versi
2c90: 6f 6e 20 6e 75 6d 62 65 72 0a 09 28 70 61 74 63  on number..(patc
2ca0: 68 6c 65 76 65 6c 20 61 6e 64 20 72 65 6c 65 61  hlevel and relea
2cb0: 73 65 2f 73 65 72 69 61 6c 20 77 65 72 65 20 73  se/serial were s
2cc0: 77 61 70 70 65 64 29 2e 0a 0a 32 30 30 30 2d 30  wapped)...2000-0
2cd0: 38 2d 31 35 20 20 4a 65 66 66 20 48 6f 62 62 73  8-15  Jeff Hobbs
2ce0: 20 20 3c 68 6f 62 62 73 40 73 63 72 69 70 74 69    <hobbs@scripti
2cf0: 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 52 45 41 44  cs.com>...* READ
2d00: 4d 45 2e 74 78 74 3a 20 61 64 64 65 64 20 6e 6f  ME.txt: added no
2d10: 74 65 73 20 61 62 6f 75 74 20 6e 65 65 64 20 74  tes about need t
2d20: 6f 20 75 73 65 20 38 2e 32 2e 30 2b 2e 0a 0a 09  o use 8.2.0+....
2d30: 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a 09 2a 20 74  * tlsInt.h:..* t
2d40: 6c 73 2e 63 3a 0a 09 2a 20 74 6c 73 49 4f 2e 63  ls.c:..* tlsIO.c
2d50: 3a 20 63 6f 72 72 65 63 74 65 64 20 73 74 72 75  : corrected stru
2d60: 63 74 75 72 65 20 69 6e 69 74 69 61 6c 69 7a 61  cture initializa
2d70: 74 69 6f 6e 20 74 6f 20 77 6f 72 6b 20 77 68 65  tion to work whe
2d80: 6e 0a 09 63 6f 6d 70 69 6c 69 6e 67 20 77 69 74  n..compiling wit
2d90: 68 20 38 2e 32 2e 20 20 4e 6f 77 20 63 6f 6d 70  h 8.2.  Now comp
2da0: 69 6c 65 73 20 77 69 74 68 20 38 2e 32 2b 20 61  iles with 8.2+ a
2db0: 6e 64 20 74 65 73 74 65 64 20 74 6f 20 77 6f 72  nd tested to wor
2dc0: 6b 0a 09 77 69 74 68 20 38 2e 32 2b 20 61 6e 64  k..with 8.2+ and
2dd0: 20 64 79 6e 61 6d 69 63 61 6c 6c 79 20 61 64 6a   dynamically adj
2de0: 75 73 74 20 74 6f 20 74 68 65 20 76 65 72 73 69  ust to the versi
2df0: 6f 6e 20 6f 66 20 54 63 6c 20 69 74 20 77 61 73  on of Tcl it was
2e00: 0a 09 6c 6f 61 64 65 64 20 69 6e 74 6f 2e 20 20  ..loaded into.  
2e10: 54 4c 53 20 77 69 6c 6c 20 66 61 69 6c 20 74 68  TLS will fail th
2e20: 65 20 74 65 73 74 20 73 75 69 74 65 20 77 69 74  e test suite wit
2e30: 68 20 54 63 6c 20 38 2e 32 2d 38 2e 33 2e 31 2e  h Tcl 8.2-8.3.1.
2e40: 0a 0a 09 2a 20 74 65 73 74 73 2f 61 6c 6c 2e 74  ...* tests/all.t
2e50: 63 6c 3a 20 61 64 64 65 64 20 63 61 74 63 68 20  cl: added catch 
2e60: 61 72 6f 75 6e 64 20 3a 3a 74 63 6c 74 65 73 74  around ::tcltest
2e70: 3a 3a 6e 6f 72 6d 61 6c 69 7a 65 50 61 74 68 0a  ::normalizePath.
2e80: 09 62 65 63 61 75 73 65 20 69 74 20 64 6f 65 73  .because it does
2e90: 6e 27 74 20 65 78 69 73 74 20 69 6e 20 70 72 65  n't exist in pre
2ea0: 2d 38 2e 33 20 74 63 6c 74 65 73 74 2e 0a 0a 09  -8.3 tcltest....
2eb0: 2a 20 74 65 73 74 73 2f 73 69 6d 70 6c 65 43 6c  * tests/simpleCl
2ec0: 69 65 6e 74 2e 74 63 6c 3a 20 0a 09 2a 20 74 65  ient.tcl: ..* te
2ed0: 73 74 73 2f 73 69 6d 70 6c 65 53 65 72 76 65 72  sts/simpleServer
2ee0: 2e 74 63 6c 3a 20 61 64 64 65 64 20 73 69 6d 70  .tcl: added simp
2ef0: 6c 65 20 63 6c 69 65 6e 74 2f 73 65 72 76 65 72  le client/server
2f00: 20 74 65 73 74 20 73 63 72 69 70 74 73 0a 09 74   test scripts..t
2f10: 68 61 74 20 75 73 65 20 74 65 73 74 20 63 65 72  hat use test cer
2f20: 74 73 20 61 6e 64 20 63 61 6e 20 64 6f 20 73 69  ts and can do si
2f30: 6d 70 6c 65 20 73 74 72 65 73 73 20 74 65 73 74  mple stress test
2f40: 73 2e 0a 0a 32 30 30 30 2d 30 38 2d 31 34 20 20  s...2000-08-14  
2f50: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62  Jeff Hobbs  <hob
2f60: 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d  bs@scriptics.com
2f70: 3e 0a 0a 09 2a 20 74 6c 73 49 6e 74 2e 68 3a 0a  >...* tlsInt.h:.
2f80: 09 2a 20 74 6c 73 49 4f 2e 63 3a 0a 09 2a 20 74  .* tlsIO.c:..* t
2f90: 6c 73 42 49 4f 2e 63 3a 0a 09 2a 20 74 6c 73 2e  lsBIO.c:..* tls.
2fa0: 63 3a 20 63 68 61 6e 67 65 64 20 61 72 6f 75 6e  c: changed aroun
2fb0: 64 20 74 6f 20 6f 6e 6c 79 20 77 6f 72 6b 69 6e  d to only workin
2fc0: 67 20 77 69 74 68 20 38 2e 32 2e 30 2b 20 28 38  g with 8.2.0+ (8
2fd0: 2e 33 2e 32 2b 0a 09 70 72 65 66 65 72 72 65 64  .3.2+..preferred
2fe0: 29 2c 20 77 69 74 68 20 72 75 6e 74 69 6d 65 20  ), with runtime 
2ff0: 63 68 65 63 6b 73 20 66 6f 72 20 70 72 65 2d 20  checks for pre- 
3000: 61 6e 64 20 70 6f 73 74 2d 69 6f 2d 72 65 77 72  and post-io-rewr
3010: 69 74 65 2e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28  ite....* tls.c (
3020: 54 6c 73 5f 49 6e 69 74 29 3a 20 63 68 61 6e 67  Tls_Init): chang
3030: 65 64 20 69 74 20 74 6f 20 72 65 71 75 69 72 65  ed it to require
3040: 20 38 2e 33 2e 32 20 77 68 65 6e 20 54 63 6c 5f   8.3.2 when Tcl_
3050: 49 6e 69 74 53 74 75 62 73 0a 09 77 61 73 20 63  InitStubs..was c
3060: 61 6c 6c 65 64 20 62 65 63 61 75 73 65 20 77 65  alled because we
3070: 20 64 6f 6e 27 74 20 77 61 6e 74 20 70 65 6f 70   don't want peop
3080: 6c 65 20 75 73 69 6e 67 20 54 4c 53 20 77 69 74  le using TLS wit
3090: 68 20 74 68 65 0a 09 6f 72 69 67 69 6e 61 6c 20  h the..original 
30a0: 73 74 61 63 6b 65 64 20 63 68 61 6e 6e 65 6c 20  stacked channel 
30b0: 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 2e 0a  implementation..
30c0: 0a 32 30 30 30 2d 30 37 2d 32 36 20 20 4a 65 66  .2000-07-26  Jef
30d0: 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40  f Hobbs  <hobbs@
30e0: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a  scriptics.com>..
30f0: 09 2a 20 6d 65 72 67 65 64 20 61 6c 6c 20 63 68  .* merged all ch
3100: 61 6e 67 65 73 20 66 72 6f 6d 20 74 6c 73 2d 31  anges from tls-1
3110: 2d 33 2d 69 6f 2d 72 65 77 72 69 74 65 20 62 61  -3-io-rewrite ba
3120: 63 6b 20 69 6e 74 6f 20 6d 61 69 6e 20 62 72 61  ck into main bra
3130: 6e 63 68 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c  nch...* tests/tl
3140: 73 49 4f 2e 74 65 73 74 3a 20 75 70 64 61 74 65  sIO.test: update
3150: 64 20 63 6f 6d 6d 65 6e 74 73 2c 20 66 69 78 65  d comments, fixe
3160: 64 20 61 20 70 63 43 72 61 73 68 20 63 61 73 65  d a pcCrash case
3170: 20 74 68 61 74 0a 09 77 61 73 20 64 75 65 20 74   that..was due t
3180: 6f 20 64 65 62 75 67 20 61 73 73 65 72 74 69 6f  o debug assertio
3190: 6e 20 69 6e 20 57 69 6e 64 6f 77 73 20 53 53 4c  n in Windows SSL
31a0: 2e 0a 0a 09 2a 20 74 6c 73 2e 63 20 28 49 6d 70  ....* tls.c (Imp
31b0: 6f 72 74 4f 62 6a 43 6d 64 29 3a 20 72 65 6d 6f  ortObjCmd): remo
31c0: 76 65 64 20 75 6e 6e 65 63 65 73 73 61 72 79 20  ved unnecessary 
31d0: 75 73 65 20 6f 66 20 27 62 69 6f 27 20 61 72 67  use of 'bio' arg
31e0: 2e 0a 09 28 54 6c 73 5f 49 6e 69 74 29 3a 20 63  ...(Tls_Init): c
31f0: 68 65 63 6b 20 72 65 74 75 72 6e 20 76 61 6c 75  heck return valu
3200: 65 20 6f 66 20 53 53 4c 5f 6c 69 62 72 61 72 79  e of SSL_library
3210: 5f 69 6e 69 74 2e 20 20 41 6c 73 6f 20 6c 6f 74  _init.  Also lot
3220: 73 20 6f 66 0a 09 77 68 69 74 65 73 70 61 63 65  s of..whitespace
3230: 20 63 6c 65 61 6e 75 70 20 28 6d 6f 72 65 20 6c   cleanup (more l
3240: 69 6b 65 20 54 63 6c 20 45 6e 67 20 73 74 79 6c  ike Tcl Eng styl
3250: 65 20 67 75 69 64 65 29 2c 20 62 75 74 20 6e 6f  e guide), but no
3260: 74 20 61 6c 6c 0a 09 63 6f 64 65 20 77 61 73 20  t all..code was 
3270: 63 6c 65 61 6e 65 64 20 75 70 2e 0a 0a 09 2a 20  cleaned up....* 
3280: 74 6c 73 42 49 4f 2e 63 3a 20 6d 69 6e 6f 72 20  tlsBIO.c: minor 
3290: 77 68 69 74 65 73 70 61 63 65 20 63 6c 65 61 6e  whitespace clean
32a0: 75 70 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20  up...* tlsIO.c: 
32b0: 6d 69 6e 6f 72 20 77 68 69 74 65 73 70 61 63 65  minor whitespace
32c0: 20 63 6c 65 61 6e 75 70 2e 0a 09 28 54 6c 73 49   cleanup...(TlsI
32d0: 6e 70 75 74 50 72 6f 63 2c 20 54 6c 73 4f 75 74  nputProc, TlsOut
32e0: 70 75 74 50 72 6f 63 29 3a 20 41 64 64 65 64 20  putProc): Added 
32f0: 45 52 52 5f 63 6c 65 61 72 5f 65 72 72 6f 72 20  ERR_clear_error 
3300: 62 65 66 6f 72 65 20 63 61 6c 6c 73 0a 09 74 6f  before calls..to
3310: 20 42 49 4f 5f 72 65 61 64 20 6f 72 20 42 49 4f   BIO_read or BIO
3320: 5f 77 72 69 74 65 2c 20 62 65 63 61 75 73 65 20  _write, because 
3330: 77 65 20 63 6f 75 6c 64 20 6f 74 68 65 72 77 69  we could otherwi
3340: 73 65 20 65 6e 64 20 75 70 0a 09 70 75 6c 6c 69  se end up..pulli
3350: 6e 67 20 61 6e 20 65 72 72 6f 72 20 6f 66 66 20  ng an error off 
3360: 74 68 65 20 73 74 61 63 6b 20 74 68 61 74 20 64  the stack that d
3370: 69 64 6e 27 74 20 62 65 6c 6f 6e 67 20 74 6f 20  idn't belong to 
3380: 75 73 2e 20 20 41 6c 73 6f 0a 09 63 6c 65 61 6e  us.  Also..clean
3390: 75 70 20 75 70 20 65 78 63 65 73 73 69 76 65 20  up up excessive 
33a0: 75 73 65 20 6f 66 20 67 6f 74 6f 73 2e 0a 0a 32  use of gotos...2
33b0: 30 30 30 2d 30 37 2d 32 30 20 20 4a 65 66 66 20  000-07-20  Jeff 
33c0: 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63  Hobbs  <hobbs@sc
33d0: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a  riptics.com>...*
33e0: 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65 73   tests/tlsIO.tes
33f0: 74 3a 20 63 6f 72 72 65 63 74 65 64 20 76 61 72  t: corrected var
3400: 69 6f 75 73 20 74 65 73 74 73 20 74 6f 20 62 65  ious tests to be
3410: 20 63 6f 72 72 65 63 74 20 66 6f 72 20 54 4c 53   correct for TLS
3420: 0a 09 73 74 61 63 6b 65 64 20 63 68 61 6e 6e 65  ..stacked channe
3430: 6c 73 20 28 61 73 20 6f 70 70 6f 73 65 64 20 74  ls (as opposed t
3440: 6f 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 73  o the standard s
3450: 6f 63 6b 65 74 73 20 74 68 65 20 74 65 73 74 0a  ockets the test.
3460: 09 73 75 69 74 65 20 77 61 73 20 61 64 6f 70 74  .suite was adopt
3470: 65 64 20 66 72 6f 6d 29 2e 20 20 4b 65 79 20 64  ed from).  Key d
3480: 69 66 66 65 72 65 6e 63 65 73 20 61 72 65 20 74  ifferences are t
3490: 68 61 74 20 54 4c 53 20 63 61 6e 6e 6f 74 0a 09  hat TLS cannot..
34a0: 6f 70 65 72 61 74 65 20 69 6e 20 6f 6e 65 20 70  operate in one p
34b0: 72 6f 63 65 73 73 20 77 69 74 68 6f 75 74 20 61  rocess without a
34c0: 6c 6c 20 63 68 61 6e 6e 65 6c 73 20 62 65 69 6e  ll channels bein
34d0: 67 20 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e 67 2c 20  g non-blocking, 
34e0: 6f 72 0a 09 74 68 65 20 68 61 6e 64 73 68 61 6b  or..the handshak
34f0: 65 20 77 69 6c 6c 20 62 6c 6f 63 6b 2c 20 61 6e  e will block, an
3500: 64 20 68 61 6e 64 73 68 61 6b 69 6e 67 20 6d 75  d handshaking mu
3510: 73 74 20 62 65 20 66 6f 72 63 65 64 20 69 6e 20  st be forced in 
3520: 73 6f 6d 65 0a 09 63 61 73 65 73 2e 20 20 41 6c  some..cases.  Al
3530: 73 6f 2c 20 68 61 6e 64 73 68 61 6b 65 73 20 64  so, handshakes d
3540: 6f 6e 27 74 20 73 65 65 6d 20 74 6f 20 63 6f 6d  on't seem to com
3550: 70 6c 65 74 65 20 75 6e 6c 65 73 73 20 74 68 65  plete unless the
3560: 20 63 6c 69 65 6e 74 0a 09 68 61 73 20 70 6c 61   client..has pla
3570: 63 65 64 20 61 74 20 6c 65 61 73 74 20 6f 6e 65  ced at least one
3580: 20 62 79 74 65 20 66 6f 72 20 74 68 65 20 73 65   byte for the se
3590: 72 76 65 72 20 74 6f 20 72 65 61 64 20 69 6e 20  rver to read in 
35a0: 74 68 65 20 63 68 61 6e 6e 65 6c 2e 0a 0a 09 2a  the channel....*
35b0: 20 74 65 73 74 73 2f 72 65 6d 6f 74 65 2e 74 63   tests/remote.tc
35c0: 6c 3a 20 63 6f 72 72 65 63 74 65 64 20 74 68 65  l: corrected the
35d0: 20 66 69 6e 64 69 6e 67 20 6f 66 20 74 65 73 74   finding of test
35e0: 73 20 63 65 72 74 69 66 69 63 61 74 65 73 0a 0a  s certificates..
35f0: 09 2a 20 74 6c 73 49 4f 2e 63 20 28 54 6c 73 43  .* tlsIO.c (TlsC
3600: 6c 6f 73 65 50 72 6f 63 29 3a 20 72 65 6d 6f 76  loseProc): remov
3610: 65 64 20 64 65 6c 65 74 69 6e 67 20 6f 66 20 74  ed deleting of t
3620: 69 6d 65 72 20 68 61 6e 64 6c 65 72 20 61 73 0a  imer handler as.
3630: 09 74 68 61 74 20 69 73 20 68 61 6e 64 6c 65 64  .that is handled
3640: 20 62 79 20 54 6c 73 5f 43 6c 65 61 6e 2e 0a 0a   by Tls_Clean...
3650: 09 2a 20 74 6c 73 2e 74 63 6c 20 28 74 6c 73 3a  .* tls.tcl (tls:
3660: 3a 5f 61 63 63 65 70 74 29 3a 20 63 6f 72 72 65  :_accept): corre
3670: 63 74 65 64 20 74 68 65 20 69 6e 74 65 72 6e 61  cted the interna
3680: 6c 20 5f 61 63 63 65 70 74 20 74 6f 0a 09 74 72  l _accept to..tr
3690: 69 63 6b 6c 65 20 63 61 6c 6c 62 61 63 6b 20 65  ickle callback e
36a0: 72 72 6f 72 73 20 74 6f 20 74 68 65 20 75 73 65  rrors to the use
36b0: 72 2e 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e  r....* Makefile.
36c0: 69 6e 3a 20 6d 61 64 65 20 74 68 65 20 69 6e 73  in: made the ins
36d0: 74 61 6c 6c 2d 62 69 6e 61 72 69 65 73 20 74 61  tall-binaries ta
36e0: 72 67 65 74 20 72 65 67 65 6e 65 72 61 74 65 20  rget regenerate 
36f0: 74 68 65 0a 09 70 6b 67 49 6e 64 65 78 2e 74 63  the..pkgIndex.tc
3700: 6c 20 63 6f 72 72 65 63 74 6c 79 2e 20 20 54 68  l correctly.  Th
3710: 65 20 74 65 73 74 20 74 61 72 67 65 74 20 70 72  e test target pr
3720: 6f 62 61 62 6c 79 20 73 68 6f 75 6c 64 6e 27 74  obably shouldn't
3730: 20 73 63 72 65 77 0a 09 69 74 20 75 70 2c 20 62   screw..it up, b
3740: 75 74 20 74 68 69 73 20 69 73 20 74 6f 20 62 65  ut this is to be
3750: 20 6f 6e 20 74 68 65 20 73 61 66 65 20 73 69 64   on the safe sid
3760: 65 2e 0a 0a 32 30 30 30 2d 30 37 2d 31 37 20 20  e...2000-07-17  
3770: 4a 65 66 66 20 48 6f 62 62 73 20 20 3c 68 6f 62  Jeff Hobbs  <hob
3780: 62 73 40 73 63 72 69 70 74 69 63 73 2e 63 6f 6d  bs@scriptics.com
3790: 3e 0a 0a 09 2a 20 70 6b 67 49 6e 64 65 78 2e 74  >...* pkgIndex.t
37a0: 63 6c 2e 69 6e 3a 0a 09 2a 20 63 6f 6e 66 69 67  cl.in:..* config
37b0: 75 72 65 2e 69 6e 3a 20 75 70 64 61 74 65 64 20  ure.in: updated 
37c0: 76 65 72 73 69 6f 6e 20 74 6f 20 31 2e 34 0a 0a  version to 1.4..
37d0: 32 30 30 30 2d 30 37 2d 31 33 20 20 4a 65 66 66  2000-07-13  Jeff
37e0: 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73   Hobbs  <hobbs@s
37f0: 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09  criptics.com>...
3800: 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74 65  * tests/tlsIO.te
3810: 73 74 3a 20 65 6e 61 62 6c 65 64 20 74 65 73 74  st: enabled test
3820: 73 20 32 2e 31 30 2c 20 37 2e 5b 31 32 34 35 5d  s 2.10, 7.[1245]
3830: 20 28 74 68 65 72 65 20 69 73 20 6e 6f 20 33 29   (there is no 3)
3840: 2c 0a 09 77 68 69 63 68 20 6e 6f 77 20 70 61 73  ,..which now pas
3850: 73 2e 20 20 41 64 64 65 64 20 73 6f 6d 65 20 63  s.  Added some c
3860: 6f 6d 6d 65 6e 74 73 20 74 6f 20 6f 74 68 65 72  omments to other
3870: 20 66 61 69 6c 69 6e 67 20 74 65 73 74 73 2e 0a   failing tests..
3880: 0a 32 30 30 30 2d 30 37 2d 31 31 20 20 4a 65 66  .2000-07-11  Jef
3890: 66 20 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40  f Hobbs  <hobbs@
38a0: 73 63 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a  scriptics.com>..
38b0: 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 63 68 61 6e  .* tlsIO.c: chan
38c0: 67 65 64 20 61 6c 6c 20 74 68 65 20 63 68 61 6e  ged all the chan
38d0: 6e 65 6c 20 70 72 6f 63 73 20 74 6f 20 73 74 61  nel procs to sta
38e0: 72 74 20 77 69 74 68 20 54 6c 73 2a 20 66 6f 72  rt with Tls* for
38f0: 0a 09 62 65 74 74 65 72 20 70 61 72 69 74 79 20  ..better parity 
3900: 77 68 65 6e 20 63 6f 6d 70 61 72 69 6e 67 20 77  when comparing w
3910: 69 74 68 20 54 72 61 6e 73 66 6f 72 6d 20 63 68  ith Transform ch
3920: 61 6e 6e 65 6c 20 70 72 6f 63 73 2e 0a 09 52 65  annel procs...Re
3930: 77 72 6f 74 65 20 54 6c 73 57 61 74 63 68 50 72  wrote TlsWatchPr
3940: 6f 63 2c 20 61 64 64 65 64 20 54 6c 73 4e 6f 74  oc, added TlsNot
3950: 69 66 79 50 72 6f 63 20 61 63 63 6f 72 64 69 6e  ifyProc accordin
3960: 67 20 74 6f 20 74 68 65 20 6e 65 77 0a 09 63 68  g to the new..ch
3970: 61 6e 6e 65 6c 20 64 65 73 69 67 6e 2c 20 77 68  annel design, wh
3980: 69 63 68 20 61 6c 73 6f 20 6c 65 61 76 65 73 20  ich also leaves 
3990: 54 6c 73 43 68 61 6e 6e 65 6c 48 61 6e 64 6c 65  TlsChannelHandle
39a0: 72 20 75 6e 75 73 65 64 2e 0a 0a 09 2a 20 74 6c  r unused....* tl
39b0: 73 42 49 4f 2e 63 20 28 42 69 6f 43 74 72 6c 29  sBIO.c (BioCtrl)
39c0: 3a 20 63 68 61 6e 67 65 64 20 42 49 4f 5f 43 54  : changed BIO_CT
39d0: 52 4c 5f 46 4c 55 53 48 20 63 61 73 65 20 74 6f  RL_FLUSH case to
39e0: 20 75 73 65 0a 09 54 63 6c 5f 57 72 69 74 65 52   use..Tcl_WriteR
39f0: 61 77 20 69 6e 73 74 65 61 64 20 6f 66 20 54 63  aw instead of Tc
3a00: 6c 5f 46 6c 75 73 68 20 28 74 6f 20 6f 70 65 72  l_Flush (to oper
3a10: 61 74 65 20 6f 6e 20 63 6f 72 72 65 63 74 20 63  ate on correct c
3a20: 68 61 6e 6e 65 6c 0a 09 69 6e 20 74 68 65 20 73  hannel..in the s
3a30: 74 61 63 6b 20 69 6e 73 74 65 61 64 20 6f 66 20  tack instead of 
3a40: 73 74 61 72 74 69 6e 67 20 61 74 20 74 68 65 20  starting at the 
3a50: 74 6f 70 20 61 67 61 69 6e 29 2e 20 20 57 6f 75  top again).  Wou
3a60: 6c 64 0a 09 6f 74 68 65 72 77 69 73 65 20 63 61  ld..otherwise ca
3a70: 75 73 65 20 61 20 72 65 63 75 72 73 69 76 65 20  use a recursive 
3a80: 73 74 61 63 6b 20 62 6f 6d 62 20 77 68 65 6e 20  stack bomb when 
3a90: 69 6d 70 6c 69 63 69 74 20 68 61 6e 64 73 68 61  implicit handsha
3aa0: 6b 69 6e 67 0a 09 74 6f 6f 6b 20 65 66 66 65 63  king..took effec
3ab0: 74 2e 0a 0a 09 2a 20 74 65 73 74 73 2f 74 6c 73  t....* tests/tls
3ac0: 49 4f 2e 74 65 73 74 3a 20 72 65 6d 6f 76 65 64  IO.test: removed
3ad0: 20 63 68 61 6e 67 65 73 20 6d 61 64 65 20 74 6f   changes made to
3ae0: 20 74 65 73 74 20 73 75 69 74 65 20 28 61 6c 6c   test suite (all
3af0: 20 74 65 73 74 73 0a 09 74 68 61 74 20 72 61 6e   tests..that ran
3b00: 20 62 65 66 6f 72 65 20 6e 6f 77 20 70 61 73 73   before now pass
3b10: 20 63 6f 72 72 65 63 74 6c 79 29 2c 20 61 6e 64   correctly), and
3b20: 20 63 68 61 6e 67 65 64 20 73 6f 6d 65 20 61 63   changed some ac
3b30: 63 65 70 74 20 70 72 6f 63 0a 09 61 72 67 73 20  cept proc..args 
3b40: 74 6f 20 72 65 66 6c 65 63 74 20 74 68 61 74 20  to reflect that 
3b50: 61 20 73 6f 63 6b 20 69 73 20 61 6e 20 61 72 67  a sock is an arg
3b60: 2c 20 6e 6f 74 20 61 20 66 69 6c 65 2e 0a 0a 32  , not a file...2
3b70: 30 30 30 2d 30 37 2d 31 30 20 20 4a 65 66 66 20  000-07-10  Jeff 
3b80: 48 6f 62 62 73 20 20 3c 68 6f 62 62 73 40 73 63  Hobbs  <hobbs@sc
3b90: 72 69 70 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a  riptics.com>...*
3ba0: 20 74 6c 73 42 49 4f 2e 63 20 28 42 69 6f 57 72   tlsBIO.c (BioWr
3bb0: 69 74 65 2c 20 42 69 6f 52 65 61 64 29 3a 20 63  ite, BioRead): c
3bc0: 68 61 6e 67 65 64 20 54 63 6c 5f 52 65 61 64 2f  hanged Tcl_Read/
3bd0: 57 72 69 74 65 20 74 6f 0a 09 54 63 6c 5f 52 65  Write to..Tcl_Re
3be0: 61 64 52 61 77 2f 54 63 6c 57 72 69 74 65 52 61  adRaw/TclWriteRa
3bf0: 77 2e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20 61 64  w....* tls.c: ad
3c00: 64 65 64 20 75 73 65 20 6f 66 20 54 63 6c 5f 47  ded use of Tcl_G
3c10: 65 74 54 6f 70 43 68 61 6e 6e 65 6c 20 61 66 74  etTopChannel aft
3c20: 65 72 20 54 63 6c 5f 47 65 74 43 68 61 6e 6e 65  er Tcl_GetChanne
3c30: 6c 20 61 6e 64 0a 09 67 6f 74 20 72 65 74 75 72  l and..got retur
3c40: 6e 20 76 61 6c 75 65 20 66 72 6f 6d 20 54 63 6c  n value from Tcl
3c50: 5f 53 74 61 63 6b 43 68 61 6e 6e 65 6c 2e 0a 0a  _StackChannel...
3c60: 09 2a 20 74 65 73 74 73 2f 74 6c 73 49 4f 2e 74  .* tests/tlsIO.t
3c70: 65 73 74 3a 20 61 64 64 65 64 20 73 6f 6d 65 20  est: added some 
3c80: 68 61 6e 64 73 68 61 6b 69 6e 67 20 74 68 61 74  handshaking that
3c90: 20 73 68 6f 75 6c 64 6e 27 74 20 62 65 0a 09 6e   shouldn't be..n
3ca0: 65 63 65 73 73 61 72 79 2c 20 62 75 74 20 77 65  ecessary, but we
3cb0: 20 63 72 61 73 68 20 6f 74 68 65 72 77 69 73 65   crash otherwise
3cc0: 20 28 6e 65 65 64 73 20 6d 6f 72 65 20 74 65 73   (needs more tes
3cd0: 74 69 6e 67 29 2e 0a 0a 09 2a 20 74 6c 73 49 4f  ting)....* tlsIO
3ce0: 2e 63 3a 20 61 64 64 65 64 20 73 75 70 70 6f 72  .c: added suppor
3cf0: 74 20 66 6f 72 20 22 63 6f 72 72 65 63 74 65 64  t for "corrected
3d00: 22 20 73 74 61 63 6b 65 64 20 63 68 61 6e 6e 65  " stacked channe
3d10: 6c 73 2e 20 20 41 6c 6c 0a 09 74 68 65 20 61 62  ls.  All..the ab
3d20: 6f 76 65 20 63 68 61 6e 6e 65 6c 73 20 61 72 65  ove channels are
3d30: 20 69 6e 20 54 43 4c 5f 43 48 41 4e 4e 45 4c 5f   in TCL_CHANNEL_
3d40: 56 45 52 53 49 4f 4e 5f 32 20 23 69 66 64 65 66  VERSION_2 #ifdef
3d50: 73 2e 0a 0a 32 30 30 30 2d 30 36 2d 30 35 20 20  s...2000-06-05  
3d60: 53 63 6f 74 74 20 53 74 61 6e 74 6f 6e 20 20 3c  Scott Stanton  <
3d70: 73 74 61 6e 74 6f 6e 40 61 6a 75 62 61 73 6f 6c  stanton@ajubasol
3d80: 75 74 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a 20  utions.com>...* 
3d90: 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 46 69 78  Makefile.in: Fix
3da0: 65 64 20 62 72 6f 6b 65 6e 20 74 65 73 74 20 74  ed broken test t
3db0: 61 72 67 65 74 2e 0a 0a 09 2a 20 74 6c 73 49 6e  arget....* tlsIn
3dc0: 74 2e 68 3a 20 0a 09 2a 20 74 6c 73 2e 63 3a 20  t.h: ..* tls.c: 
3dd0: 43 6c 65 61 6e 65 64 20 75 70 20 64 65 63 6c 61  Cleaned up decla
3de0: 72 61 74 69 6f 6e 73 20 6f 66 20 54 6c 73 5f 43  rations of Tls_C
3df0: 6c 65 61 6e 20 74 6f 20 61 76 6f 69 64 20 65 72  lean to avoid er
3e00: 72 6f 72 73 20 6f 6e 0a 09 57 69 6e 64 6f 77 73  rors on..Windows
3e10: 20 28 6c 69 6e 74 29 2e 0a 0a 32 30 30 30 2d 30   (lint)...2000-0
3e20: 36 2d 30 35 20 20 42 72 65 6e 74 20 57 65 6c 63  6-05  Brent Welc
3e30: 68 20 3c 77 65 6c 63 68 40 61 6a 75 62 61 73 6f  h <welch@ajubaso
3e40: 6c 75 74 69 6f 6e 73 2e 63 6f 6d 3e 0a 0a 09 2a  lutions.com>...*
3e50: 20 74 6c 73 2e 63 2c 20 74 6c 73 49 4f 2e 63 3a   tls.c, tlsIO.c:
3e60: 20 20 53 70 6c 69 74 20 54 6c 73 5f 46 72 65 65    Split Tls_Free
3e70: 20 69 6e 74 6f 20 54 6c 73 5f 43 6c 65 61 6e 2c   into Tls_Clean,
3e80: 20 77 68 69 63 68 20 64 6f 65 73 0a 09 74 68 65   which does..the
3e90: 20 53 53 4c 20 63 6c 65 61 6e 75 70 2c 20 61 6e   SSL cleanup, an
3ea0: 64 20 74 68 65 20 54 63 6c 5f 46 72 65 65 20 63  d the Tcl_Free c
3eb0: 61 6c 6c 2e 20 20 49 74 20 69 73 20 69 6d 70 6f  all.  It is impo
3ec0: 72 74 61 6e 74 20 74 6f 20 73 68 75 74 64 6f 77  rtant to shutdow
3ed0: 6e 0a 09 74 68 65 20 53 53 4c 20 73 74 61 74 65  n..the SSL state
3ee0: 20 22 73 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 22   "synchronously"
3ef0: 20 64 75 72 69 6e 67 20 61 20 73 74 61 63 6b 65   during a stacke
3f00: 64 20 66 6c 75 73 68 2e 0a 0a 32 30 30 30 2d 30  d flush...2000-0
3f10: 36 2d 30 31 20 20 53 63 6f 74 74 20 53 74 61 6e  6-01  Scott Stan
3f20: 74 6f 6e 20 20 3c 73 74 61 6e 74 6f 6e 40 61 6a  ton  <stanton@aj
3f30: 75 62 61 73 6f 6c 75 74 69 6f 6e 73 2e 63 6f 6d  ubasolutions.com
3f40: 3e 0a 0a 09 2a 20 74 6c 73 49 4f 2e 63 3a 20 52  >...* tlsIO.c: R
3f50: 65 73 74 6f 72 65 64 20 63 61 6c 6c 20 74 6f 20  estored call to 
3f60: 54 63 6c 5f 4e 6f 74 69 66 79 43 68 61 6e 6e 65  Tcl_NotifyChanne
3f70: 6c 20 66 72 6f 6d 20 43 68 61 6e 6e 65 6c 48 61  l from ChannelHa
3f80: 6e 64 6c 65 72 0a 09 74 6f 20 65 6e 73 75 72 65  ndler..to ensure
3f90: 20 74 68 61 74 20 65 76 65 6e 74 73 20 70 72 6f   that events pro
3fa0: 70 61 67 61 74 65 20 66 72 6f 6d 20 74 68 65 20  pagate from the 
3fb0: 6c 6f 77 65 72 20 64 72 69 76 65 72 2e 20 20 54  lower driver.  T
3fc0: 68 69 73 20 6d 61 79 0a 09 72 65 73 75 6c 74 20  his may..result 
3fd0: 69 6e 20 61 6e 20 69 6e 66 69 6e 69 74 65 20 6c  in an infinite l
3fe0: 6f 6f 70 20 69 6e 20 73 6f 6d 65 20 63 61 73 65  oop in some case
3ff0: 73 2c 20 73 6f 20 74 68 69 73 20 69 73 20 6e 6f  s, so this is no
4000: 74 20 61 20 74 6f 74 61 6c 0a 09 66 69 78 2e 20  t a total..fix. 
4010: 20 54 68 69 73 20 6d 61 79 20 62 65 20 73 75 66   This may be suf
4020: 66 69 63 69 65 6e 74 20 66 6f 72 20 6e 6f 77 2c  ficient for now,
4030: 20 68 6f 77 65 76 65 72 2e 20 5b 42 75 67 3a 20   however. [Bug: 
4040: 35 36 32 33 5d 0a 0a 32 30 30 30 2d 30 36 2d 30  5623]..2000-06-0
4050: 31 20 20 53 63 6f 74 74 20 53 74 61 6e 74 6f 6e  1  Scott Stanton
4060: 20 20 3c 73 74 61 6e 74 6f 6e 40 73 63 72 69 70    <stanton@scrip
4070: 74 69 63 73 2e 63 6f 6d 3e 0a 0a 09 2a 20 74 6c  tics.com>...* tl
4080: 73 49 4f 2e 63 3a 20 52 65 73 74 6f 72 65 20 74  sIO.c: Restore t
4090: 68 65 20 70 72 65 76 69 6f 75 73 20 76 65 72 73  he previous vers
40a0: 69 6f 6e 2e 20 20 46 69 78 65 64 20 74 68 65 20  ion.  Fixed the 
40b0: 43 6c 6f 73 65 50 72 6f 63 20 73 6f 0a 09 69 74  CloseProc so..it
40c0: 20 75 6e 72 65 67 69 73 74 65 72 73 20 74 68 65   unregisters the
40d0: 20 63 68 61 6e 6e 65 6c 20 68 61 6e 64 6c 65 72   channel handler
40e0: 20 6f 6e 20 74 68 65 20 73 75 70 65 72 63 65 64   on the superced
40f0: 65 64 20 63 68 61 6e 6e 65 6c 0a 09 69 6e 73 74  ed channel..inst
4100: 65 61 64 20 6f 66 20 74 68 65 20 75 70 70 65 72  ead of the upper
4110: 20 63 68 61 6e 6e 65 6c 2e 20 41 6c 73 6f 20 72   channel. Also r
4120: 65 6d 6f 76 65 64 20 74 68 65 20 63 61 6c 6c 20  emoved the call 
4130: 74 6f 0a 09 54 63 6c 5f 4e 6f 74 69 66 79 43 68  to..Tcl_NotifyCh
4140: 61 6e 6e 65 6c 20 69 6e 20 74 68 65 20 43 68 61  annel in the Cha
4150: 6e 6e 65 6c 48 61 6e 64 6c 65 72 20 62 65 63 61  nnelHandler beca
4160: 75 73 65 20 74 68 69 73 20 77 69 6c 6c 20 72 65  use this will re
4170: 73 75 6c 74 0a 09 69 6e 20 61 6e 20 69 6e 66 69  sult..in an infi
4180: 6e 69 74 65 20 6c 6f 6f 70 20 69 66 20 64 61 74  nite loop if dat
4190: 61 20 69 73 20 65 76 65 72 20 62 75 66 66 65 72  a is ever buffer
41a0: 65 64 20 69 6e 20 74 68 65 20 42 49 4f 0a 09 73  ed in the BIO..s
41b0: 74 72 75 63 74 75 72 65 2e 20 5b 42 75 67 3a 20  tructure. [Bug: 
41c0: 35 36 32 33 5d 0a 0a 32 30 30 30 2d 30 35 2d 33  5623]..2000-05-3
41d0: 31 20 20 42 72 65 6e 74 20 57 65 6c 63 68 20 3c  1  Brent Welch <
41e0: 77 65 6c 63 68 40 73 63 72 69 70 74 69 63 73 2e  welch@scriptics.
41f0: 63 6f 6d 3e 0a 0a 09 2a 20 74 6c 73 2e 63 3a 20  com>...* tls.c: 
4200: 43 68 61 6e 67 65 20 74 68 65 20 43 68 61 6e 6e  Change the Chann
4210: 65 6c 48 61 6e 64 6c 65 72 20 74 6f 20 62 65 20  elHandler to be 
4220: 72 65 67 69 73 74 65 72 65 64 20 6f 6e 20 74 68  registered on th
4230: 65 20 6d 61 69 6e 0a 09 63 68 61 6e 6e 65 6c 20  e main..channel 
4240: 61 73 20 6f 70 70 73 65 64 20 74 6f 20 74 68 65  as oppsed to the
4250: 20 22 70 61 72 65 6e 74 22 2c 20 6f 72 20 73 75   "parent", or su
4260: 70 65 72 63 65 65 64 65 64 2c 20 63 68 61 6e 6e  perceeded, chann
4270: 65 6c 2e 20 20 54 68 69 73 0a 09 69 73 20 62 65  el.  This..is be
4280: 63 61 75 73 65 20 74 68 65 20 73 6f 63 6b 65 74  cause the socket
4290: 20 64 72 69 76 65 72 20 6e 6f 74 69 66 69 65 73   driver notifies
42a0: 20 74 68 65 20 6d 61 69 6e 20 63 68 61 6e 6e 65   the main channe
42b0: 6c 2c 20 61 6e 64 20 74 68 65 72 65 0a 09 61 72  l, and there..ar
42c0: 65 20 74 69 6d 65 73 20 77 69 74 68 20 74 68 65  e times with the
42d0: 20 6d 61 69 6e 20 63 68 61 6e 6e 65 6c 20 67 65   main channel ge
42e0: 74 73 20 63 6c 6f 73 65 64 2c 20 62 75 74 20 74  ts closed, but t
42f0: 68 65 20 73 75 70 65 72 63 65 64 65 64 0a 09 6f  he superceded..o
4300: 6e 65 20 69 73 20 6e 6f 74 20 79 65 74 20 63 6c  ne is not yet cl
4310: 6f 73 65 64 2e 20 20 49 66 20 74 68 65 20 63 68  osed.  If the ch
4320: 61 6e 6e 65 6c 20 68 61 6e 64 6c 65 72 20 67 65  annel handler ge
4330: 74 73 20 74 72 69 67 67 65 72 65 64 20 69 6e 0a  ts triggered in.
4340: 09 74 68 69 73 20 68 61 6c 66 2d 6f 70 65 6e 20  .this half-open 
4350: 73 74 61 74 65 20 69 74 20 69 73 20 61 73 73 6f  state it is asso
4360: 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20  ciated with the 
4370: 73 75 70 65 72 63 65 65 64 65 64 0a 09 63 68 61  superceeded..cha
4380: 6e 6e 65 64 6c 2c 20 62 75 74 20 75 73 65 73 20  nnedl, but uses 
4390: 69 74 73 20 70 72 69 76 61 74 65 20 70 6f 69 6e  its private poin
43a0: 74 65 72 20 74 6f 20 74 68 65 20 6d 61 69 6e 20  ter to the main 
43b0: 63 68 61 6e 6e 65 6c 2c 20 77 68 69 63 68 0a 09  channel, which..
43c0: 69 73 20 6d 6f 73 74 6c 79 20 64 65 73 74 72 6f  is mostly destro
43d0: 79 65 64 2e 20 20 45 6c 69 6d 69 6e 61 74 65 64  yed.  Eliminated
43e0: 20 74 68 65 20 72 65 64 75 6e 64 61 6e 74 20 63   the redundant c
43f0: 61 6c 6c 20 74 6f 0a 09 54 63 6c 5f 4e 6f 74 69  all to..Tcl_Noti
4400: 66 79 43 68 61 6e 6e 65 6c 20 66 72 6f 6d 20 54  fyChannel from T
4410: 6c 73 57 61 74 63 68 50 72 6f 63 2e 20 5b 42 75  lsWatchProc. [Bu
4420: 67 3a 20 35 36 32 33 5d 0a                       g: 5623].