Commit e1900994 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

src/ChangeLog: Fix last entry.

parent 3eaff834
2011-05-28 Jim Meyering <>
avoid a sign-extension bug in crypto_hash_function
Avoid a sign-extension bug in crypto_hash_function.
* fns.c (to_uchar): Define.
(crypto_hash_function): Use it to convert some newly-signed
variables to unsigned, to avoid sign-extension bugs. For example,
without this change, (md5 "truc") would evaluate to
45723a2aff78ff4fff7fff1114760e62 rather than the expected
45723a2af3788c4ff17f8d1114760e62. Reported by Antoine Levitt in
2011-05-27 Paul Eggert <>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment