fixes and simplifications
[apps/madmutt.git] / lib-sys / mutt_ssl.cpkg
index 1b9e5d1..4495153 100644 (file)
@@ -12,9 +12,6 @@
 
 #include <gnutls/gnutls.h>
 #include <gnutls/x509.h>
-#ifdef HAVE_GNUTLS_OPENSSL_H
-#include <gnutls/openssl.h>
-#endif
 
 #include <lib-ui/curses.h>
 #include <lib-ui/menu.h>
@@ -62,7 +59,7 @@
      ** the default from the GNUTLS library.
      */
 
-    path_t cert_file = m_strdup("~/.cache/madmutt/certificates");
+    path_t cert_file = luaM_pathnew("~/.cache/madmutt/certificates");
     /*
      ** .pp
      ** This variable specifies the file where the certificates you trust