also write error message to the log

remotes/origin/stable6
Bjoern Schiessle 11 years ago
parent cfbdad9cdb
commit 7aeb0068be
  1. 1
      apps/files_encryption/lib/helper.php

@ -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…
Cancel
Save