Tk Library Source Code

View Ticket
Login
Ticket UUID: 440051
Title: latest sha1 test suite fails
Type: Bug Version: None
Submitter: lvirden Created on: 2001-07-10 13:56:40
Subsystem: None Assigned To: andreas_kupries
Priority: 3 Low Severity:
Status: Closed Last Modified: 2001-08-21 03:36:52
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2001-08-20 20:36:52
Description:
Note: I don't see sha1 listed in the sf tcllib project
categories.

I downloaded the latest tcllib snapshot from scriptics
on July 10, 2001 at 9:30 AM EDT.

when I run the test from the top level directory, I get
this error.

Module: sha1
modules/sha1/sha1.test
sha1 1.0 (pure Tcl)

==== sha1-1.0 sha1 FAILED
==== Contents of test case:

    catch {::sha1::sha1} result
    set result

---- Result was:
wrong # args: should be "::sha1::sha1 msg"
---- Result should have been (exact matching):
no value given for parameter "msg" to "::sha1::sha1"
==== sha1-1.0 FAILED

==== sha1-1.1 sha1 FAILED
==== Contents of test case:

    catch {::sha1::hmac} result
    set result

---- Result was:
wrong # args: should be "::sha1::hmac key text"
---- Result should have been (exact matching):
no value given for parameter "key" to "::sha1::hmac"
==== sha1-1.1 FAILED

==== sha1-1.2 sha1 FAILED
==== Contents of test case:

    catch {::sha1::hmac key} result
    set result

---- Result was:
wrong # args: should be "::sha1::hmac key text"
---- Result should have been (exact matching):
no value given for parameter "text" to "::sha1::hmac"
==== sha1-1.2 FAILED
User Comments: andreas_kupries added on 2001-08-21 03:36:52:
Logged In: YES 
user_id=75003

Patch committed to HEAD.

andreas_kupries added on 2001-08-21 03:32:28:

File Added - 9753: 440051.diff

Logged In: YES 
user_id=75003

The reference is #440046.
Added patch fixing the problem.

andreas_kupries added on 2001-07-11 07:29:37:
Logged In: YES 
user_id=75003

See #440064. Essentially a duplicate.

Attachments: