Re: [Podofo-users] Problem with loading password protected PDF

2016-05-11 Thread zyx
On Wed, 2016-05-11 at 09:59 +0200, F. E. wrote: > we created a patch ourselves, I'll just attach it and hope it fits Hi, it looks fine, I only moved the line above the MESSAGE and indented it with it. I committed your change as revision 1723: https://sourceforge.net/p/podofo/code/1723

Re: [Podofo-users] Problem with loading password protected PDF

2016-05-11 Thread F. E.
Hi, we created a patch ourselves, I'll just attach it and hope it fits :). Best regards F.E. 2016-05-10 20:57 GMT+02:00 zyx : > On Tue, 2016-05-10 at 18:07 +0200, F. E. wrote: > > Is there a reason the INCLUDE_DIRECTORIES are not set for OpenSSL or > > is it just a bug? > >

Re: [Podofo-users] Problem with loading password protected PDF

2016-05-10 Thread zyx
On Tue, 2016-05-10 at 18:07 +0200, F. E. wrote: > Is there a reason the INCLUDE_DIRECTORIES are not set for OpenSSL or > is it just a bug? Hi, I believe it's just a bug. Could you share your change in a form of a patch, please? (If you are not having a svn checkout, then have a file

Re: [Podofo-users] Problem with loading password protected PDF

2016-05-10 Thread F. E.
Hello again, Thanks for the last answer. I tried running the encrypt.cpp, but encountered compile, link and runtime errors (bad alloc). With the help of a collegue we started from scratch and rebuilt podofo and all dependent libraries. Now it's working, my example code as well as encrypt.cpp.

Re: [Podofo-users] Problem with loading password protected PDF

2016-05-04 Thread zyx
On Wed, 2016-05-04 at 09:45 +0200, Max Müller wrote: > when playing around with Podofo I stumbled upon an issue that I'm not > able to load password protected PDFs. Hi, could you try to compile and run the encrypt.cpp attached at https://sourceforge.net/p/podofo/mailman/message/34065834/

[Podofo-users] Problem with loading password protected PDF

2016-05-04 Thread Max Müller
Hello, when playing around with Podofo I stumbled upon an issue that I'm not able to load password protected PDFs. I already saw some earlier issues from other people (e.g. https://www.mail-archive.com/podofo-users@lists.sourceforge.net/msg01145.html), but that doesn't help me. My procedure: I