summaryrefslogtreecommitdiffstats
path: root/rules/gnutls.in
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-01-26 10:41:23 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-01-29 20:36:01 +0100
commitb03c58945c39e741e79755388d384edc38f369ce (patch)
tree45fee1cd00a6a0915488ff3acbb048b6c3c830ce /rules/gnutls.in
parent231c1f4a8b7bbca22f946c0874ad9c38136bbab1 (diff)
downloadptxdist-b03c58945c39e741e79755388d384edc38f369ce.tar.gz
ptxdist-b03c58945c39e741e79755388d384edc38f369ce.tar.xz
gnutls: add support for openssl compatibility
This patch adds a openssl compatibility option to gnutls and install the gnutls openssl compatibility library if enabled. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gnutls.in')
-rw-r--r--rules/gnutls.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/rules/gnutls.in b/rules/gnutls.in
index 10a181e17..3a5bd3ac5 100644
--- a/rules/gnutls.in
+++ b/rules/gnutls.in
@@ -1,10 +1,11 @@
## SECTION=networking
-config GNUTLS
+menuconfig GNUTLS
tristate
select LIBGCRYPT
select LIBTASN1
- prompt "gnutls"
+ select OPENSSL if GNUTLS_OPENSSL
+ prompt "gnutls "
help
GnuTLS is a secure communications library implementing the SSL,
TLS and DTLS protocols and technologies around them.
@@ -13,3 +14,13 @@ config GNUTLS
APIs to parse and write X.509, PKCS #12, OpenPGP and other required
structures. It is aimed to be portable and efficient with focus on
security and interoperability.
+
+if GNUTLS
+
+config GNUTLS_OPENSSL
+ bool
+ prompt "openssl compatibility"
+ help
+ Enables the OpenSSL compatibility support.
+
+endif