also write error message to the log
This commit is contained in:
parent
cfbdad9cdb
commit
7aeb0068be
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue