Skip to content
Snippets Groups Projects
Commit 27ba5e70 authored by Till Brehm's avatar Till Brehm
Browse files

Fixed #5101 Issue with DKIM key generator

parent 70e865b3
No related branches found
No related tags found
No related merge requests found
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment