• unknown's avatar
    Reduce code for SSL_connect and SSL_accept · 05145957
    unknown authored
    There is no need to call SSL_set_accept_state + SSL_do_handshake when we know that SSL_accept should be done. 
    
    
    vio/viossl.c:
      Replace the double calls to "SSL_set_accept_state" and "SSL_do_handshake" with one call to "SSL_accept"
      Same with "SSL_connect"
    05145957
viossl.c 7.4 KB