diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-crypt.c | 2 | ||||
-rw-r--r-- | source/pdf/pdf-xref.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/source/pdf/pdf-crypt.c b/source/pdf/pdf-crypt.c index 92a9e428..e40fad95 100644 --- a/source/pdf/pdf-crypt.c +++ b/source/pdf/pdf-crypt.c @@ -36,7 +36,6 @@ struct pdf_crypt_s int encrypt_metadata; unsigned char key[32]; /* decryption key generated from password */ - fz_context *ctx; }; static void pdf_parse_crypt_filter(fz_context *ctx, pdf_crypt_filter *cf, pdf_crypt *crypt, char *name); @@ -954,7 +953,6 @@ pdf_open_crypt_imp(fz_stream *chain, pdf_crypt *crypt, pdf_crypt_filter *stmf, i unsigned char key[32]; int len; - crypt->ctx = chain->ctx; len = pdf_compute_object_key(crypt, stmf, num, gen, key, 32); if (stmf->method == PDF_CRYPT_RC4) diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c index fbadd0a4..338dec94 100644 --- a/source/pdf/pdf-xref.c +++ b/source/pdf/pdf-xref.c @@ -638,7 +638,6 @@ pdf_read_new_xref(pdf_document *doc, pdf_lexbuf *buf) return trailer; } -/* File is locked on entry, and exit (but may be dropped in the middle) */ static pdf_obj * pdf_read_xref(pdf_document *doc, int ofs, pdf_lexbuf *buf) { |