Fix build WITH_TLS=no
This commit is contained in:
parent
9ad5fe7d95
commit
5941291bd5
@ -442,7 +442,6 @@ int net__tls_load_verify(struct mosquitto__listener *listener)
|
||||
{
|
||||
#ifdef WITH_TLS
|
||||
ENGINE *engine = NULL;
|
||||
#endif
|
||||
int rc;
|
||||
|
||||
rc = SSL_CTX_load_verify_locations(listener->ssl_ctx, listener->cafile, listener->capath);
|
||||
@ -546,6 +545,7 @@ int net__tls_load_verify(struct mosquitto__listener *listener)
|
||||
return rc;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return MOSQ_ERR_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user