Tcl Library Source Code

View Ticket
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.
Ticket UUID: 1386101
Title: rc4 critcl fails when used with channels
Type: Bug Version: None
Submitter: patthoyts Created on: 2005-12-20 12:13:47
Subsystem: rc4 Assigned To: patthoyts
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2005-12-21 19:41:08
Resolution: Fixed Closed By: patthoyts
    Closed on: 2005-12-21 12:41:08
Description:
As reported by RJ Bacon:
 package require rc4
 rc4::rc4 -key 01234567 -infile xxzzy.dat
will die.
The problem is that the key returned by RC4Init when
using critcl is not an array but we attempt to treat it
like on and upvar it.
User Comments: patthoyts added on 2005-12-21 19:40:02:
Logged In: YES 
user_id=202636

Fix now in CVS. Added tests to check the file/channel options.