I initialize OpenSSL 0.9.7 in a non-blocking C++ server like this:

SSL_METHOD *method = TLSv1_method();
SSL_CTX CTX = SSL_CTX_new(method);

A Java 1.4.1_01 client is initialized like that:

SSLContext ctx = SSLContext.getInstance("TLSv1");

When the Java client connects to the server SSL_accept() returns with the
error SSL_ERROR_SSL. Everything works when I change the server and use
SSLv23_method() instead of TLSv1_method(). What's wrong? Is this an error in
OpenSSL or in Java?

Boris
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to