summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Gardiner <paul.gardiner@artifex.com>2018-01-09 10:08:43 +0000
committerPaul Gardiner <paul.gardiner@artifex.com>2018-01-19 13:52:25 +0000
commit660d5b95cd1982e0c3456a754cea569dc342d6f7 (patch)
tree9d05c04539ba38327657a294040f8fab53c86898 /include
parentbcce8e5dc38509c5aa43174a0d6e0341444f1d87 (diff)
downloadmupdf-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 'include')
-rw-r--r--include/mupdf/pdf/crypt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/pdf/crypt.h b/include/mupdf/pdf/crypt.h
index 46970870..e29da8ca 100644
--- a/include/mupdf/pdf/crypt.h
+++ b/include/mupdf/pdf/crypt.h
@@ -52,7 +52,7 @@ int pdf_signature_widget_contents(fz_context *ctx, pdf_document *doc, pdf_widget
/*
pdf_check_signature: check a signature's certificate chain and digest
*/
-int pdf_check_signature(fz_context *ctx, pdf_document *doc, pdf_widget *widget, char *file, char *ebuf, int ebufsize);
+int pdf_check_signature(fz_context *ctx, pdf_document *doc, pdf_widget *widget, char *ebuf, int ebufsize);
/*
pdf_sign_signature: sign a signature form field