aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-06-27 23:15:56 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-06-27 23:16:14 +0200
commit54398492462850583274bc51a5c2d1f18e9cc7d0 (patch)
treecc3f5d9eadc270d8ee9192e043b1e49dbbb4cd93
parent3bda1cef92b09f501461cbfe79f465a8bc98e8f3 (diff)
sslgen: avoid compiler error in SSPI builds
-rw-r--r--lib/sslgen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sslgen.c b/lib/sslgen.c
index 96582d3ae..0f8de452a 100644
--- a/lib/sslgen.c
+++ b/lib/sslgen.c
@@ -555,6 +555,9 @@ void Curl_ssl_free_certinfo(struct SessionHandle *data)
}
}
+#ifndef USE_WINDOWS_SSPI
+/* these functions are not used when SSPI is used for NTLM */
+
void Curl_ssl_random(struct SessionHandle *data,
unsigned char *entropy,
size_t length)
@@ -569,4 +572,6 @@ void Curl_ssl_md5sum(unsigned char *tmp, /* input */
{
curlssl_md5sum(tmp, tmplen, md5sum, md5len);
}
+#endif /* USE_WINDOWS_SSPI */
+
#endif /* USE_SSL */