Revert unintentional commit

This commit is contained in:
Hadi Nategh 2018-10-25 18:23:36 +02:00
parent 16fe435de4
commit 9b993e5484

View File

@ -297,12 +297,6 @@ class Smime extends Horde_Crypt_Smime
} }
if ($acc_smime['acc_smime_password']) if ($acc_smime['acc_smime_password'])
{ {
$pass = explode('[[smime_passphrase]]', $acc_smime['acc_smime_password']);
if (is_array($pass)) {
$acc_smime['acc_smime_password'] = $pass[0];
$passphrase = $pass[1];
Api\Cache::setSession('mail', 'smime_passphrase', $passphrase);
}
$extracted = self::extractCertPKCS12( $extracted = self::extractCertPKCS12(
$acc_smime['acc_smime_password'], $acc_smime['acc_smime_password'],
$passphrase $passphrase