On Wed, 27 Jun 2012, Marc Hoersken wrote:
../.././lib/sslgen.c:196:3: error: #error "SSL backend lacks definition for
curlssl_random"
The fix would be to either check for SSPI there or make the Schannel backend
provide empty declarations or even real implementations of these.
Like this?
From eb3ec978f9eb6fadeb14fa117847a6ce3ba736f2 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <[email protected]>
Date: Wed, 27 Jun 2012 23:36:07 +0200
Subject: [PATCH] schannel: provide two additional (dummy) API defines
---
lib/curl_schannel.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/curl_schannel.h b/lib/curl_schannel.h
index 4f48f16..cf5b79a 100644
--- a/lib/curl_schannel.h
+++ b/lib/curl_schannel.h
@@ -135,6 +135,7 @@ size_t Curl_schannel_version(char *buffer, size_t size);
#define curlssl_version Curl_schannel_version
#define curlssl_check_cxn(x) (x=x, -1)
#define curlssl_data_pending Curl_schannel_data_pending
-
+#define curlssl_random /* not used with the schannel backend */
+#define curlssl_md5sum /* not used with the schannel backend */
#endif /* USE_SCHANNEL */
#endif /* HEADER_CURL_SCHANNEL_H */
--
1.7.10.4
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html