Fossil SCM

Update the comment on SHA1 code with the upstream commit hash and date.

danield 2026-10-16 14:13 UTC trunk
Commit ebbb8a084b47f9c83a27ed2215a21abbd15332c741cd745a8ecf94eb76dee399
1 file changed +6 -3
+6 -3
--- src/sha1.c
+++ src/sha1.c
@@ -19,16 +19,19 @@
1919
*/
2020
#include "config.h"
2121
#include "sha1.h"
2222
2323
/*
24
-** SHA1 Implementation #1 is the hardened SHA1 implementation by
25
-** Marc Stevens. Code obtained from GitHub
24
+** This is the hardened SHA1 implementation by Marc Stevens (under MIT License).
25
+**
26
+** Code obtained from GitHub
2627
**
2728
** https://github.com/cr-marcstevens/sha1collisiondetection
2829
**
29
-** Downloaded on 2017-03-01 then repackaged to work with Fossil
30
+** at commit a06f1adbe5522f3c939cd6a3f13d5ec7f4c1a988 (2025-10-25).
31
+**
32
+** Downloaded on 2026-10-16 then repackaged to work with Fossil
3033
** and makeheaders.
3134
*/
3235
#if INTERFACE
3336
typedef void(*collision_block_callback)(uint64_t, const uint32_t*,
3437
const uint32_t*, const uint32_t*, const uint32_t*);
3538
--- src/sha1.c
+++ src/sha1.c
@@ -19,16 +19,19 @@
19 */
20 #include "config.h"
21 #include "sha1.h"
22
23 /*
24 ** SHA1 Implementation #1 is the hardened SHA1 implementation by
25 ** Marc Stevens. Code obtained from GitHub
 
26 **
27 ** https://github.com/cr-marcstevens/sha1collisiondetection
28 **
29 ** Downloaded on 2017-03-01 then repackaged to work with Fossil
 
 
30 ** and makeheaders.
31 */
32 #if INTERFACE
33 typedef void(*collision_block_callback)(uint64_t, const uint32_t*,
34 const uint32_t*, const uint32_t*, const uint32_t*);
35
--- src/sha1.c
+++ src/sha1.c
@@ -19,16 +19,19 @@
19 */
20 #include "config.h"
21 #include "sha1.h"
22
23 /*
24 ** This is the hardened SHA1 implementation by Marc Stevens (under MIT License).
25 **
26 ** Code obtained from GitHub
27 **
28 ** https://github.com/cr-marcstevens/sha1collisiondetection
29 **
30 ** at commit a06f1adbe5522f3c939cd6a3f13d5ec7f4c1a988 (2025-10-25).
31 **
32 ** Downloaded on 2026-10-16 then repackaged to work with Fossil
33 ** and makeheaders.
34 */
35 #if INTERFACE
36 typedef void(*collision_block_callback)(uint64_t, const uint32_t*,
37 const uint32_t*, const uint32_t*, const uint32_t*);
38

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button