Correct session ticket encryption.
authorjsing <jsing@openbsd.org>
Wed, 22 Aug 2018 17:46:29 +0000 (17:46 +0000)
committerjsing <jsing@openbsd.org>
Wed, 22 Aug 2018 17:46:29 +0000 (17:46 +0000)
commitca930e6435c34fa695c49ef5b3c577e2b4547b48
treecc1c1a5d6ca53789d5a8939bc81fd1fab18c8494
parent16174562809eb0a4b83f620219d6946807058767
Correct session ticket encryption.

The CBB conversion resulted in the ticket encryption being handled
incorrectly, resulting in only the last block being used. Fix this and
restore the previous behaviour.

Issue found by inoguchi@ and sebastia@.

ok inoguchi@ and tb@
lib/libssl/ssl_srvr.c