Kaydet (Commit) 3f9049a2 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Andras Timar

Resolves: rhbz#1647507 try inputted password as both user and owner password

Change-Id: Ibe1fae39d3153238e85400c9645766c260c9290d
Reviewed-on: https://gerrit.libreoffice.org/63081
Tested-by: Jenkins
Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
(cherry picked from commit 6ec29250)
üst 9ae27d62
...@@ -101,9 +101,11 @@ int main(int argc, char **argv) ...@@ -101,9 +101,11 @@ int main(int argc, char **argv)
: (ownerPassword[0] != '\001' : (ownerPassword[0] != '\001'
? new GooString(ownerPassword) ? new GooString(ownerPassword)
: nullptr ) ); : nullptr ) );
GooString* pUserPasswordStr( userPassword[0] != '\001' GooString* pUserPasswordStr( aPwBuf[0] != 0
? new GooString( aPwBuf )
: (userPassword[0] != '\001'
? new GooString(userPassword) ? new GooString(userPassword)
: nullptr ); : nullptr ) );
if( outputFile[0] != '\001' ) if( outputFile[0] != '\001' )
g_binary_out = fopen(outputFile,"wb"); g_binary_out = fopen(outputFile,"wb");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment