summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--imap/src/osdep/unix/ssl_unix.c1
-rw-r--r--pith/pine.hlp2
2 files changed, 2 insertions, 1 deletions
diff --git a/imap/src/osdep/unix/ssl_unix.c b/imap/src/osdep/unix/ssl_unix.c
index 9d0124ff..eb26ec07 100644
--- a/imap/src/osdep/unix/ssl_unix.c
+++ b/imap/src/osdep/unix/ssl_unix.c
@@ -564,6 +564,7 @@ static char *ssl_validate_cert (X509 *cert,char *host)
/* host name matches pattern? */
ret = ssl_compare_hostnames (host,s) ? NIL :
"Server name does not match certificate";
+ ext = NIL;
/* 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)))
diff --git a/pith/pine.hlp b/pith/pine.hlp
index b9627a04..4d79260b 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 580 2021-08-23 21:44:27
+Alpine Commit 581 2021-08-23 22:42:05
============= h_news =================
<HTML>
<HEAD>