diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-10-02 21:31:48 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-10-02 21:31:48 +0000 |
commit | 04c9953047af2c98e1b84a6a81d6cad86d4abae7 (patch) | |
tree | d91fbcbe1737588fec99e9842767bb4577b98522 /package/source | |
parent | fd219ad9e51e934679dce70a961dafed7aa181ad (diff) |
#90699# use 'check sum type' instead of MD5
Diffstat (limited to 'package/source')
-rw-r--r-- | package/source/manifest/ManifestImport.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/source/manifest/ManifestImport.cxx b/package/source/manifest/ManifestImport.cxx index c0b9fda331f9..39afac4ad4a7 100644 --- a/package/source/manifest/ManifestImport.cxx +++ b/package/source/manifest/ManifestImport.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ManifestImport.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: mtg $ $Date: 2001-09-05 19:23:48 $ + * last change: $Author: mtg $ $Date: 2001-10-02 22:31:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -108,7 +108,7 @@ ManifestImport::ManifestImport( vector < Sequence < PropertyValue > > & rNewManV , sWhiteSpace ( RTL_CONSTASCII_USTRINGPARAM ( " " ) ) , sBlowfish ( RTL_CONSTASCII_USTRINGPARAM ( "Blowfish CFB" ) ) , sPBKDF2 ( RTL_CONSTASCII_USTRINGPARAM ( "PBKDF2" ) ) -, sMD5 ( RTL_CONSTASCII_USTRINGPARAM ( "MD5" ) ) +, sChecksumType ( RTL_CONSTASCII_USTRINGPARAM ( CHECKSUM_TYPE ) ) { } ManifestImport::~ManifestImport (void ) @@ -153,7 +153,7 @@ void SAL_CALL ManifestImport::startElement( const OUString& aName, const uno::Re // to store the initialisation vector, salt and iteration count used aStack.push (e_EncryptionData ); OUString aString = xAttribs->getValueByName ( sChecksumTypeAttribute ); - if (aString == sMD5 && !bIgnoreEncryptData) + if (aString == sChecksumType && !bIgnoreEncryptData) { aString = xAttribs->getValueByName ( sChecksumAttribute ); Sequence < sal_uInt8 > aDecodeBuffer; |