On 20/05/2020 21:36, Viktor Dukhovni wrote: > My take is that this is a sufficiently nasty problem to warrant some > changes in SSL_read(), SSL_write, SSL_accept(), ... to internally > memoize the error status before returning, in a manner that does not > depend on the prior state of the error stack, and that then > SSL_get_error() must look only at the given (SSL *) handle and > not at the error stack. We actually have always cleared the error stack on entering the libssl state machine. It appears we don't do that on IO functions that don't enter the state machine (such as SSL_read()/SSL_write()). Matt
- Re: How to debug a TLSv1.3 protocol ... Matt Caswell
- Re: How to debug a TLSv1.3 proto... Claus Assmann
- Re: How to debug a TLSv1.3 p... Matt Caswell
- Re: How to debug a TLSv... Claus Assmann
- Re: How to debug a ... Matt Caswell
- Re: How to debug a ... Claus Assmann
- Re: How to debug a ... Matt Caswell
- Re: How to debug a ... Claus Assmann
- Re: How to debug a ... Matt Caswell
- Re: How to debug a ... Viktor Dukhovni
- Re: How to debug a ... Matt Caswell
- Re: How to debug a ... Viktor Dukhovni
- Re: How to debug a ... Matt Caswell
- Re: How to debug a ... Salz, Rich via openssl-users
- Re: How to debug a ... Claus Assmann
- Re: How to debug a ... Claus Assmann
- Re: How to debug a TLSv1.3 protocol ... Claus Assmann
- Re: How to debug a TLSv1.3 proto... Matt Caswell
- Re: How to debug a TLSv1.3 protocol problem? Claus Assmann
- Re: How to debug a TLSv1.3 protocol prob... Jan Just Keijser
- Re: How to debug a TLSv1.3 protocol ... Claus Assmann