Hi,

I'm testing SSL_clear() which is supposed to "reset" the SSL status to
allow a new connection (given that the client will set the same SSL
parameters as in the previous handshake).

And that is my case, I use the same client script to test this feature
in a server. Scenario:

- client sends DTLS ClientHello.

- server sends ServerHello, Certificate and so on, but the client does
not receive it.

- client retransmits and server too.

- client leaves up so the server's SSL gets in a uncompleted state.

- I call SSL_clear() on the server and get this error:

error:140A4044:SSL routines:SSL_clear:internal error

- client is executed again and sends a new DTLS ClientHello (but same
properties).

- The handshake is never completed.


This basically means that SSL_clear() cannot "reset" the status of the
SSL instance if the previous handshake failed, is that true?

Thanks a lot.


-- 
Iñaki Baz Castillo
<i...@aliax.net>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to