ssl_send_data(): Consistently return -1 in case of errors
authorFabian Keil <fk@fabiankeil.de>
Sat, 22 Feb 2020 21:02:16 +0000 (22:02 +0100)
committerFabian Keil <fk@fabiankeil.de>
Sun, 23 Feb 2020 12:04:15 +0000 (13:04 +0100)
commit14f7edff7951eb3e664baed36a4b4b5c666a1937
tree749ec68369429ba962529059b6684319ab9563dc
parent988c90194b46bdb232ae958857ab846de4717d42
ssl_send_data(): Consistently return -1 in case of errors

... instead of passing on the MBEDTLS_ERR_* value which
the caller doesn't need to know.

Sponsored by: Robert Klemme
ssl.c