[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] pdf-filter Error calling pdf_crypt_init

From: Aleksander Morgado
Subject: Re: [pdf-devel] pdf-filter Error calling pdf_crypt_init
Date: Mon, 29 Aug 2011 21:43:11 +0200

Hi Georg,

> On 29.08.2011 21:15, Franck Lesage wrote:
> > bash-4.1# ./pdf-filter -i ../torture/testdata/TD00002 --jbig2dec 
> > --jbig2dec-globals=../torture/testdata/TD00001
> > Error calling pdf_crypt_init().
> > bash-4.1#  
> > 
> > Does someone experience the same problem ?
> Yes.
> pdf-crypt.c:pdf_crypt_init() returns PDF_TRUE but pdf-filter.c tests on
> PDF_OK. If you change the test in pdf-filter to PDF_TRUE it works.
> A patch is attached.

Thanks for the patch, but the real fix is to fully avoid calling
pdf_crypt_init() directly. This is already called when the program
starts via pdf_init(), which should be the only initialization method in
the library. Already pushed that fix.



Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]