meta data are at the end of the file
This commit is contained in:
parent
e7ff84df5c
commit
61dd191253
|
@ -536,7 +536,7 @@ class Crypt {
|
||||||
* @throws HintException
|
* @throws HintException
|
||||||
*/
|
*/
|
||||||
private function hasSignature($catFile, $cipher) {
|
private function hasSignature($catFile, $cipher) {
|
||||||
$meta = substr($catFile, 93);
|
$meta = substr($catFile, -93);
|
||||||
$signaturePosition = strpos($meta, '00sig00');
|
$signaturePosition = strpos($meta, '00sig00');
|
||||||
|
|
||||||
// enforce signature for the new 'CTR' ciphers
|
// enforce signature for the new 'CTR' ciphers
|
||||||
|
|
Loading…
Reference in New Issue