summaryrefslogtreecommitdiff
path: root/pith/smime.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2014-04-09 16:53:03 -0600
committerEduardo Chappa <chappa@washington.edu>2014-04-09 16:53:03 -0600
commita2a86cd7f6d9cf3d6a88f3c6a005ff73f0b2341a (patch)
treee9113d18ff36fcaebc5b4cd0414f70d6e85b41a9 /pith/smime.c
parent7d34d6b88a46a8cf950dc6305fa3c781edd9d4f7 (diff)
downloadalpine-a2a86cd7f6d9cf3d6a88f3c6a005ff73f0b2341a.tar.xz
* patch by Sam Hathaway to make web alpine build when debug is turned
off. * Fix compilation bug that made build fail if passfile was not defined.
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);