diff mcabber/mcabber/pgp.h @ 2196:8811fe9d6ef0

Improve support for GnuPG v2+ If the gnupg engine detected is not 1.x, do not check the environment variable GPG_AGENT_INFO and do not set up a password callback.
author Mikael Berthe <mikael@lilotux.net>
date Wed, 07 Oct 2015 21:58:38 +0200
parents 84252c616919
children
line wrap: on
line diff
--- a/mcabber/mcabber/pgp.h	Wed Oct 07 21:55:51 2015 +0200
+++ b/mcabber/mcabber/pgp.h	Wed Oct 07 21:58:38 2015 +0200
@@ -9,6 +9,7 @@
 #include <gpgme.h>
 
 int   gpg_init(const char *priv_key, const char *passphrase);
+int   gpg_is_version1(void);
 void  gpg_terminate(void);
 void  gpg_set_passphrase(const char *passphrase);
 void  gpg_set_private_key(const char *priv_keyid);