config BR2_PACKAGE_GNUTLS
	bool "gnutls"
	# https://gitlab.com/gnutls/gnutls/issues/203
	depends on !BR2_STATIC_LIBS
	depends on BR2_USE_WCHAR
	select BR2_PACKAGE_LIBTASN1
	select BR2_PACKAGE_LIBUNISTRING
	select BR2_PACKAGE_NETTLE
	help
	  GnuTLS is a secure communications library implementing the SSL
	  and TLS protocols and technologies around them.

	  https://www.gnutls.org/

if BR2_PACKAGE_GNUTLS

config BR2_PACKAGE_GNUTLS_OPENSSL
	bool "OpenSSL compatibility library"
	help
	  Install OpenSSL compatibility library.

config BR2_PACKAGE_GNUTLS_TOOLS
	bool "install tools"
	help
	  Install GnuTLS command line tools for various cryptographic
	  tasks.

config BR2_PACKAGE_GNUTLS_ENABLE_SSL2
	bool "enable SSLv2"
	help
	  Enable SSLv2 protocol.

config BR2_PACKAGE_GNUTLS_ENABLE_GOST
	bool "enable GOST"
	help
	  Enable GOST cipher.

endif

comment "gnutls needs a toolchain w/ wchar, dynamic library"
	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
