TLS: Clean up TLS record layer processing
authorJouni Malinen <j@w1.fi>
Sat, 5 Nov 2011 11:04:02 +0000 (13:04 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 5 Nov 2011 11:04:02 +0000 (13:04 +0200)
commitc4a34808262cc138ccc78b838e93e7a0e35f3c14
treecf57ac6942518d8b152674a4e615728a2ff0cd89
parentedc95487aa41b584736e7d8ee10c3dc0d55cd0ea
TLS: Clean up TLS record layer processing

Return number of user input bytes from tlsv1_record_receive() to
move this detail into the proper record layer processing. In addition,
ignore unknown content types at record layer and allow processing to
continue after warning level TLS alerts to provide minimal workaround
for closure alerts.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/tls/tlsv1_client.c
src/tls/tlsv1_record.c
src/tls/tlsv1_server.c