From dd924cd7cc3ef8c9da103d883dd784815e388976 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 15 Aug 2012 13:59:59 -0700 Subject: Fix last sha512.c change to avoid compiler warning. --- crypt/sha512.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypt') diff --git a/crypt/sha512.c b/crypt/sha512.c index bec7bb3515..0675c948c1 100644 --- a/crypt/sha512.c +++ b/crypt/sha512.c @@ -125,7 +125,7 @@ sha512_process_block (const void *buffer, size_t len, struct sha512_ctx *ctx) #else uint64_t lolen = len; ctx->total[TOTAL128_low] += lolen; - ctx->total[TOTAL128_high] += ((len >> 63 >> 1) + ctx->total[TOTAL128_high] += ((len >> 31 >> 31 >> 2) + (ctx->total[TOTAL128_low] < lolen)); #endif -- cgit v1.2.1