← Commit list

ddb1b8505

Denis Vlasenko
Denis Vlasenko
2009-03-12
FAILED Duration: 35s

Subject

add comment about sha testing

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/sha1.c+7 -1
@@ -19,7 +19,13 @@
*
* SHA256 and SHA512 parts are:
* Released into the Public Domain by Ulrich Drepper <[email protected]>.
- * TODO: shrink them.
+ * Shrank by Denys Vlasenko.
+ *
+ * ---------------------------------------------------------------------------
+ *
+ * The best way to test random blocksizes is to go to coreutils/md5_sha1_sum.c
+ * and replace "4096" with something like "2000 + time(NULL) % 2097",
+ * then rebuild and compare "shaNNNsum bigfile" results.
*/
#include "libbb.h"