title: SSL_connect and SSL_ERROR_SYSCALL
body: <p>Does <code>SSL_connect()</code> support ssl v3?
  The reason I am asking this is, while accessing the site : </p>
  
  <pre><code>https://secure53.onlineaccess1.com
  </code></pre>
  
  <p>I get a return value for <code>SSL_connect(ssl)</code> as &lt;0 and <code>SSL_get_error()</code> as 5 and ERR_get_error() as 0. So the end result is I found out that since <code>SSL_get_error()</code> is 5,</p>
  
  <blockquote>
    <p>SSL_ERROR_SYSCALL</p>
    
    <p>Some I/O error occurred. The OpenSSL error queue may contain more information on the error. If the error queue is empty (i.e.
    ERR_get_error() returns 0), ret can be used to find out more about the
    error: If ret == 0, an EOF was observed that violates the protocol. If
    ret == -1, the underlying BIO reported an I/O error (for socket I/O on
    Unix systems, consult errno for details).</p>
  </blockquote>
  
  <p>And since <code>ERR_get_error()</code>  returns 0, <code>it means an EOF was observed that violates the protocol.</code></p>
  
  <p>But does that mean it doesnot support sslv3?</p>
  
  <p>I tried the url in command line using curl and I had to force v3 to get it to work like this : </p>
  
  <pre><code>curl -3 -v https://secure53.onlineaccess1.com
  </code></pre>
  
  <p>And is there a way to fix this error?</p>