tls: was psAesDecrypt'ing one block too many, trashing buffered data
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 20 Jan 2017 16:59:25 +0000 (17:59 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 20 Jan 2017 17:04:04 +0000 (18:04 +0100)
commite7863f394e6a963d1e2c6af77ea064442d3ef594
treeee638eb584ad34fdc16219dde8f476cc81bcdadb
parent6e511393f90a30c93c445c3d1ed6090e79e7384b
tls: was psAesDecrypt'ing one block too many, trashing buffered data

For the first time

printf "GET / HTTP/1.1\r\nHost: kernel.org\r\n\r\n" | ./busybox tls kernel.org

successfully reads entire server response and TLS shutdown.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/tls.c