summaryrefslogtreecommitdiff
path: root/ACE/contrib/minizip/crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/contrib/minizip/crypt.h')
-rw-r--r--ACE/contrib/minizip/crypt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ACE/contrib/minizip/crypt.h b/ACE/contrib/minizip/crypt.h
index 1d6da3d57ad..94d682073a4 100644
--- a/ACE/contrib/minizip/crypt.h
+++ b/ACE/contrib/minizip/crypt.h
@@ -1,5 +1,6 @@
/* crypt.h -- base code for crypt/uncrypt ZIPfile
+$Id$
Version 1.01e, February 12th, 2005
@@ -38,9 +39,9 @@ static int decrypt_byte(unsigned long* pkeys, const unsigned long* pcrc_32_tab)
unsigned temp; /* POTENTIAL BUG: temp*(temp^1) may overflow in an
* unpredictable manner on 16-bit systems; not a problem
* with any known compiler so far, though */
-
+
MINIZIP_UNUSED_ARG(pcrc_32_tab);
-
+
temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2;
return (int)(((temp * (temp ^ 1)) >> 8) & 0xff);
}