3 @@ -509,9 +509,10 @@ int main(int argc, char **argv) {
5 info.ssl_cert_filepath = cert_path;
6 info.ssl_private_key_filepath = key_path;
7 - if (strlen(ca_path) > 0)
8 + if (strlen(ca_path) > 0) {
9 info.ssl_ca_filepath = ca_path;
10 info.options |= LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT;
12 #if LWS_LIBRARY_VERSION_MAJOR >= 2
13 info.options |= LWS_SERVER_OPTION_REDIRECT_HTTP_TO_HTTPS;