Fossil SCM

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

danield 2026-10-16 14:10 UTC trunk
Commit f1df16fc39c50fb0672c468466a6ca892e97a22ee4a4dfcbdf1a36fe91b25317
2 files changed +1 -1 +6 -3
+1 -1
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1455,11 +1455,11 @@
14551455
int bFromIsDir = 0; /* True if zFrom is a directory name */
14561456
14571457
isGDiff = g.argv[1][0]=='g';
14581458
if( find_option("tk",0,0)!=0
14591459
|| has_option("tclsh")
1460
- || gdiff_using_tk(isGDiff)
1460
+ /* || gdiff_using_tk(isGDiff) */
14611461
){
14621462
diff_tk("diff", 2);
14631463
return;
14641464
}
14651465
zFrom = find_option("from", "r", 1);
14661466
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1455,11 +1455,11 @@
1455 int bFromIsDir = 0; /* True if zFrom is a directory name */
1456
1457 isGDiff = g.argv[1][0]=='g';
1458 if( find_option("tk",0,0)!=0
1459 || has_option("tclsh")
1460 || gdiff_using_tk(isGDiff)
1461 ){
1462 diff_tk("diff", 2);
1463 return;
1464 }
1465 zFrom = find_option("from", "r", 1);
1466
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1455,11 +1455,11 @@
1455 int bFromIsDir = 0; /* True if zFrom is a directory name */
1456
1457 isGDiff = g.argv[1][0]=='g';
1458 if( find_option("tk",0,0)!=0
1459 || has_option("tclsh")
1460 /* || gdiff_using_tk(isGDiff) */
1461 ){
1462 diff_tk("diff", 2);
1463 return;
1464 }
1465 zFrom = find_option("from", "r", 1);
1466
+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