Hi Victor,

Thanks for your patch. I commited it to SVN. Ugly little typo ....

Regards,
  Dom

On Mon, Dec 12, 2011 at 8:54 PM, Victor Ivashin <[email protected]>wrote:

> **
> Hello,
>
> I am parsing an encrypted PDF with user and owner passwords.  A 'typo' in
> PdfEncrypt.cpp (line 705) is preventing the owner password from
> authenticating.  Please see a patch for this line below.
>
> In method: bool PdfEncrypt::Authenticate( const std::string & password,
> const PdfString & documentId ).
>
>     if (!ok)
>     {
>     ...
> -       ok = CheckKey( userKey, m_oValue );
> +       ok = CheckKey( userKey, m_uValue );
>     ...
>     }
>
> The above modification matches existing code in the other
> "Authenticate" method (line 744).
>
> Thanks for the great library.
> Regards,
> Victor
>
>
>
>
> ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
>
------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to