Browse Source

mosquitto: auto-disable TLS-PSK support if not available

OpenSSL grew the ability to turn off TLS-PSK support.  Make sure that
mosquitto turns on/off TLS-PSK support based on this OpenSSL config.

Fixes https://github.com/openwrt/packages/issues/5633
Signed-off-by: Karl Palsson <karlp@etactica.com>
lilik-openwrt-22.03
Karl Palsson 7 years ago
parent
commit
055be639b3
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      net/mosquitto/Makefile

+ 3
- 1
net/mosquitto/Makefile View File

@ -60,7 +60,8 @@ endef
define Package/mosquitto-ssl/description
$(call Package/mosquitto/default/description)
This package is built with SSL support
This package is built with SSL support. TLS-PSK will be included (in both
the client and broker) if OpenSSL is built with TLS-PSK support.
endef
define Package/mosquitto-nossl/description
@ -218,6 +219,7 @@ ifeq ($(BUILD_VARIANT),nossl)
MAKE_FLAGS += WITH_TLS=no WITH_WEBSOCKETS=no
else
MAKE_FLAGS += WITH_WEBSOCKETS=$(if $(CONFIG_MOSQUITTO_LWS),"yes","no")
MAKE_FLAGS += WITH_TLS_PSK=$(if $(CONFIG_OPENSSL_WITH_PSK),"yes","no")
endif
$(eval $(call BuildPackage,mosquitto-ssl))


Loading…
Cancel
Save