You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by pi...@apache.org on 2006/06/06 11:22:52 UTC

svn commit: r412052 - in /webservices/axis2/trunk/c/util/src/minizip: archive_extract.c axis2_crypt.h

Author: pini
Date: Tue Jun  6 02:22:51 2006
New Revision: 412052

URL: http://svn.apache.org/viewvc?rev=412052&view=rev
Log:
removed some warnings

Modified:
    webservices/axis2/trunk/c/util/src/minizip/archive_extract.c
    webservices/axis2/trunk/c/util/src/minizip/axis2_crypt.h

Modified: webservices/axis2/trunk/c/util/src/minizip/archive_extract.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/minizip/archive_extract.c?rev=412052&r1=412051&r2=412052&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/minizip/archive_extract.c (original)
+++ webservices/axis2/trunk/c/util/src/minizip/archive_extract.c Tue Jun  6 02:22:51 2006
@@ -259,7 +259,7 @@
       strncpy(filename_try, zipfilename,MAXFILENAME-1);
       filename_try[ MAXFILENAME ] = '\0';
       
-      axis2_fill_win32_filefunc(&ffunc);
+      fill_win32_filefunc(&ffunc);
       uf = AXIS2_UNZOPEN2(zipfilename,ffunc);
       if (uf==NULL)
       {

Modified: webservices/axis2/trunk/c/util/src/minizip/axis2_crypt.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/minizip/axis2_crypt.h?rev=412052&r1=412051&r2=412052&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/minizip/axis2_crypt.h (original)
+++ webservices/axis2/trunk/c/util/src/minizip/axis2_crypt.h Tue Jun  6 02:22:51 2006
@@ -46,19 +46,6 @@
 #define CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8))
 
 /***********************************************************************
- * Return the next byte in the pseudo-random sequence
- */
-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 */
-
-    temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2;
-    return (int)(((temp * (temp ^ 1)) >> 8) & 0xff);
-}
-
-/***********************************************************************
  * Update the encryption keys with the next byte of plain text
  */
 static int update_keys(unsigned long* pkeys,const unsigned long* pcrc_32_tab,int c)



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org