aboutsummaryrefslogtreecommitdiffstats
path: root/smime
diff options
context:
space:
mode:
Diffstat (limited to 'smime')
-rw-r--r--smime/lib/e-cert-db.c2
-rw-r--r--smime/lib/e-cert.c2
-rw-r--r--smime/lib/e-pkcs12.c4
3 files changed, 3 insertions, 5 deletions
diff --git a/smime/lib/e-cert-db.c b/smime/lib/e-cert-db.c
index faae2182c7..13185db3eb 100644
--- a/smime/lib/e-cert-db.c
+++ b/smime/lib/e-cert-db.c
@@ -913,7 +913,7 @@ e_cert_db_import_email_cert (ECertDB *certdb,
rv = FALSE;
goto loser;
}
- srv = CERT_SaveSMimeProfile(cert, NULL, NULL);
+ CERT_SaveSMimeProfile(cert, NULL, NULL);
PORT_Free(rawCerts);
loser:
if (cert)
diff --git a/smime/lib/e-cert.c b/smime/lib/e-cert.c
index 1b16d238a8..adf790af7e 100644
--- a/smime/lib/e-cert.c
+++ b/smime/lib/e-cert.c
@@ -990,8 +990,6 @@ process_name (CERTName *name, gchar **value)
rdns = name->rdns;
- lastRdn = rdns;
-
/* find last RDN */
lastRdn = rdns;
while (*lastRdn) lastRdn++;
diff --git a/smime/lib/e-pkcs12.c b/smime/lib/e-pkcs12.c
index 3a2122bb0f..af8aedae9d 100644
--- a/smime/lib/e-pkcs12.c
+++ b/smime/lib/e-pkcs12.c
@@ -222,8 +222,8 @@ prompt_for_password (gchar *title, gchar *prompt, SECItem *pwd)
*outptr++ = ((gchar *) &c)[1];
}
- *outptr++ = 0;
- *outptr++ = 0;
+ outptr[0] = 0;
+ outptr[1] = 0;
memset (passwd, 0, strlen (passwd));
g_free (passwd);