From ae4bbcf4e8bb991ad3106ff0d7799276912c5815 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sun, 13 May 2018 23:27:39 -0600 Subject: * For a calendar entry with method PUBLISH, we show all entries in the calendar. When "More Details" is selected for each individual event, the description of that entry is shown only. When the calendar is opened from the view attachment list screen, all entries will be shown. Mske sure there are no memory leaks. * Reverse some of the changes to make valgrind happy, as this may make Alpine crash by using memory that was released. --- imap/src/osdep/unix/ssl_unix.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'imap/src/osdep/unix/ssl_unix.c') diff --git a/imap/src/osdep/unix/ssl_unix.c b/imap/src/osdep/unix/ssl_unix.c index ea2df896..4c4d6ef8 100644 --- a/imap/src/osdep/unix/ssl_unix.c +++ b/imap/src/osdep/unix/ssl_unix.c @@ -404,14 +404,12 @@ static char *ssl_validate_cert (X509 *cert,char *host) "Server name does not match certificate"; /* if mismatch, see if in extensions */ if (ret && (ext = X509_get_ext_d2i (cert,NID_subject_alt_name,NIL,NIL)) && - (n = sk_GENERAL_NAME_num (ext))){ + (n = sk_GENERAL_NAME_num (ext))) /* older versions of OpenSSL use "ia5" instead of dNSName */ for (i = 0; ret && (i < n); i++) if ((name = sk_GENERAL_NAME_value (ext,i)) && (name->type = GEN_DNS) && (s = name->d.ia5->data) && ssl_compare_hostnames (host,s)) ret = NIL; - sk_GENERAL_NAME_pop_free(ext, GENERAL_NAME_free); - } } else ret = "Unable to locate common name in certificate"; return ret; -- cgit v1.2.3-54-g00ecf