aboutsummaryrefslogtreecommitdiffstats
path: root/engines/e_sureware.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-02-05 13:59:16 +0000
committerMatt Caswell <matt@openssl.org>2015-03-25 12:24:36 +0000
commit4f9fab6bd0253416eeace5a45142c7c4a83bc511 (patch)
tree997ccd29bc5d53380f551c9544aa09d9368f4a88 /engines/e_sureware.c
parentd5d0a1cb1347d4a8547e78aec56c50c528186e50 (diff)
downloadopenssl-4f9fab6bd0253416eeace5a45142c7c4a83bc511.tar.gz
Add ticket length before buffering DTLS message
In ssl3_send_new_session_ticket the message to be sent is constructed. We skip adding the length of the session ticket initially, then call ssl_set_handshake_header, and finally go back and add in the length of the ticket. Unfortunately, in DTLS, ssl_set_handshake_header also has the side effect of buffering the message for subsequent retransmission if required. By adding the ticket length after the call to ssl_set_handshake_header the message that is buffered is incomplete, causing an invalid message to be sent on retransmission. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'engines/e_sureware.c')
0 files changed, 0 insertions, 0 deletions