aboutsummaryrefslogtreecommitdiffstats
path: root/mail/openpgp-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/openpgp-utils.c')
-rw-r--r--mail/openpgp-utils.c4
1 files changed, 1 insertions, 3 deletions
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);