Dear Sir/Madam,

I have used SSL_negotiate() and SSL_do_handshake() function to move the SSL 
connection into renegotiate state in my server side code. It works fine in 
openssl 1.0.0.a release. But after I upgraded the openssl library from version 
1.0.0a to 1.0.1c, this code does not work. Basically the second call on 
SSL_do_handshake() function was failed with the error: 
error:00000001:lib(0):func(0):reason(1). Following is my sample code:

SSL *ssl_con = SSL_new(ssl_context);
SSL_negotiate(ssl_con);
SSL_do_handshake(ssl_con);
ssl_con->state = SSL_ST_ACCEPT;
SSL_do_handshake(ssl_con);    ---- Failed: 
error:00000001:lib(0):func(0):reason(1).

Could somebody please show me how to resolve this issue?

Thank you very much in advance!
Bob

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to