Fossil SCM
Update the comment on SHA1 code with the upstream commit hash and date.
Commit
ebbb8a084b47f9c83a27ed2215a21abbd15332c741cd745a8ecf94eb76dee399
Parent
d243deba6a63cf4…
1 file changed
+6
-3
+6
-3
| --- src/sha1.c | ||
| +++ src/sha1.c | ||
| @@ -19,16 +19,19 @@ | ||
| 19 | 19 | */ |
| 20 | 20 | #include "config.h" |
| 21 | 21 | #include "sha1.h" |
| 22 | 22 | |
| 23 | 23 | /* |
| 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 | |
| 26 | 27 | ** |
| 27 | 28 | ** https://github.com/cr-marcstevens/sha1collisiondetection |
| 28 | 29 | ** |
| 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 | |
| 30 | 33 | ** and makeheaders. |
| 31 | 34 | */ |
| 32 | 35 | #if INTERFACE |
| 33 | 36 | typedef void(*collision_block_callback)(uint64_t, const uint32_t*, |
| 34 | 37 | const uint32_t*, const uint32_t*, const uint32_t*); |
| 35 | 38 |
| --- 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 |