diff options
author | James Yonan <james@openvpn.net> | 2010-05-11 19:47:03 +0000 |
---|---|---|
committer | James Yonan <james@openvpn.net> | 2010-05-11 19:47:03 +0000 |
commit | 484e9d36d09e3494a6d964c588c353f650a61b5f (patch) | |
tree | cb8bdaf0a8f53e6810c8ac581f6d17db4e0ac4a5 /httpdigest.h | |
parent | Proxy improvements: (diff) | |
download | openvpn-484e9d36d09e3494a6d964c588c353f650a61b5f.tar.xz |
Minor fixes to recent HTTP proxy changes:
* use strcasecmp instead of stricmp
* define HASH and HASHHEX as unsigned char to avoid compiler
warnings
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5629 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r-- | httpdigest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httpdigest.h b/httpdigest.h index d4764a1..fb6d114 100644 --- a/httpdigest.h +++ b/httpdigest.h @@ -25,9 +25,9 @@ #if PROXY_DIGEST_AUTH
#define HASHLEN 16
-typedef char HASH[HASHLEN];
+typedef unsigned char HASH[HASHLEN];
#define HASHHEXLEN 32
-typedef char HASHHEX[HASHHEXLEN+1];
+typedef unsigned char HASHHEX[HASHHEXLEN+1];
#undef IN
#undef OUT
#define IN const
|