diff options
Diffstat (limited to 'crypto/cms/cms_dd.c')
-rw-r--r-- | crypto/cms/cms_dd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cms/cms_dd.c b/crypto/cms/cms_dd.c index a927caad8e..e3da7555b7 100644 --- a/crypto/cms/cms_dd.c +++ b/crypto/cms/cms_dd.c @@ -121,7 +121,7 @@ int cms_DigestedData_do_final(CMS_ContentInfo *cms, BIO *chain, int verify) if (verify) { - if (mdlen != dd->digest->length) + if (mdlen != (unsigned int)dd->digest->length) { CMSerr(CMS_F_CMS_DIGESTEDDATA_DO_FINAL, CMS_R_MESSAGEDIGEST_WRONG_LENGTH); |