|
@@ -33,7 +33,7 @@ discard block |
|
|
block discarded – undo |
|
33
|
33
|
require_once("../inc/util.inc"); |
|
34
|
34
|
require_once("../inc/account_ownership.inc"); |
|
35
|
35
|
|
|
36
|
|
-if ( !function_exists('openssl_pkey_new') ) { |
|
|
36
|
+if (!function_exists('openssl_pkey_new')) { |
|
37
|
37
|
echo "WARNING: OpenSSL functions not available. Not generating account ownership keys.\n"; |
|
38
|
38
|
exit(1); |
|
39
|
39
|
} |
|
@@ -73,7 +73,7 @@ discard block |
|
|
block discarded – undo |
|
73
|
73
|
throw new Exception('Failed to generate account ownership keypair.'); |
|
74
|
74
|
} |
|
75
|
75
|
} catch (Exception $e) { |
|
76
|
|
- echo 'Caught exception during account ownership key generation: ', $e->getMessage(), "\n"; |
|
|
76
|
+ echo 'Caught exception during account ownership key generation: ', $e->getMessage(), "\n"; |
|
77
|
77
|
} |
|
78
|
78
|
} else { |
|
79
|
79
|
echo "The private and public keys already exist. Repeat the command with the 'overwrite' parameter to replace the existing ownership keys. \n"; |
Please login to merge, or discard this patch.