summaryrefslogtreecommitdiff
path: root/trust/extract-openssl.c
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2013-07-17 20:42:03 +0200
committerStef Walter <stef@thewalter.net>2013-07-18 13:04:37 +0200
commit2a69ff5691e114362564a2ab572cd4b3b20dcc27 (patch)
treef3c25282d90e6a002ba987d0c41798b5319413d8 /trust/extract-openssl.c
parent1548d82560b242579f5ba216b66bd59ccd0f3fd0 (diff)
Always pass size_t varargs to p11_hash_xxx() functions
https://bugzilla.redhat.com/show_bug.cgi?id=985421
Diffstat (limited to 'trust/extract-openssl.c')
-rw-r--r--trust/extract-openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/extract-openssl.c b/trust/extract-openssl.c
index c2d37f3..666f189 100644
--- a/trust/extract-openssl.c
+++ b/trust/extract-openssl.c
@@ -572,7 +572,7 @@ symlink_for_subject_old_hash (p11_extract_info *ex)
if (!subject)
return NULL;
- p11_digest_md5 (md, subject->pValue, subject->ulValueLen, NULL);
+ p11_digest_md5 (md, subject->pValue, (size_t)subject->ulValueLen, NULL);
hash = (
((unsigned long)md[0] ) | ((unsigned long)md[1] << 8L) |