RE: SSL_get_error() crash (shortened)

2019-09-12 Thread Jahn, Gerhard
Hello, We're using OpenSSl 1.1.1b on WIN64 and are facing a (rare but strange) core-dump when doing the following: After successful TLS1.3 handshake we're calling SSL_read() to get the first 2 Bytes of PDU data from the new connection (ASN.1 TAG + length). SSL_read() returns 0 According to Open

RE: SSL_get_error()

2010-02-23 Thread Mark
> The man page for SSL_write() mentions that I should call > SSL_get_error() upon failure: > http://www.openssl.org/docs/ssl/SSL_write.html > > Is that all I have to do? Or do I should I inspect the error > stack too? IIRC you always need to check and clear the error stack when you encounter an