diff options
author | Eduardo Chappa <chappa@washington.edu> | 2018-05-20 11:51:51 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2018-05-20 11:51:51 -0600 |
commit | 954a31d7a4b4b6c4d8f4eea7dccea3cece5213aa (patch) | |
tree | 408dd3d095ae6973cc77dbc650107ea433c0ac08 /alpine | |
parent | 2c08a863b7242f6658151a2e2592a6293c4dcb65 (diff) | |
download | alpine-954a31d7a4b4b6c4d8f4eea7dccea3cece5213aa.tar.xz |
* Move freeing for some SSL memory until after all connections are
closed.
* A message could fail to verify its signature even if the
certificate was saved when the message was open. Based on a report by
David Woodhouse to the RedHat bugzilla system.
Diffstat (limited to 'alpine')
-rw-r--r-- | alpine/alpine.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/alpine/alpine.c b/alpine/alpine.c index 0ebb9534..917e0cee 100644 --- a/alpine/alpine.c +++ b/alpine/alpine.c @@ -3234,10 +3234,6 @@ goodnight_gracey(struct pine *pine_state, int exit_val) dprint((7, "goodnight_gracey: close config files\n")); -#ifdef SMIME - smime_deinit(); -#endif - free_pinerc_strings(&pine_state); strncpy(msg, pf, sizeof(msg)); @@ -3254,6 +3250,10 @@ goodnight_gracey(struct pine *pine_state, int exit_val) ps_global->noshow_error = 1; sp_end(); +#ifdef SMIME + smime_deinit(); +#endif + /* after sp_end, which might call a filter */ completely_done_with_adrbks(); |