mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 01:01:11 +08:00
Fix DH group not being set for TLS connections.
This meant ciphers using DHE couldn't be used. Closes #1925. Closes #1476. Thanks to Jonathan Sönnerup, Valerii Demeshko, and sectokia.
This commit is contained in:
parent
0d3512144f
commit
b7f0161f52
@ -1,6 +1,8 @@
|
||||
Broker:
|
||||
- Fix websockets connections on Windows blocking subsequent connections.
|
||||
Closes #1934.
|
||||
- Fix DH group not being set for TLS connections, which meant ciphers using
|
||||
DHE couldn't be used. Closes #1925. Closes #1476.
|
||||
|
||||
Apps:
|
||||
- Fix `mosquitto_passwd -U`
|
||||
|
@ -373,6 +373,9 @@ int net__tls_server_ctx(struct mosquitto__listener *listener)
|
||||
SSL_CTX_set_ecdh_auto(listener->ssl_ctx, 1);
|
||||
#endif
|
||||
#endif
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
SSL_CTX_set_dh_auto(listener->ssl_ctx, 1);
|
||||
#endif
|
||||
|
||||
#ifdef SSL_OP_NO_RENEGOTIATION
|
||||
SSL_CTX_set_options(listener->ssl_ctx, SSL_OP_NO_RENEGOTIATION);
|
||||
|
Loading…
x
Reference in New Issue
Block a user