View | Details | Raw Unified
Collapse All | Expand All

(-) lftp_ssl.cc (-1 / +2 lines)
 Lines 851-857   bool lftp_ssl_openssl::check_fatal(int r Link Here 
int lftp_ssl_openssl::do_handshake()
int lftp_ssl_openssl::do_handshake()
{
{
   if(SSL_is_init_finished(ssl))
   if(handshake_done)
      return DONE;
      return DONE;
   if(handshake_mode==SERVER)
   if(handshake_mode==SERVER)
   {
   {
 Lines 873-878   int lftp_ssl_openssl::do_handshake() Link Here 
	 return ERROR;
	 return ERROR;
      }
      }
   }
   }
   handshake_done=true;
   return DONE;
   return DONE;
}
}
int lftp_ssl_openssl::read(char *buf,int size)
int lftp_ssl_openssl::read(char *buf,int size)