[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pan-devel] Cannot compile without GNU_TLS
From: |
Martijn Lievaart |
Subject: |
[Pan-devel] Cannot compile without GNU_TLS |
Date: |
Mon, 04 Jun 2012 23:35:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
I needed to change:
diff --git a/pan/gui/gui.h b/pan/gui/gui.h
index bde4822..b9d7ff5 100644
--- a/pan/gui/gui.h
+++ b/pan/gui/gui.h
@@ -77,7 +77,11 @@ namespace pan
std::string cert_name;
int nr;
GUI* gui;
- void deinit_cert() { gnutls_x509_crt_deinit(cert); }
+ void deinit_cert() {
+#ifdef HAVE_GNUTLS
+ gnutls_x509_crt_deinit(cert);
+#endif
+ }
};
public: // ActionManager
to compile.
Cheers,
M4
- [Pan-devel] Cannot compile without GNU_TLS,
Martijn Lievaart <=