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. --- platform/x11/pdfapp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform') diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c index 7590213e..6b04720d 100644 --- a/platform/x11/pdfapp.c +++ b/platform/x11/pdfapp.c @@ -1718,7 +1718,7 @@ void pdfapp_onmouse(pdfapp_t *app, int x, int y, int btn, int modifiers, int sta char ebuf[256]; ebuf[0] = 0; - if (pdf_check_signature(ctx, idoc, widget, app->docpath, ebuf, sizeof(ebuf))) + if (pdf_check_signature(ctx, idoc, widget, ebuf, sizeof(ebuf))) { winwarn(app, "Signature is valid"); } -- cgit v1.2.3