summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/storagehelper.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-03-27 22:08:02 +0200
committerMikhail Voytenko <mav@openoffice.org>2011-03-27 22:08:02 +0200
commit8b361b59c7f668d66c6721389f7af7eefb56ce80 (patch)
tree7f3cfc1f17333cccbe8edef7525ebf46aa27c66d /comphelper/source/misc/storagehelper.cxx
parentf8691415aee65ddac28bd993bd4f6d0882685dad (diff)
mav60: #164341# use simple nss initialization in case mscrypto is used
Diffstat (limited to 'comphelper/source/misc/storagehelper.cxx')
-rw-r--r--comphelper/source/misc/storagehelper.cxx4
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,