From 8b361b59c7f668d66c6721389f7af7eefb56ce80 Mon Sep 17 00:00:00 2001 From: Mikhail Voytenko Date: Sun, 27 Mar 2011 22:08:02 +0200 Subject: mav60: #164341# use simple nss initialization in case mscrypto is used --- comphelper/source/misc/storagehelper.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'comphelper') 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, -- cgit