ssl_recv_data(): Properly handle MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY
authorFabian Keil <fk@fabiankeil.de>
Sat, 22 Feb 2020 19:53:48 +0000 (20:53 +0100)
committerFabian Keil <fk@fabiankeil.de>
Sun, 23 Feb 2020 12:04:15 +0000 (13:04 +0100)
commit988c90194b46bdb232ae958857ab846de4717d42
tree939f2d82ac9da0dd7779abe57707ec8ec49b2b8b
parent6e0aa492fff31c5391048452d8f19af82eb77b0f
ssl_recv_data(): Properly handle MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY

Previously ssl_recv_data() would pass it to the caller
which would treat it as an error.

Sponsored by: Robert Klemme
ssl.c