Kaydet (Commit) e3ca8385 authored tarafından Caolán McNamara's avatar Caolán McNamara

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

Change-Id: Ibe1fae39d3153238e85400c9645766c260c9290d
Reviewed-on: https://gerrit.libreoffice.org/63080
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst c3aef7a8
......@@ -101,9 +101,11 @@ int main(int argc, char **argv)
: (ownerPassword[0] != '\001'
? new GooString(ownerPassword)
: nullptr ) );
GooString* pUserPasswordStr( userPassword[0] != '\001'
GooString* pUserPasswordStr( aPwBuf[0] != 0
? new GooString( aPwBuf )
: (userPassword[0] != '\001'
? new GooString(userPassword)
: nullptr );
: nullptr ) );
if( outputFile[0] != '\001' )
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