1 Temporary patch to make USE_PDF_PERMISSIONS section build.
5 --- a/pdf/ghostpdf.c 2024-08-08 08:57:38.839673047 +0200
6 +++ b/pdf/ghostpdf.c 2024-08-08 08:58:13.552200321 +0200
9 /* See comment in pdfi_read_Root() (pdf_doc.c) for details */
10 pdf_dict *d = ctx->Trailer;
11 + double Permissions = 0;
15 code = pdfi_dict_get(ctx, d, "Encrypt", &o);