Justify wheel re-invention
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 1 Oct 2008 09:14:23 +0000 (10:14 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 1 Oct 2008 09:14:23 +0000 (10:14 +0100)
http.c

diff --git a/http.c b/http.c
index 298cc1f..aae899e 100644 (file)
--- a/http.c
+++ b/http.c
 
 #include "anyconnect.h"
 
+/*
+ * We didn't really want to have to do this for ourselves -- one might have 
+ * thought that it would be available in a library somewhere. But neither
+ * cURL nor Neon have reliable cross-platform ways of either using a cert
+ * from the TPM, or just reading from / writing to a transport which is
+ * provided by their caller.
+ */
+
 int process_http_response(struct anyconnect_info *vpninfo, int *result,
                          int (*header_cb)(struct anyconnect_info *, char *, char *),
                          char *body, int buf_len)