CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2022/06/07 11:14:17

Modified files:
        lib/libssl     : ssl_clnt.c ssl_srvr.c 

Log message:
Add error checking to tls_session_secret_cb() calls

Failure of this undocumented callback was previously silently ignored.
Follow OpenSSL's behavior and throw an internal error (for lack of a
better choice) if the callback failed or if it set the master_key_length
to a negative number.

Unindent the success path and clean up some strange idioms.

ok jsing

Reply via email to