drop openssl support as well, only use GNUTLS.
[apps/madmutt.git] / lib-sys / mutt_ssl_gnutls.c
index 9c155ea..d266358 100644 (file)
@@ -10,8 +10,6 @@
 
 #include <lib-lib/lib-lib.h>
 
-#ifdef USE_GNUTLS
-
 #include <gnutls/gnutls.h>
 #include <gnutls/x509.h>
 #ifdef HAVE_GNUTLS_OPENSSL_H
@@ -23,7 +21,6 @@
 
 #include "mutt.h"
 #include "mutt_socket.h"
-#include "mutt_ssl.h"
 
 typedef struct _tlssockdata {
   gnutls_session state;
@@ -782,5 +779,3 @@ static int tls_check_certificate (CONNECTION * conn)
   gnutls_x509_crt_deinit (cert);
   return (done == 2);
 }
-
-#endif /* USE_GNUTLS */