#471 closed defect (fixed)
message-digest tests fail
Reported by: | Christian Kellermann | Owned by: | Kon Lovett |
---|---|---|---|
Priority: | major | Milestone: | 4.9.0 |
Component: | extensions | Version: | 4.6.x |
Keywords: | Cc: | ||
Estimated difficulty: |
Description
The first one does fail with older chickens as well (and the tagged releases):
-- testing Message Digest u32-be Source -------------------------------------- (message-digest-update-u32-be md 2729624274.0) ....................... [ERROR] Error: bad argument type - not an integer: 2729624274.0 (finalize-message-digest md) ......................................... [ FAIL] expected "a2b2c2d200" but got "0000000000" 2 tests completed in 0.007 seconds. 1 failure (50.0%). 1 error (50.0%). 0 out of 2 (0%) tests passed. -- done testing Message Digest u32-be Source ---------------------------------
From my understanding the input is too large for a fixnum. Did this ever work?
This one passes on older chickens but with a git experimental it fails:
-- testing Message Digest Make (DEPRECATED) ---------------------------------- (make-binary-message-digest simple-src make-context digest-leng... ... [ERROR] Error: unbound variable: make-context (make-binary-message-digest simple-src make-context digest-length init update final) (make-message-digest simple-src make-context digest-length init... ... [ERROR] Error: unbound variable: make-context 2 tests completed in 0.002 seconds. 2 errors (100%). 0 out of 2 (0%) tests passed. -- done testing Message Digest Make (DEPRECATED) -----------------------------
Hope this helps...
Christian
Change History (5)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
... From my understanding the input is too large for a fixnum. Did this ever work? ...
I remember no errors. The problem is because the foreign type `integer64' is not accepting the flonum-integer.
... This one passes on older chickens but with a git experimental it fails: ...
It should have failed in every Chicken release. (Fixed.)
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I am closing this for now as "fixed" even though values larger than fixnum are still not accepted. I will just make a note in doc.
This is still valid for 4.6.0 and 4.6.4