<<< Date Index >>>     <<< Thread Index >>>

[PATCH] crypt-gpgme: don't use gpg_* directly



# HG changeset patch
# User Roman Kagan <rkagan@xxxxxxx>
# Date 1285320318 -14400
# Node ID 01731fb1884ea0e1eaf9008ea9c70804b66f2363
# Parent  f467353f5657d9504dc5924fefc804fadc586f57
crypt-gpgme: don't use gpg_* directly

Since mutt uses gpgme, it should access all gpg functionality via gpgme_*
interfaces.  Otherwise link problems (either link errors or unnecessary
dependencies) arise.

diff -r f467353f5657 -r 01731fb1884e crypt-gpgme.c
--- a/crypt-gpgme.c     Sat Mar 31 18:50:39 2007 -0700
+++ b/crypt-gpgme.c     Fri Sep 24 13:25:18 2010 +0400
@@ -1308,7 +1308,7 @@
       else if (err)
        {
          state_attach_puts (_("Error getting key information: "), s);
-         state_attach_puts ( gpg_strerror (err), s );
+         state_attach_puts ( gpgme_strerror (err), s );
          state_attach_puts ("\n", s);
          anybad = 1;
        }