From 52a72be2a6790a5a59d19c11847aa27b9e32ea89 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 20 May 2022 01:12:42 +0200 Subject: Implement a happy path mbedtls wrapper --- vchat-connection.c | 1 + 1 file changed, 1 insertion(+) (limited to 'vchat-connection.c') diff --git a/vchat-connection.c b/vchat-connection.c index c0648c8..5ab4dd4 100644 --- a/vchat-connection.c +++ b/vchat-connection.c @@ -135,6 +135,7 @@ vc_connect (const char *server, const char *port) close(serverfd); serverfd = -1; errno = EIO; + vc_tls_cleanup(); snprintf (tmpstr, TMPSTRSIZE, getformatstr(FS_CANTCONNECT), server, port ); writechan (tmpstr); return -1; -- cgit v1.2.3