From 62a7c2c37017f209e2d9be12cf5ce19c16cb91d2 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 23 Jan 2001 21:14:47 +0000 Subject: A few minor tweaks. 2001-01-23 Jeffrey Stedfast * openpgp-utils.c: * mail-crypto.c: A few minor tweaks. svn path=/trunk/; revision=7755 --- mail/openpgp-utils.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mail/openpgp-utils.c') diff --git a/mail/openpgp-utils.c b/mail/openpgp-utils.c index 43252a890a..8a1d66c783 100644 --- a/mail/openpgp-utils.c +++ b/mail/openpgp-utils.c @@ -1013,7 +1013,7 @@ swrite (const char *data, int len) char *template; int fd; - template = g_strdup ("/tmp/gmime-crypto-XXXXXX"); + template = g_strdup ("/tmp/evolution-pgp.XXXXXX"); fd = mkstemp (template); if (fd == -1) { g_free (template); @@ -1033,7 +1033,6 @@ openpgp_verify (const gchar *in, gint inlen, const gchar *sigin, gint siglen, Ca char *cleartext = NULL; char *diagnostics = NULL; int passwd_fds[2]; - char passwd_fd[32]; char *sigfile = NULL; int retval, i, clearlen; gboolean valid = TRUE; @@ -1119,7 +1118,6 @@ openpgp_verify (const gchar *in, gint inlen, const gchar *sigin, gint siglen, Ca g_free (sigfile); } - /* FIXME: maybe we should always set an exception? */ if (retval != 0) { camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, "%s", diagnostics); -- cgit