diff options
author | Eduardo Chappa <chappa@washington.edu> | 2014-04-08 23:57:49 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2014-04-08 23:57:49 -0600 |
commit | 7d34d6b88a46a8cf950dc6305fa3c781edd9d4f7 (patch) | |
tree | abcec7bc059644ca5ed9322e6bb1dda09743eccc /pith/state.c | |
parent | 6a18937898292e97c15289e5ecd5d8f1c2205110 (diff) | |
download | alpine-7d34d6b88a46a8cf950dc6305fa3c781edd9d4f7.tar.xz |
* 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.
Diffstat (limited to 'pith/state.c')
-rw-r--r-- | pith/state.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) |