i am using curl 6.2 + openssl 0.9.4, running in ssl3 mode only (in a multi-threaded environment) every other times, we are seeing the above error when calling SSL_connect() : SSL: (connect) error:00000000::lib(0) :func(0) :reason(0)) here's the code in curl that calls SSL_connect: /* pass the raw socket into the SSL layers */ SSL_set_fd (data->ssl, data->firstsocket); err = SSL_connect (data->ssl); if (-1 == err) { err = ERR_get_error(); failf(data, "SSL: %s", ERR_error_string(err, NULL)); return 10; } i put in some printf in the big switch statement in ssl3_connect, it seems to fail in 2 modes: 1) in ssl3_get_finished when the state = (SSL_ST_CR_FINISHED_A/B) 2) or before the for(;;) loop in ssl3_connect, because i don't see the switch statement being executed any help/suggestions would be appreciated. daphne ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]