summaryrefslogtreecommitdiff
path: root/trust/extract-openssl.c
diff options
context:
space:
mode:
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) |