[147005] trunk/dports/graphics/poppler/files/patch-poppler-Decrypt.cc.diff
devans at macports.org
devans at macports.org
Wed Mar 23 00:32:42 PDT 2016
Revision: 147005
https://trac.macports.org/changeset/147005
Author: devans at macports.org
Date: 2016-03-23 00:32:41 -0700 (Wed, 23 Mar 2016)
Log Message:
-----------
poppler: fix a few more 64-bit integer constants (#50935).
Modified Paths:
--------------
trunk/dports/graphics/poppler/files/patch-poppler-Decrypt.cc.diff
Modified: trunk/dports/graphics/poppler/files/patch-poppler-Decrypt.cc.diff
===================================================================
--- trunk/dports/graphics/poppler/files/patch-poppler-Decrypt.cc.diff 2016-03-23 07:23:18 UTC (rev 147004)
+++ trunk/dports/graphics/poppler/files/patch-poppler-Decrypt.cc.diff 2016-03-23 07:32:41 UTC (rev 147005)
@@ -1,5 +1,5 @@
---- poppler/Decrypt.cc.orig 2016-03-20 08:07:57.000000000 -0700
-+++ poppler/Decrypt.cc 2016-03-20 08:10:40.000000000 -0700
+--- poppler/Decrypt.cc.orig 2016-03-23 00:18:38.000000000 -0700
++++ poppler/Decrypt.cc 2016-03-23 00:22:45.000000000 -0700
@@ -1444,22 +1444,22 @@
//------------------------------------------------------------------------
// SHA 384 and SHA 512 use the same sequence of eighty constant 64 bit words.
@@ -62,3 +62,26 @@
for (i = 0; i + 128 <= msgLen; i += 128) {
sha512HashBlock(msg + i, H);
+@@ -1620,14 +1620,14 @@
+ uint64_t H[8];
+ int blkLen, i;
+ //setting initial hash values
+- H[0] = 0xcbbb9d5dc1059ed8;
+- H[1] = 0x629a292a367cd507;
+- H[2] = 0x9159015a3070dd17;
+- H[3] = 0x152fecd8f70e5939;
+- H[4] = 0x67332667ffc00b31;
+- H[5] = 0x8eb44a8768581511;
+- H[6] = 0xdb0c2e0d64f98fa7;
+- H[7] = 0x47b5481dbefa4fa4;
++ H[0] = 0xcbbb9d5dc1059ed8ULL;
++ H[1] = 0x629a292a367cd507ULL;
++ H[2] = 0x9159015a3070dd17ULL;
++ H[3] = 0x152fecd8f70e5939ULL;
++ H[4] = 0x67332667ffc00b31ULL;
++ H[5] = 0x8eb44a8768581511ULL;
++ H[6] = 0xdb0c2e0d64f98fa7ULL;
++ H[7] = 0x47b5481dbefa4fa4ULL;
+ //SHA 384 will use the same sha512HashBlock function.
+ blkLen = 0;
+ for (i = 0; i + 128 <= msgLen; i += 128) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160323/8b4dc593/attachment.html>
More information about the macports-changes
mailing list