report failure to generate keys
This commit is contained in:
@@ -113,6 +113,11 @@ function register_post(&$a) {
|
|||||||
|
|
||||||
// Get private key
|
// Get private key
|
||||||
|
|
||||||
|
if(empty($res)) {
|
||||||
|
notice( t('SERIOUS ERROR: Generation of security keys failed.') . EOL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$prvkey = '';
|
$prvkey = '';
|
||||||
|
|
||||||
openssl_pkey_export($res, $prvkey);
|
openssl_pkey_export($res, $prvkey);
|
||||||
|
|||||||
Reference in New Issue
Block a user