diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2018-01-09 10:08:43 +0000 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2018-01-19 13:52:25 +0000 |
commit | 660d5b95cd1982e0c3456a754cea569dc342d6f7 (patch) | |
tree | 9d05c04539ba38327657a294040f8fab53c86898 /source/tools | |
parent | bcce8e5dc38509c5aa43174a0d6e0341444f1d87 (diff) | |
download | mupdf-660d5b95cd1982e0c3456a754cea569dc342d6f7.tar.xz |
Perform signature verification via fz_stream
Previously, signature verification worked only for file-based documents
and the file path had to be passed into the verification function.
Diffstat (limited to 'source/tools')
-rw-r--r-- | source/tools/pdfsign.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/pdfsign.c b/source/tools/pdfsign.c index 81b78ab7..bc14be41 100644 --- a/source/tools/pdfsign.c +++ b/source/tools/pdfsign.c @@ -24,7 +24,7 @@ void verify_signature(fz_context *ctx, pdf_document *doc, int n, pdf_widget *wid { char msg[256]; printf("verifying signature on page %d\n", n+1); - pdf_check_signature(ctx, doc, widget, filename, msg, sizeof msg); + pdf_check_signature(ctx, doc, widget, msg, sizeof msg); printf(" result: '%s'\n", msg); } |