[pan2] compile fix for gnutls



commit 1969d17f5bcf162c10df7f43b3f6d127217c09f4
Author: Heinrich MÃller <henmull src gnome org>
Date:   Tue Jun 5 18:30:05 2012 +0200

    compile fix for gnutls

 pan/gui/gui.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pan/gui/gui.h b/pan/gui/gui.h
index bde4822..09de6c3 100644
--- a/pan/gui/gui.h
+++ b/pan/gui/gui.h
@@ -77,7 +77,9 @@ namespace pan
         std::string cert_name;
         int nr;
         GUI* gui;
+#ifdef HAVE_GNUTLS
         void deinit_cert() { gnutls_x509_crt_deinit(cert); }
+#endif
       };
 
     public: // ActionManager



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]