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 mailing list Pan-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/pan-devel