https://bugs.contribs.org/show_bug.cgi?id=8685
--- Comment #12 from Terry Fage <[email protected]> ---
The ereg error is mostly fixed already just this section
# https://github.com/radicand/phpki/issues/14
if (ereg('E-mail Protection', $certtext) && ereg('Code Signing',
$certtest)) {
$cert_type = 'email_signing';
}
if (ereg('E-mail Protection', $certtext)) {
$cert_type = 'email';
}
#Remove temporary openssl config file.
if (file_exists($cnf_file)) unlink($cnf_file);
if ($ret == 0) {
return array(true, $serial);
}
else {
# Not successful, so clean up before exiting.
CA_remove_cert($serial);
if (eregi_array('.*private key.*',$cmd_output))
$cmd_output[] = '<strong>This was likely caused by
entering the wrong certificate password.</strong>';
else
$cmd_output[] = '<strong>Click on the "Help" link above
for information on how to report this problem.</strong>';
return array(false, implode('<br>',$cmd_output));
}
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/