From b31d1dcddb6dc7a111d2d8a8806c55ab439e76a7 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 25 Jun 2017 13:06:54 +0200 Subject: vtls: make sure all _cleanup() functions return void This patch makes the signature of the _cleanup() functions consistent among the SSL backends, in preparation for unifying the way all SSL backends are accessed. Signed-off-by: Johannes Schindelin --- lib/vtls/gtls.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/vtls/gtls.c') diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c index d55f995e8..3889b8e5f 100644 --- a/lib/vtls/gtls.c +++ b/lib/vtls/gtls.c @@ -200,13 +200,12 @@ int Curl_gtls_init(void) return ret; } -int Curl_gtls_cleanup(void) +void Curl_gtls_cleanup(void) { if(gtls_inited) { gnutls_global_deinit(); gtls_inited = FALSE; } - return 1; } #ifndef CURL_DISABLE_VERBOSE_STRINGS -- cgit v1.2.3