diff options
Diffstat (limited to '')
-rw-r--r-- | server.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server.c b/server.c index aa17cde..6640f8f 100644 --- a/server.c +++ b/server.c @@ -155,6 +155,11 @@ int serverConnect(const char *bindHost, const char *host, const char *port) { return sock; } +void serverClose(void) { + tls_close(client); + tls_free(client); +} + void serverPrintCert(void) { size_t len; const byte *pem = tls_peer_cert_chain_pem(client, &len); |