]> granicus.if.org Git - neomutt/commit
Verify hostname in (Open)SSL certificate validation
authorRocco Rutte <pdmef@gmx.net>
Fri, 11 Jul 2008 06:47:01 +0000 (08:47 +0200)
committerRocco Rutte <pdmef@gmx.net>
Fri, 11 Jul 2008 06:47:01 +0000 (08:47 +0200)
commit480092823240c0b5d69c30c581cebd5740be35c8
tree1c0c13ce25287e1ee7e4f79822431ea713cf0e78
parent852dd7c0557fef0ab651192175d93be09cf24be9
Verify hostname in (Open)SSL certificate validation

This is based on the patch by gkloepfer attached to #3087 but passes the
proper connection as argument (avoiding adding hostname to struct
sslsockdata) and validates the hostname even in case OpenSSL cannot find
the local issuer certificate.  GnuTLS already supports hostname
checking. Closes #3087.
mutt_ssl.c