Use of --ciphers no longer requires you to also pass --tls-version.
Closes #380. Bug: https://github.com/eclipse/mosquitto/issues/380
This commit is contained in:
parent
ebad302119
commit
10c89751fa
@ -8,6 +8,10 @@ Broker:
|
|||||||
- Fix error message when websockets http_dir directory does not exist.
|
- Fix error message when websockets http_dir directory does not exist.
|
||||||
- Improve password utility error message. Closes #379.
|
- Improve password utility error message. Closes #379.
|
||||||
|
|
||||||
|
Clients:
|
||||||
|
- Use of --ciphers no longer requires you to also pass --tls-version.
|
||||||
|
Closes #380.
|
||||||
|
|
||||||
Client library:
|
Client library:
|
||||||
- Clients can now use TLS with IPv6.
|
- Clients can now use TLS with IPv6.
|
||||||
- Fix potential socket leakage when reconnecting. Closes #304.
|
- Fix potential socket leakage when reconnecting. Closes #304.
|
||||||
|
@ -690,7 +690,7 @@ int client_opts_set(struct mosquitto *mosq, struct mosq_config *cfg)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
if(cfg->tls_version && mosquitto_tls_opts_set(mosq, 1, cfg->tls_version, cfg->ciphers)){
|
if((cfg->tls_version || cfg->ciphers) && mosquitto_tls_opts_set(mosq, 1, cfg->tls_version, cfg->ciphers)){
|
||||||
if(!cfg->quiet) fprintf(stderr, "Error: Problem setting TLS options.\n");
|
if(!cfg->quiet) fprintf(stderr, "Error: Problem setting TLS options.\n");
|
||||||
mosquitto_lib_cleanup();
|
mosquitto_lib_cleanup();
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user