summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-pkcs7.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-11-02 16:18:11 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-11-02 16:31:32 +0100
commitfa7b06100f3c49abcac263f27368082040a2f95e (patch)
tree55500d82cc77242d97eb32740204cad3405fc115 /source/pdf/pdf-pkcs7.c
parent1dc763159b03cbd4387713f353f26c890d2c0e52 (diff)
downloadmupdf-fa7b06100f3c49abcac263f27368082040a2f95e.tar.xz
Fixes for win32 build.
Diffstat (limited to 'source/pdf/pdf-pkcs7.c')
-rw-r--r--source/pdf/pdf-pkcs7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-pkcs7.c b/source/pdf/pdf-pkcs7.c
index 735548d0..cab54742 100644
--- a/source/pdf/pdf-pkcs7.c
+++ b/source/pdf/pdf-pkcs7.c
@@ -303,7 +303,7 @@ static int pk7_verify(X509_STORE *cert_store, PKCS7 *p7, BIO *detached, char *eb
else
{
/* Error while checking the certificate chain */
- snprintf(ebuf, ebufsize, "%s(%d): %s", X509_verify_cert_error_string(vctx.err), vctx.err, vctx.certdesc);
+ fz_snprintf(ebuf, ebufsize, "%s(%d): %s", X509_verify_cert_error_string(vctx.err), vctx.err, vctx.certdesc);
}
res = 0;