2006-09-14 [colin] 2.4.0cvs188
authorColin Leroy <colin@colino.net>
Thu, 14 Sep 2006 16:32:50 +0000 (16:32 +0000)
committerColin Leroy <colin@colino.net>
Thu, 14 Sep 2006 16:32:50 +0000 (16:32 +0000)
* src/common/socket.c
* src/common/socket.h
* src/common/ssl.c
* src/common/ssl_certificate.c
* src/common/ssl_certificate.h
* src/etpan/imap-thread.c
the get_fqdn() call done to get canonical name when
checking an SSL certificate is blocking, which is
sad as we just did a non-blocking lookup to connect.
Fix that by letting the fqdn available to the SockInfo,
and use that in ssl_certificate_check(). For IMAP,
we don't do it as the lookup's done by libetpan, but
it's less annoying as IMAP connections as much more
rare than POP3 connections.


No differences found