The SSL_SERVER_VERIFY_* constants were incorrectly set on the httpclient
server verify. The right constants are SSL_SOCK_VERIFY_* .
This could cause issues when using "httpclient-ssl-verify" or when the
SSL certificates can't be loaded.
No backport needed
return -1;
if (strcmp(args[1],"none") == 0)
- httpclient_ssl_verify = SSL_SERVER_VERIFY_NONE;
+ httpclient_ssl_verify = SSL_SOCK_VERIFY_NONE;
else if (strcmp(args[1],"required") == 0)
- httpclient_ssl_verify = SSL_SERVER_VERIFY_REQUIRED;
+ httpclient_ssl_verify = SSL_SOCK_VERIFY_REQUIRED;
else {
ha_alert("parsing [%s:%d] : '%s' expects 'none' or 'required' as argument.\n", file, line, args[0]);
return -1;