bdce3e3
diff -up openwsman-2.6.5/src/server/shttpd/shttpd.c.orig openwsman-2.6.5/src/server/shttpd/shttpd.c
bdce3e3
--- openwsman-2.6.5/src/server/shttpd/shttpd.c.orig	2018-02-21 10:53:24.964163710 +0100
bdce3e3
+++ openwsman-2.6.5/src/server/shttpd/shttpd.c	2018-02-21 10:53:31.854162875 +0100
bdce3e3
@@ -1541,7 +1541,7 @@ set_ssl(struct shttpd_ctx *ctx, const ch
bdce3e3
 
bdce3e3
 	if (ssl_cipher_list) {
bdce3e3
           int rc = SSL_CTX_set_cipher_list(CTX, ssl_cipher_list);
bdce3e3
-          if (rc != 0) {
bdce3e3
+          if (rc != 1) {
bdce3e3
             _shttpd_elog(E_LOG, NULL, "Failed to set SSL cipher list \"%s\"", ssl_cipher_list);
bdce3e3
           }
bdce3e3
         }