Fixed build for openssl compiled with OPENSSL_NO_ENGINE.

Closes #2589. Thanks to Dirk Feytons.
pull/2621/head
Roger A. Light 3 years ago
parent a146c218ad
commit 8c0600c40c

@ -55,6 +55,7 @@ Broker:
- Fix mosquitto_plugin.h not including mosquitto_broker.h. Closes #2350. - Fix mosquitto_plugin.h not including mosquitto_broker.h. Closes #2350.
- Fix unlimited message quota not being properly checked for incoming - Fix unlimited message quota not being properly checked for incoming
messages. Closes #2593. messages. Closes #2593.
- Fixed build for openssl compiled with OPENSSL_NO_ENGINE. Closes #2589.
Client library: Client library:
- Initialise sockpairR/W to invalid in `mosquitto_reinitialise()` to avoid - Initialise sockpairR/W to invalid in `mosquitto_reinitialise()` to avoid

@ -602,9 +602,11 @@ int net__tls_load_verify(struct mosquitto__listener *listener)
} }
# endif # endif
# if !defined(OPENSSL_NO_ENGINE)
if(net__load_engine(listener)){ if(net__load_engine(listener)){
return MOSQ_ERR_TLS; return MOSQ_ERR_TLS;
} }
# endif
#endif #endif
return net__load_certificates(listener); return net__load_certificates(listener);
} }

Loading…
Cancel
Save