How to debug a TLSv1.3 protocol problem?

Salz, Rich rsalz at
Wed May 20 21:39:39 UTC 2020

>    Speaking of which, I've recently discovered (a documented interface
    landmine) that:

        status = SSL_read(ssl, ...);
        err = SSL_get_error(ssl, status);

>    is an anti-pattern, because the "correct" usage is:

It's not unlike checking errno without knowing if the syscall actually failed.

More information about the openssl-users mailing list