Closes #1250. Thanks to bmparr.
@ -1,3 +1,10 @@
1.6.2 - 201905xx
================
Broker:
- Fix build for WITH_TLS=no. Closes #1250.
1.6.1 - 20190426
@ -412,13 +412,13 @@ int net__socket_listen(struct mosquitto__listener *listener)
struct addrinfo hints;
struct addrinfo *ainfo, *rp;
char service[10];
int rc;
#ifndef WIN32
int ss_opt = 1;
#else
char ss_opt = 1;
#endif
#ifdef WITH_TLS
X509_STORE *store;
X509_LOOKUP *lookup;
ENGINE *engine = NULL;