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:
parent
91ff938035
commit
70e57dad88
@ -463,7 +463,6 @@ bool Curl_ssl_data_pending(const struct connectdata *conn,
|
|||||||
{
|
{
|
||||||
return curlssl_data_pending(conn, connindex);
|
return curlssl_data_pending(conn, connindex);
|
||||||
}
|
}
|
||||||
#endif /* USE_SSL */
|
|
||||||
|
|
||||||
void Curl_ssl_free_certinfo(struct SessionHandle *data)
|
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;
|
ci->num_of_certs = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* USE_SSL */
|
||||||
|
Loading…
Reference in New Issue
Block a user