Fix ssl3_read_bytes handshake fragment bug
authorMatt Caswell <matt@openssl.org>
Tue, 30 Jun 2015 10:30:44 +0000 (11:30 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 3 Aug 2015 10:18:06 +0000 (11:18 +0100)
commite9f6b9a1a5ba9feaeeef88d9f45508996ce43468
tree7f1e01909fa925e434519663724993cefa2b3684
parentc69f2adf71d888ba1a2090ec0be3319eb024efe3
Fix ssl3_read_bytes handshake fragment bug

The move of CCS into the state machine introduced a bug in ssl3_read_bytes.
The value of |recvd_type| was not being set if we are satisfying the request
from handshake fragment storage. This can occur, for example, with
renegotiation and causes the handshake to fail.

Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/record/rec_layer_s3.c