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