From 7d34d6b88a46a8cf950dc6305fa3c781edd9d4f7 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Tue, 8 Apr 2014 23:57:49 -0600 Subject: * Fixes bug in 2.19.8 that would make Alpine fail to build in Windows. * S/MIME configuration screen would deinitialize smime, not allowing it to send encrypted or signed messages. * Add documentation for /loser option in definition of external servers. * crashing bug in certificate management screen due to a BIO_free() call of memory that had not been allocated. * When the password file is decrypted, smime is inited. If smime is inited before the .pinerc is read, some values might not be correctly set. * When a password file exists, and S/MIME is enabled, encrypt it by either using an existing key/certificate pair. The key is saved separately in ~/.alpine-smime/.pwd, or in the directory specified by the -pwdcertdir command line option. --- pith/state.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pith/state.c') diff --git a/pith/state.c b/pith/state.c index 07b77131..bf5ff24e 100644 --- a/pith/state.c +++ b/pith/state.c @@ -178,6 +178,10 @@ free_pine_struct(struct pine **pps) #ifdef PASSFILE if((*pps)->passfile) fs_give((void **)&(*pps)->passfile); +#ifdef SMIME + if((*pps)->pwdcertdir) + fs_give((void **)&(*pps)->pwdcertdir); +#endif /* SMIME inside PASSFILE */ #endif /* PASSFILE */ if((*pps)->hdr_colors) -- cgit v1.2.3-54-g00ecf