From 70e57dad8856c2b99d947344661ae260c6fff594 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 5 Sep 2008 18:35:29 +0000 Subject: [PATCH] Only compile Curl_ssl_free_certinfo when SSL is enabled --- lib/sslgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sslgen.c b/lib/sslgen.c index df24fbdd48..b78310f2f1 100644 --- a/lib/sslgen.c +++ b/lib/sslgen.c @@ -463,7 +463,6 @@ bool Curl_ssl_data_pending(const struct connectdata *conn, { return curlssl_data_pending(conn, connindex); } -#endif /* USE_SSL */ void Curl_ssl_free_certinfo(struct SessionHandle *data) { @@ -477,3 +476,4 @@ void Curl_ssl_free_certinfo(struct SessionHandle *data) ci->num_of_certs = 0; } } +#endif /* USE_SSL */