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
1 changed files with 1 additions and 1 deletions

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