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 13:04:13 +0000 (14:04 +0100)
commitc9a6b9f7ed482025d684ef3a04505004f85a97a1
tree43a2c63a0db3e7bda9577d049222c5347b268407
parentd746e49bcd9cc84cce13b1cd2d3ea35b909880a7
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/3287)
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_srvr.c