From 7aeb0068beeab6e2dbd129a13e2ccddac61c1c1b Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Thu, 1 Aug 2013 13:51:33 +0200 Subject: [PATCH] also write error message to the log --- apps/files_encryption/lib/helper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php index d3d4afff91..cbc5de41c6 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; } }