From 7ee2ddd71a6d9cf2ebfe6065efeebdf035442735 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Mon, 18 Sep 2023 09:21:21 +1200 Subject: [PATCH] hx509: Use correct format specifier Found by Coverity (Samba CID 1544606). Signed-off-by: Joseph Sutton --- lib/hx509/cms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hx509/cms.c b/lib/hx509/cms.c index c770b8132..1cc133b78 100644 --- a/lib/hx509/cms.c +++ b/lib/hx509/cms.c @@ -935,7 +935,7 @@ hx509_cms_verify_signed_ext(hx509_context context, if (signer_info->signature.length == 0) { ret = HX509_CMS_MISSING_SIGNER_DATA; hx509_set_error_string(context, 0, ret, - "SignerInfo %d in SignedData " + "SignerInfo %zu in SignedData " "missing sigature", i); continue; }