RE: SSL_ERROR_WANT_READ after the handshake

2022-03-14 Thread Dr. Matthias St. Pierre
FWIW: I noticed recently, that in TLSv1.3 it seems to be rather normal to encounter an SSL_WANT_READ immediately after returning from a successful SSL_connect() call (even in the blocking case), because part of the handshake is disguised as application data and apparently SSL_connect() returns be

RE: SSL_ERROR_WANT_READ after the handshake

2022-03-12 Thread loic nicolas
Ok thanks you De : openssl-users de la part de Viktor Dukhovni Envoyé : dimanche 13 mars 2022 00:22 À : openssl-users@openssl.org Objet : Re: SSL_ERROR_WANT_READ after the handshake > On 12 Mar 2022, at 6:08 pm, loic nicolas wrote: > > After the hand

Re: SSL_ERROR_WANT_READ after the handshake

2022-03-12 Thread Viktor Dukhovni
> On 12 Mar 2022, at 6:08 pm, loic nicolas wrote: > > After the handshake, is it really necessary to check SSL_ERROR_WANT_READ and > SSL_ERROR_WANT_WRITE? (whether on the server or client side) > I don't want to accept a renegotiation, is it really possible that OpenSSL > sends me these events