Remove special case code for SCTP reneg handling
authorMatt Caswell <matt@openssl.org>
Thu, 20 Apr 2017 14:13:28 +0000 (15:13 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 25 Apr 2017 10:13:39 +0000 (11:13 +0100)
commitbd79bcb42bab120575fc398692b7b61b1c5e6ed2
treec7a3622d3da971372d037319ea956193a837ab6e
parentc4666bfa13480c1e700a0d487300da2a56e889af
Remove special case code for SCTP reneg handling

There was code existing which attempted to handle the case where application
data is received after a reneg handshake has started in SCTP. In normal DTLS
we just fail the connection if this occurs, so there doesn't seem any reason
to try and work around it for SCTP. In practice it didn't work properly
anyway and is probably a bad idea to start with.

Fixes #3251

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3286)
ssl/d1_msg.c
ssl/record/rec_layer_d1.c
ssl/statem/statem.c
ssl/statem/statem.h
ssl/statem/statem_clnt.c
ssl/statem/statem_lib.c
ssl/statem/statem_srvr.c