CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2020/09/01 06:40:53

Modified files:
        lib/libssl     : ssl_locl.h ssl_sess.c t1_lib.c 

Log message:
copy session id directly in ssl_get_prev_session

ssl_get_prev_session() hands the session id down to tls_decrypt_ticket()
which then copies it into the session pointer that it is about to return.
It's a lot simpler to retrieve the session pointer and copy the session id
inside ssl_get_prev_session().

Also, 'goto err' directly in TLS1_TICKET_NOT_DECRYPTED instead of skipping
a couple of long if clauses before doing so.

ok inoguchi jsing

Reply via email to