#472 closed defect (fixed)
sha1 egg breakage for newer chicken
| 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
After 4.6.4 on experimental the sha1 egg is broken due to removed 'pointer' FFI types. After replacing the 'pointer' with 'c-pointer' it compiles but tests fail. An excerpt:
(sha1-digest input)
        Individual byte 13[#x8]50 .................................... [ERROR]
            
Error: bad argument type - not a pointer: #${000000000000000000000000000800000000000000000000000000000000000000000000000000...
    (sha1-digest input)
        Individual byte 13[#x4]50 .................................... [ERROR]
I am not sure what's going on here, apart from that trunk is not different from the tagged version...
Change History (4)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
Works now after making the helper functions static.
Note: See
        TracTickets for help on using
        tickets.
    

Fixed in trunk, will make a new release shortly (should be scheme-pointer, not c-pointer).
Thanks for reporting!