[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp

Jan Holesovsky kendy at collabora.com
Wed Nov 29 19:07:58 UTC 2017


 wsd/LOOLWSD.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5032529cb989b04575686c9c6eea1d15b556210e
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Nov 29 20:05:28 2017 +0100

    Don't crash when ssl.cipher_list is not present in loolwsd.xml.
    
    Change-Id: I3834550328ebd8627fc130c6ac2d0fccd2505311
    Reviewed-on: https://gerrit.libreoffice.org/45525
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 102670e7..622396f7 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -927,7 +927,7 @@ void LOOLWSD::initializeSSL()
     const auto ssl_ca_file_path = getPathFromConfig("ssl.ca_file_path");
     LOG_INF("SSL CA file: " << ssl_ca_file_path);
 
-    const auto ssl_cipher_list = getPathFromConfig("ssl.cipher_list");
+    const auto ssl_cipher_list = config().getString("ssl.cipher_list", "");
     LOG_INF("SSL Cipher list: " << ssl_cipher_list);
 
 #if ENABLE_SSL


More information about the Libreoffice-commits mailing list