Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
fixed a bug in SHS512 -- trunk
Browse files Browse the repository at this point in the history
git-svn-id: https://serveur-svn.lri.fr/svn/modhel/luatex/trunk@7090 0b2b3880-5936-4365-a048-eb17d2e5a6bf
  • Loading branch information
luigiScarso committed Feb 28, 2019
1 parent 3894e6f commit 74c1e9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/texk/web2c/luatexdir/luapplib/util/utilsha.c
Original file line number Diff line number Diff line change
Expand Up @@ -927,9 +927,9 @@ static void SHA512_Update(SHA512_CTX* context, const uint8_t *data, size_t len)
while (len >= SHA512_BLOCK_LENGTH) {
/* Process as many complete blocks as we can */
#if ARM_COMPLIANT
SHA512_Transform(context, (uint64_t*)((void *)context->buffer));
SHA512_Transform(context, (uint64_t*)((void *)data));
#else
SHA512_Transform(context, (uint64_t*)context->buffer);
SHA512_Transform(context, (uint64_t*)data);
#endif
ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3);
len -= SHA512_BLOCK_LENGTH;
Expand Down
2 changes: 1 addition & 1 deletion source/texk/web2c/luatexdir/luatex_svnversion.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define luatex_svn_revision 7087
#define luatex_svn_revision 7088

0 comments on commit 74c1e9c

Please sign in to comment.