nuttx-apps/netutils/libwebsockets/Kconfig
Tiago Medicci aec7cc74d4 netutils/libwebsockets: Remove hard dependency on mbedTLS
libwebsockets can be built without TLS support. To allow this, it
was necessary to create a specific Kconfig option that enables TLS
support if OPENSSL_MBEDTLS_WRAPPER is enabled. Otherwise, TLS is
not supported (but libwebsockets can still be used with plain ws://
connections).

Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
2026-06-17 10:47:17 +02:00

28 lines
691 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config NETUTILS_LIBWEBSOCKETS
bool "libwebsockets library (current version)"
default n
depends on NET
---help---
Enables the libwebsockets library.
if NETUTILS_LIBWEBSOCKETS
config NETUTILS_LIBWEBSOCKETS_VERSION
string "Version number"
default "4.3.1"
config NETUTILS_LIBWEBSOCKETS_TLS
bool "Enable TLS support"
default y
depends on OPENSSL_MBEDTLS_WRAPPER
---help---
Enable TLS in libwebsockets via the OpenSSL-mbedTLS
wrapper. Requires CONFIG_OPENSSL_MBEDTLS_WRAPPER.
When disabled, only plain ws:// connections are supported.
endif