diff options
author | tb <> | 2020-09-01 12:40:53 +0000 |
---|---|---|
committer | tb <> | 2020-09-01 12:40:53 +0000 |
commit | 9f988c795fd8a5ef1dcaff20a0704bca35366cfe (patch) | |
tree | 6fdd9e8bc65d3d8f4c0c2ef68a3210541959652c /src/lib/libc | |
parent | ecef000b15e466f3aa09714234c6107f3bbe7524 (diff) | |
download | openbsd-9f988c795fd8a5ef1dcaff20a0704bca35366cfe.tar.gz openbsd-9f988c795fd8a5ef1dcaff20a0704bca35366cfe.tar.bz2 openbsd-9f988c795fd8a5ef1dcaff20a0704bca35366cfe.zip |
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
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions