diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2013-09-08 21:23:30 +0200 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2013-09-08 21:33:58 +0200 |
commit | 05a01a824715de7e8e5d3d65b73e8fc855e5dad9 (patch) | |
tree | a5979b4c36219198bf5f4934494273ee819b416f /lasso/xml/tools.c | |
parent | b6faccae0fabfd7e47fc6b86a06fc78367446526 (diff) | |
download | lasso-05a01a824715de7e8e5d3d65b73e8fc855e5dad9.tar.gz lasso-05a01a824715de7e8e5d3d65b73e8fc855e5dad9.tar.xz lasso-05a01a824715de7e8e5d3d65b73e8fc855e5dad9.zip |
fix compilation errors on 64bits architectures
* sizeof(unsigned int) != sizeof(size_t)
* INT_MAX != LONG_MAX
Diffstat (limited to 'lasso/xml/tools.c')
-rw-r--r-- | lasso/xml/tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c index f73cb1f2..9eb7e57b 100644 --- a/lasso/xml/tools.c +++ b/lasso/xml/tools.c @@ -639,7 +639,7 @@ lasso_query_verify_helper(const char *signed_content, const char *b64_signature, xmlSecByte *signature = NULL; int key_size = 0; unsigned char *hmac_key = NULL; - unsigned int hmac_key_length = 0; + size_t hmac_key_length = 0; const EVP_MD *md = NULL; lasso_error_t rc = 0; LassoSignatureMethod method = LASSO_SIGNATURE_METHOD_NONE; |