summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gnutls.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gnutls.c b/src/gnutls.c
index bcccd7ffd37..9fbaea2f405 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -2435,6 +2435,8 @@ GnuTLS AEAD ciphers : the list will contain `AEAD-ciphers'. */)
{
Lisp_Object capabilities = Qnil;
+#ifdef HAVE_GNUTLS
+
# ifdef HAVE_GNUTLS3
capabilities = Fcons (intern("gnutls3"), capabilities);
@@ -2470,7 +2472,11 @@ GnuTLS AEAD ciphers : the list will contain `AEAD-ciphers'. */)
return capabilities;
-#endif
+#endif /* WINDOWSNT */
+
+#else /* !HAVE_GNUTLS */
+ return Qnil;
+#endif /* HAVE_GNUTLS */
}
void