Commit 71e4f824 authored by Till Brehm's avatar Till Brehm

Change of last commit.

parent 27ba5e70
......@@ -74,6 +74,10 @@ if($type == 'create_dkim' && $domain_id != ''){
} else {
$selector = 'invalid domain or selector';
}
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";
$selector = $dkim_selector;
} else {
unset($dkim_public);
exec('echo '.escapeshellarg($dkim_private).'|openssl rsa -pubout -outform PEM 2> /dev/null',$pubkey,$result);
......
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