also write error message to the log

This commit is contained in:
Bjoern Schiessle 2013-08-01 13:51:33 +02:00
parent cfbdad9cdb
commit 7aeb0068be
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}