Summary
message-digest tests fail
Metadata
- Id: be2c098c8d7f2ee07a3f3c70134f869dcc876237
- Trac id: 471
- Type: defect
- Reporter: ckeen
- Owner: kon
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: 4.9.0
- Version: 4.6.x
- Changetime: 2012-09-24 21:47:48 UTC
- Created: 2011-01-04 18:21:45 UTC
- Keywords:
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
Changes and comments
[2011-01-07 19:04:05 UTC] ckeen wrote:
This is still valid for 4.6.0 and 4.6.4
[2011-01-13 23:02:35 UTC] kon wrote:
... 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.)
[2011-01-13 23:38:24 UTC] kon changed status from new to closed
[2011-01-13 23:38:24 UTC] kon set resolution to fixed
[2011-01-13 23:38:24 UTC] kon wrote:
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.
[2011-06-01 09:00:41 UTC] felix changed milestone from 4.7.0 to 4.8.0
[2011-06-01 09:00:41 UTC] felix wrote:
Milestone 4.7.0 deleted
[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0
[2012-09-24 21:47:48 UTC] felix wrote:
Milestone 4.8.0 deleted