From 8ca8a587bcd44a94fbeb20a10461ee0fabdbcb34 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 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; } } -- 2.39.5