I solved some issue with Cryptographic Issues

This commit is contained in:
Paula V. Quispe
2015-03-25 16:22:18 -04:00
parent cea690ce68
commit f402d00446
8 changed files with 17 additions and 17 deletions

View File

@@ -713,7 +713,7 @@ class zip_file extends archive
} elseif ($fp = @fopen( $current['name'], "rb" )) {
$temp = fread( $fp, $current['stat'][7] );
fclose( $fp );
$crc32 = crc32( $temp );
$crc32 = G::encryptCrc32( $temp );
if (! isset( $current['method'] ) && $this->options['method'] == 1) {
$temp = gzcompress( $temp, $this->options['level'] );
$size = strlen( $temp ) - 6;