aboutsummaryrefslogtreecommitdiff
path: root/lib/ssluse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r--lib/ssluse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index 6a7f2aedb..a15649be9 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -697,6 +697,7 @@ static int Curl_ASN1_UTCTIME_output(struct connectdata *conn,
#endif
/* ====================================================== */
+#ifdef USE_SSLEAY
static int
cert_hostcheck(const char *certname, const char *hostname)
{
@@ -733,6 +734,7 @@ cert_hostcheck(const char *certname, const char *hostname)
}
return 0;
}
+#endif
/* ====================================================== */
CURLcode