From 9592bfd0dda7c575de07bce2c7a81b8432d845a4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 28 Jul 2021 23:45:20 +0000 Subject: Huge incompatible changes. - Obsolete skalibs/environ.h and skalibs/getpeereid.h removed. - rc4 and md5 removed. - All *_t types renamed to avoid treading on POSIX namespace. - subgetopt() renamed to lgetopt(). - signal functions reworked; skasigaction removed; sig_stack removed - Various functions removed: skaoffsetof(), selfpipe_untrap() - New posixplz function: munmap_void. Signed-off-by: Laurent Bercot --- src/libstdcrypto/sha256_update.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libstdcrypto/sha256_update.c') diff --git a/src/libstdcrypto/sha256_update.c b/src/libstdcrypto/sha256_update.c index 70322ee..4eb44fc 100644 --- a/src/libstdcrypto/sha256_update.c +++ b/src/libstdcrypto/sha256_update.c @@ -5,6 +5,5 @@ void sha256_update (SHA256Schedule *ctx, char const *buf, size_t len) { - size_t i = 0 ; - for (; i < len ; i++) sha256_feed(ctx, (unsigned char)buf[i]) ; + for (size_t i = 0 ; i < len ; i++) sha256_feed(ctx, (unsigned char)buf[i]) ; } -- cgit v1.3.1