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/conftype.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pith/conftype.h') diff --git a/pith/conftype.h b/pith/conftype.h index 38097f9e..11fe18f7 100644 --- a/pith/conftype.h +++ b/pith/conftype.h @@ -693,6 +693,9 @@ typedef struct smime_stuff { unsigned already_auto_asked:1; /* asked for passphrase automatically, not again */ volatile char passphrase[100]; /* storage for the entered passphrase */ char **passphrase_emailaddr; /* pointer to allocated storage */ +#ifdef PASSFILE + void *pwdcert; /* this has type (PERSONAL_CERT *) */ +#endif /* PASSFILE */ /* * If we are using the Container type it is easiest if we -- cgit v1.2.3-54-g00ecf