diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-08 12:50:03 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-08 12:54:03 +0200 |
commit | 9dc36589ae69f2938469b854b21ba1738469798b (patch) | |
tree | eb001207a38b90a11144273cc7bd734198c27d6c /autogen.sh | |
parent | 0529b864b0b2ababd799ee18faf486dbcce68b97 (diff) | |
download | calcurse-9dc36589ae69f2938469b854b21ba1738469798b.tar.gz calcurse-9dc36589ae69f2938469b854b21ba1738469798b.zip |
Fix SHA1 calculation of long notes
sha1_update() modifies the input data, so we need to duplicate the input
before calculating the hash. Otherwise, input data longer than 64 bytes
will be garbled.
Reported-by: Hakan Jerning <jerning@home.se>
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions