error: wrong version number

2022-07-10 Thread loic nicolas
Hello, I am trying to connect my client to my server but I always receive an error.(ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:331) How can I get more information about the error and fix it? (the error is probably in my client) openssl s_server -accept 127.0.0.1:3000 -key

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

SSL_ERROR_WANT_READ after the handshake

2022-03-12 Thread loic nicolas
Hello, I use my own bios and non-blocking sockets. 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 without t

How OpenSSL connections work

2022-03-05 Thread loic nicolas
Hello, I can't figure out how OpenSSL connections work. I would like to use 2 bios (rbio, wbio) which will be shared for all my connections. The problem is that I really don't understand the error messages. I never get an SSL_ERROR_WANT_WRITE error code, I only get SSL_ERROR_WANT_READ. For exam