Are there any known problems using OpenSSL with iCloud? I am trying to connect to imap.mail.me.com using port 993. My call to SSL_Connect() returns 0, with SSL_get_error() returing 1 (SSL_ERROR_SSL). I am using OpenSSL version 1.0.1h, running on Win32. I can use this code with any other IMAP server with no problems.