diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-29 09:57:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-29 10:00:59 +0100 |
commit | 2a66c02553bbcfbb9e646c39ec291fb2eefbf6bb (patch) | |
tree | 0d065510438e037ffa4638fb2f7981bd16ef2e36 /sdext | |
parent | loplugin:staticmethods (diff) | |
download | core-2a66c02553bbcfbb9e646c39ec291fb2eefbf6bb.tar.gz core-2a66c02553bbcfbb9e646c39ec291fb2eefbf6bb.zip |
Resolves: tdf#84121 wrong password passed to xpdfimport
regression from...
commit eb276d11a652601f743d69ada7a38016bd97d73e
Author: Fridrich Štrba <fridrich.strba@bluewin.ch>
Date: Mon Jul 8 14:01:17 2013 +0200
fdo#38878: Upgrading internal xpdf -> poppler
before this the hashed _OOO_pdfi_Credentials_ was used
in the removed OOoImportSecurityhandler::authorize
but after this the hashed password continued to be
passed through stdin, while the unhashed password
was the required data.
Change-Id: Iadc8a372abcfab514f724dd95f05776e5153d007
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/wrapper/wrapper.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx index 4db5b3149ba1..e15ba172ad12 100644 --- a/sdext/source/pdfimport/wrapper/wrapper.cxx +++ b/sdext/source/pdfimport/wrapper/wrapper.cxx @@ -961,13 +961,6 @@ static bool checkEncryption( const OUString& i_rPa OSL_TRACE( "password: %s", bAuthenticated ? "matches" : "does not match" ); bSuccess = bAuthenticated; } - if( bAuthenticated ) - { - OUStringBuffer aBuf( 128 ); - aBuf.append( "_OOO_pdfi_Credentials_" ); - aBuf.append( pPDFFile->getDecryptionKey() ); - io_rPwd = aBuf.makeStringAndClear(); - } } else if( i_xIHdl.is() ) { |