summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-05-08 12:46:25 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-05-08 12:46:25 +0000
commitae8344680ffcaa4fc6f380f65007938c3c4d930e (patch)
tree2e832bd1dbf3848528628602d7716d921e5efb29
parent5182e8811a56fd4218c74aabb245683b950ea280 (diff)
Make IterationCount 32 bit
-rw-r--r--package/inc/EncryptionData.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/inc/EncryptionData.hxx b/package/inc/EncryptionData.hxx
index 2220efdf7ed0..4146479248d0 100644
--- a/package/inc/EncryptionData.hxx
+++ b/package/inc/EncryptionData.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: EncryptionData.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: mtg $ $Date: 2001-04-27 14:56:52 $
+ * last change: $Author: mtg $ $Date: 2001-05-08 13:46:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,10 +71,11 @@
class EncryptionData : public cppu::OWeakObject
{
public:
+ // On export aKey holds the derived key
+ // On import aKey holds the hash of the user enterred key
com::sun::star::uno::Sequence < sal_Int8 > aKey;
- com::sun::star::uno::Sequence < sal_Int8 > aSalt;
- com::sun::star::uno::Sequence < sal_Int8 > aInitVector;
- sal_Int64 nIterationCount;
+ com::sun::star::uno::Sequence < sal_uInt8 > aSalt, aInitVector;
+ sal_Int32 nIterationCount;
EncryptionData(): nIterationCount ( 0 ){}
};
#endif