diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-08-01 13:51:33 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-08-08 08:38:52 +0200 |
commit | 7aeb0068beeab6e2dbd129a13e2ccddac61c1c1b (patch) | |
tree | 0be1771267a3b773bc555f0a2508aebcf4db460b /apps/files_encryption/lib | |
parent | cfbdad9cdb5c978225af796c128e4ad7bd011eee (diff) | |
download | nextcloud-server-7aeb0068beeab6e2dbd129a13e2ccddac61c1c1b.tar.gz nextcloud-server-7aeb0068beeab6e2dbd129a13e2ccddac61c1c1b.zip |
also write error message to the log
Diffstat (limited to 'apps/files_encryption/lib')
-rwxr-xr-x | apps/files_encryption/lib/helper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php index d3d4afff912..cbc5de41c6b 100755 --- a/apps/files_encryption/lib/helper.php +++ b/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; } } |