From: Dan Fandrich Date: Fri, 5 Sep 2008 18:35:29 +0000 (+0000) Subject: Only compile Curl_ssl_free_certinfo when SSL is enabled X-Git-Tag: curl-7_19_1~406 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70e57dad8856c2b99d947344661ae260c6fff594;p=thirdparty%2Fcurl.git Only compile Curl_ssl_free_certinfo when SSL is enabled --- 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 */