summaryrefslogtreecommitdiff
path: root/pith/smime.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/smime.c')
-rw-r--r--pith/smime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pith/smime.c b/pith/smime.c
index 05d41e7a..de1d76ba 100644
--- a/pith/smime.c
+++ b/pith/smime.c
@@ -2980,6 +2980,7 @@ free_smime_struct(SMIME_STUFF_S **smime)
(*smime)->personal_certs = NULL;
}
+#ifdef PASSFILE
if((*smime)->pwdcert){
PERSONAL_CERT *pc;
@@ -2987,6 +2988,7 @@ free_smime_struct(SMIME_STUFF_S **smime)
free_personal_certs(&pc);
(*smime)->pwdcert = NULL;
}
+#endif /* PASSFILE */
if((*smime)->privatecontent)
fs_give((void **) &(*smime)->privatecontent);