Remove some dead code from rec_layer_s3.c
authorMatt Caswell <matt@openssl.org>
Wed, 24 Aug 2016 10:28:58 +0000 (11:28 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 24 Aug 2016 10:28:58 +0000 (11:28 +0100)
commitc42b8a6e4bced8f6ecf0a0d9a0107e6e989da0c2
treebc8f7bd8bae6b50c0fb25040bb72d1e5d189abe1
parentfe81a1b0515bf51983150dc7c428ed4c9fd31c7a
Remove some dead code from rec_layer_s3.c

It is never valid to call ssl3_read_bytes with
type == SSL3_RT_CHANGE_CIPHER_SPEC, and in fact we check for valid values
for type near the beginning of the function. Therefore this check will never
be true and can be removed.

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