diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2013-08-07 15:08:55 +0100 |
---|---|---|
committer | Paul Gardiner <paulg.artifex@glidos.net> | 2013-08-13 16:36:05 +0100 |
commit | 7b11a823f9e35c971cc4f1719a6f9c3947a2ba47 (patch) | |
tree | d15ffa5bf98000b2c88f29c01b55a7a3777be27c /source/pdf/pdf-pkcs7.c | |
parent | 8d5ef1952803d060c8042de274fa7f59f1cdb66e (diff) | |
download | mupdf-7b11a823f9e35c971cc4f1719a6f9c3947a2ba47.tar.xz |
Remove unnecessary parameter
Diffstat (limited to 'source/pdf/pdf-pkcs7.c')
-rw-r--r-- | source/pdf/pdf-pkcs7.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/pdf/pdf-pkcs7.c b/source/pdf/pdf-pkcs7.c index b2f6a348..6515abc6 100644 --- a/source/pdf/pdf-pkcs7.c +++ b/source/pdf/pdf-pkcs7.c @@ -339,8 +339,9 @@ exit: return res; } -int pdf_check_signature(fz_context *ctx, pdf_document *doc, pdf_widget *widget, char *file, char *ebuf, int ebufsize) +int pdf_check_signature(pdf_document *doc, pdf_widget *widget, char *file, char *ebuf, int ebufsize) { + fz_context *ctx = doc->ctx; int (*byte_range)[2] = NULL; int byte_range_len; char *contents = NULL; @@ -388,7 +389,7 @@ int pdf_check_signature(fz_context *ctx, pdf_document *doc, pdf_widget *widget, #else /* HAVE_OPENSSL */ -int pdf_check_signature(fz_context *ctx, pdf_document *doc, pdf_widget *widget, char *file, char *ebuf, int ebufsize) +int pdf_check_signature(pdf_document *doc, pdf_widget *widget, char *file, char *ebuf, int ebufsize) { fz_strlcpy(ebuf, "This version of MuPDF was built without signature support", ebufsize); return 0; |