strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d81b1a
)
scepclient: Use HTTP 1.0 for all requests.
author
Tobias Brunner
<tobias@strongswan.org>
Wed, 30 May 2012 13:02:32 +0000
(15:02 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Mon, 11 Jun 2012 15:33:28 +0000
(17:33 +0200)
src/scepclient/scep.c
patch
|
blob
|
history
diff --git
a/src/scepclient/scep.c
b/src/scepclient/scep.c
index
433fc6b
..
bed898b
100644
(file)
--- a/
src/scepclient/scep.c
+++ b/
src/scepclient/scep.c
@@
-344,6
+344,7
@@
bool scep_http_request(const char *url, chunk_t pkcs7, scep_op_t op,
snprintf(complete_url, len, "%s?operation=%s", url, operation);
status = lib->fetcher->fetch(lib->fetcher, complete_url, response,
+ FETCH_HTTP_VERSION_1_0,
FETCH_REQUEST_DATA, pkcs7,
FETCH_REQUEST_TYPE, "",
FETCH_REQUEST_HEADER, "Expect:",
@@
-361,6
+362,7
@@
bool scep_http_request(const char *url, chunk_t pkcs7, scep_op_t op,
url, operation);
status = lib->fetcher->fetch(lib->fetcher, complete_url, response,
+ FETCH_HTTP_VERSION_1_0,
FETCH_END);
}