Commit 27ba5e70 authored by Till Brehm's avatar Till Brehm

Fixed #5101 Issue with DKIM key generator

parent 70e865b3
......@@ -74,6 +74,7 @@ if($type == 'create_dkim' && $domain_id != ''){
} else {
$selector = 'invalid domain or selector';
}
} else {
unset($dkim_public);
exec('echo '.escapeshellarg($dkim_private).'|openssl rsa -pubout -outform PEM 2> /dev/null',$pubkey,$result);
foreach($pubkey as $values) $dkim_public=$dkim_public.$values."\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment