From 660d5b95cd1982e0c3456a754cea569dc342d6f7 Mon Sep 17 00:00:00 2001 From: Paul Gardiner Date: Tue, 9 Jan 2018 10:08:43 +0000 Subject: 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. --- source/tools/pdfsign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/tools') 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); } -- cgit v1.2.3