cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Unknown SSL protocol error

From: Winslow, Dave - OJA <Dave.Winslow_at_wisconsin.gov>
Date: Mon, 21 Aug 2006 10:36:25 -0500

Dan - I found the code for disabling the session ID cache
right where you said it would be and changed the code to
read as follows:

line 1325 in ssluse.c --

  /*
  Check if there's a cached ID we can/should use here!
  if(!Curl_ssl_getsessionid(conn, &ssl_sessionid, NULL)) {
    COMMENT: we got a session id, use it!
    if (!SSL_set_session(connssl->handle, ssl_sessionid)) {
      failf(data, "SSL: SSL_set_session failed: %s",
            ERR_error_string(ERR_get_error(),NULL));
      return CURLE_SSL_CONNECT_ERROR;
    }
    COMMENT: Informational message
    infof (data, "SSL re-using session ID\n");
  }
  */

After re-making and re-installing I am happy to report that
we can now "put" and "get" files to the problematic WS-FTP server
using LIBCURL! No more "Unknown SSL protocol error"!

So, just to re-iterate - this "fix" is good for WS_FTP servers
with both client and server certificates enabled.

Thanks ever so much for all your help Dan.

Dave
Received on 2006-08-21