diff options
Diffstat (limited to 'aclk/aclk_lws_wss_client.c')
-rw-r--r-- | aclk/aclk_lws_wss_client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/aclk/aclk_lws_wss_client.c b/aclk/aclk_lws_wss_client.c index 9b29188a76..9317d835b5 100644 --- a/aclk/aclk_lws_wss_client.c +++ b/aclk/aclk_lws_wss_client.c @@ -322,6 +322,10 @@ int aclk_lws_wss_connect(char *host, int port) #else i.ssl_connection = LCCSCF_USE_SSL; #endif +#if defined(HAVE_X509_VERIFY_PARAM_set1_host) && HAVE_X509_VERIFY_PARAM_set1_host == 0 +#warning DISABLING SSL HOSTNAME VALIDATION BECAUSE IT IS NOT AVAILABLE ON THIS SYSTEM. + i.ssl_connection |= LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK; +#endif lws_client_connect_via_info(&i); return 0; } |