projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
183de44
)
fix sha1 comparison
author
David Woodhouse
<David.Woodhouse@intel.com>
Sun, 5 Oct 2008 11:25:40 +0000
(12:25 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Sun, 5 Oct 2008 11:25:40 +0000
(12:25 +0100)
http.c
patch
|
blob
|
history
diff --git
a/http.c
b/http.c
index
9991284
..
627310b
100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-734,7
+734,7
@@
int openconnect_obtain_cookie(struct openconnect_info *vpninfo)
else if (!strncmp(tok, "fu:", 3))
fu = tok + 3;
else if (!strncmp(tok, "fh:", 3)) {
- if (!strncasecmp(tok, vpninfo->xmlsha1,
+ if (!strncasecmp(tok
+3
, vpninfo->xmlsha1,
SHA_DIGEST_LENGTH * 2))
break;
sha = tok + 3;