mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39: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);
|
||||
}
|
||||
#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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user