From b66cda78b28798ae04a888b0b8d3a1486472f626 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 8 Nov 2022 10:31:42 +0100 Subject: libmd: Remove extra digest copy in SHA256_Final() The extra digest copy was introduced by an erroneous merge conflict resolution for commit "crypto routines: Hint minimum buffer sizes to the compiler". --- cpukit/libmd/sha256c.c | 1 - 1 file changed, 1 deletion(-) (limited to 'cpukit/libmd/sha256c.c') diff --git a/cpukit/libmd/sha256c.c b/cpukit/libmd/sha256c.c index 563f9e2099..8d8a2a467a 100644 --- a/cpukit/libmd/sha256c.c +++ b/cpukit/libmd/sha256c.c @@ -291,7 +291,6 @@ SHA256_Final(unsigned char digest[static SHA256_DIGEST_LENGTH], SHA256_CTX *ctx) SHA256_Pad(ctx); /* Write the hash */ - be32enc_vect(digest, ctx->state, 32); be32enc_vect(digest, ctx->state, SHA256_DIGEST_LENGTH); /* Clear the context state */ -- cgit v1.2.3