projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bda1ce
)
sslgen: avoid compiler error in SSPI builds
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 27 Jun 2012 21:15:56 +0000
(23:15 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 27 Jun 2012 21:16:14 +0000
(23:16 +0200)
lib/sslgen.c
patch
|
blob
|
history
diff --git
a/lib/sslgen.c
b/lib/sslgen.c
index 96582d3aeb5e9109abdd02ed51e88ae51a492fd6..0f8de452a7fd1bbf88efa9d451a7df049127d049 100644
(file)
--- 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 */