aboutsummaryrefslogtreecommitdiffstats
path: root/mail/openpgp-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-01-24 05:14:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-24 05:14:47 +0800
commit62a7c2c37017f209e2d9be12cf5ce19c16cb91d2 (patch)
treed135df45fc0b8c2b3f5136489bf04fee53b761dd /mail/openpgp-utils.c
parent4b207455eeec18dbaf3c6c448eb6d2d5d09d9490 (diff)
downloadgsoc2013-evolution-62a7c2c37017f209e2d9be12cf5ce19c16cb91d2.tar
gsoc2013-evolution-62a7c2c37017f209e2d9be12cf5ce19c16cb91d2.tar.gz
gsoc2013-evolution-62a7c2c37017f209e2d9be12cf5ce19c16cb91d2.tar.bz2
gsoc2013-evolution-62a7c2c37017f209e2d9be12cf5ce19c16cb91d2.tar.lz
gsoc2013-evolution-62a7c2c37017f209e2d9be12cf5ce19c16cb91d2.tar.xz
gsoc2013-evolution-62a7c2c37017f209e2d9be12cf5ce19c16cb91d2.tar.zst
gsoc2013-evolution-62a7c2c37017f209e2d9be12cf5ce19c16cb91d2.zip
A few minor tweaks.
2001-01-23 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c: * mail-crypto.c: A few minor tweaks. svn path=/trunk/; revision=7755
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);