diff options
author | Eike Rathke <erack@redhat.com> | 2018-02-26 13:18:22 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-02-26 13:19:12 +0100 |
commit | 530465964a487c9633305bc886c7826f97f7f1ce (patch) | |
tree | dfc33a3db957b83880bd1192dae6a60610f04aac /sc | |
parent | 389405cc49cb07a5414dd2b7ac10d9a7785e012b (diff) |
Prepare to handle OOXML Agile Encryption password hash as well
... that prepends the iteration count to the hash instead of
appending it
Change-Id: I090393e6337c110029e35baaa259b40ef4e5d416
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/tabprotection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/tabprotection.cxx b/sc/source/core/data/tabprotection.cxx index f2aa4d3eb4e8..5edc032ffe06 100644 --- a/sc/source/core/data/tabprotection.cxx +++ b/sc/source/core/data/tabprotection.cxx @@ -95,7 +95,7 @@ bool ScOoxPasswordHash::verifyPassword( const OUString& aPassText ) const return false; const OUString aHash( comphelper::DocPasswordHelper::GetOoxHashAsBase64( - aPassText, maSaltValue, mnSpinCount, maAlgorithmName)); + aPassText, maSaltValue, mnSpinCount, false, maAlgorithmName)); if (aHash.isEmpty()) // unsupported algorithm return false; |