fix reading of private key

This commit is contained in:
Thomas Müller 2015-04-14 12:23:25 +02:00
parent ffa115b517
commit f816acde27
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ class Crypt {
if (!empty($header)) {
$privateKey = substr($privateKey,
strpos($privateKey,
self::HEADER_END) + strlen(self::HEADER_START));
self::HEADER_END) + strlen(self::HEADER_END));
}
$plainKey = $this->symmetricDecryptFileContent($privateKey,