diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-10-27 21:07:45 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-10-27 21:07:45 -0600 |
commit | 248f45578fcf93b56e3b97c52cfd21b5b84f2a38 (patch) | |
tree | 411f3e2e25ebe1e33cbff4994477dc7a18dfa38f /imap/src/osdep/unix/ssl_unix.c | |
parent | 4e924cc7aeb4edceb84d43d97f0542539f614cdd (diff) | |
download | alpine-248f45578fcf93b56e3b97c52cfd21b5b84f2a38.tar.xz |
* Contributions by Thomas Uhle:
. Add support to the LDAP attribute "userCertificate";
. Move voiceMailTelephoneNumber from the TCL side to ldap_translate;
. XOAUTH2 state generator changes format specifier from %x to %02x;
. Clear compiler warnings and correct spelling in documentation.
. Web Alpine will not attempt to continue a postponed message if the
postponed-msgs folder is empty.
Diffstat (limited to 'imap/src/osdep/unix/ssl_unix.c')
-rw-r--r-- | imap/src/osdep/unix/ssl_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/osdep/unix/ssl_unix.c b/imap/src/osdep/unix/ssl_unix.c index e9243769..601888ec 100644 --- a/imap/src/osdep/unix/ssl_unix.c +++ b/imap/src/osdep/unix/ssl_unix.c @@ -535,7 +535,7 @@ static char *ssl_validate_cert (X509 *cert,char *host) ret = "No name in certificate"; else if ((s = strstr (cert->name,"/CN=")) != NIL) { m++; /* count that we tried this method */ - if (t = strchr (s += 4,'/')) *t = '\0'; + if ((t = strchr (s += 4,'/')) != NIL) *t = '\0'; /* host name matches pattern? */ ret = ssl_compare_hostnames (host,s) ? NIL : "Server name does not match certificate"; |