Commit 3ccd8ef8 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix copy/paste bug discovered/reported by gcc version 11.2.0

... in debug print statement (MD5 hast decoded/printed as SHA-1 hash).

Reported by Nelgin running gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1)
parent 0518ac10
Pipeline #3085 passed with stage
in 10 minutes and 54 seconds
......@@ -514,7 +514,7 @@ int main(int argc, char **argv)
printf("%-10s: %s\n", "MD5", MD5_hex(str,hashes[h]->data.md5));
printf("%-10s: %s\n", "SHA-1", SHA1_hex(str,hashes[h]->data.md5));
printf("%-10s: %s\n", "SHA-1", SHA1_hex(str,hashes[h]->data.sha1));
Supports Markdown
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