diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2011-03-27 22:08:02 +0200 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2011-03-27 22:08:02 +0200 |
commit | 8b361b59c7f668d66c6721389f7af7eefb56ce80 (patch) | |
tree | 7f3cfc1f17333cccbe8edef7525ebf46aa27c66d /comphelper | |
parent | mav60: #164341# fix typo (diff) | |
download | core-8b361b59c7f668d66c6721389f7af7eefb56ce80.tar.gz core-8b361b59c7f668d66c6721389f7af7eefb56ce80.zip |
mav60: #164341# use simple nss initialization in case mscrypto is used
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/storagehelper.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/comphelper/source/misc/storagehelper.cxx b/comphelper/source/misc/storagehelper.cxx index b6d46f3d291d..9b4e7a15cfca 100644 --- a/comphelper/source/misc/storagehelper.cxx +++ b/comphelper/source/misc/storagehelper.cxx @@ -451,7 +451,9 @@ uno::Sequence< beans::NamedValue > OStorageHelper::CreatePackageEncryptionData( aEncryptionData[0].Value <<= aDigest; } catch ( uno::Exception& ) - {} + { + OSL_ENSURE( false, "Can not create SHA256 digest!" ); + } // MS_1252 encoding was used for SO60 document format password encoding, // this encoding supports only a minor subset of nonascii characters, |