TLS: Fix record layer protocol version validation
authorJouni Malinen <j@w1.fi>
Sun, 25 Sep 2011 13:48:06 +0000 (16:48 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 25 Sep 2011 13:48:06 +0000 (16:48 +0300)
commit61f1ed911d159bec6b6c58ac2e992b871dfc9155
tree2d813fef47068b4141855dc87cd540d93c77d089
parent54b8f994548b2e11792ab21c2bdb800d836b438f
TLS: Fix record layer protocol version validation

TLS v1.0 and v1.1 RFCs were not exactly clear on the use of the
protocol version in record later. As such, accept any {03,xx} value
to remain compatible with existing implementations and new protocol
versions.
src/tls/tlsv1_record.c