1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

Only compile Curl_ssl_free_certinfo when SSL is enabled

This commit is contained in:
Dan Fandrich 2008-09-05 18:35:29 +00:00
parent 91ff938035
commit 70e57dad88

View File

@ -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 */