also write error message to the log
This commit is contained in:
parent
cfbdad9cdb
commit
7aeb0068be
|
@ -241,6 +241,7 @@ class Helper {
|
|||
if(openssl_pkey_new(array('private_key_bits' => 4096))) {
|
||||
return true;
|
||||
} else {
|
||||
\OCP\Util::writeLog('Encryption library', 'openssl_pkey_new()fails: ' . openssl_error_string(), \OCP\Util::ERROR);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue