Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Commit

Permalink
Feature: (trvrnrth) Work Item GH-261 - Add support for reading protec…
Browse files Browse the repository at this point in the history
…ted (RC4 encrypted) .xls files (tweaked for PHP 5.2 compatibility)
  • Loading branch information
Mark Baker committed Nov 28, 2013
1 parent 4570c52 commit c7a6431
Show file tree
Hide file tree
Showing 3 changed files with 190 additions and 198 deletions.
2 changes: 1 addition & 1 deletion Classes/PHPExcel/Reader/Excel5.php
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ private function _readFilepass()
substr($recordData, 38, 16),
$this->_md5Ctxt
)) {
throw new \Exception('Decryption password incorrect');
throw new PHPExcel_Reader_Exception('Decryption password incorrect');
}

$this->_encryption = self::MS_BIFF_CRYPTO_RC4;
Expand Down
Loading

0 comments on commit c7a6431

Please sign in to comment.