Files
calcurse-edge/src/sha1.c
Lukas Fleischer 9dc36589ae 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>
2014-07-08 12:54:03 +02:00

7.2 KiB