AmendHub

Download (as of this amendment):

jcs

/

subtext

/

amendments

/

619

sha1: Fix SHA1Data which is unused


jcs made amendment 619 11 months ago
--- sha1.c Mon Jul 11 09:07:19 2022 +++ sha1.c Thu Dec 11 17:58:57 2025 @@ -213,7 +213,7 @@ SHA1Data(const u_int8_t *data, size_t len, char *buf) SHA1Init(&ctx); SHA1Update(&ctx, data, len); - SHA1Final((u_int8_t *)&buf, &ctx); + SHA1Final((u_int8_t *)buf, &ctx); return buf; } \ No newline at end of file