The unified diff between revisions [92f17752..] and [965528e6..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'include/adler32.h'
#
#
# patch "include/adler32.h"
# from [790f43914697cb5f6a1e373a5620c92c1c63e8b4]
# to [d0efdb2ca6a2312ef2e2abeba1c110fc15c888e8]
#
============================================================
--- include/adler32.h 790f43914697cb5f6a1e373a5620c92c1c63e8b4
+++ include/adler32.h d0efdb2ca6a2312ef2e2abeba1c110fc15c888e8
@@ -1,6 +1,6 @@
/*************************************************
* Adler32 Header File *
-* (C) 1999-2006 The Botan Project *
+* (C) 1999-2007 Jack Lloyd *
*************************************************/
#ifndef BOTAN_ADLER32_H__
@@ -13,7 +13,7 @@ namespace Botan {
/*************************************************
* Adler32 *
*************************************************/
-class Adler32 : public HashFunction
+class BOTAN_DLL Adler32 : public HashFunction
{
public:
void clear() throw() { S1 = 1; S2 = 0; }
@@ -25,7 +25,7 @@ class Adler32 : public HashFunction
void add_data(const byte[], u32bit);
void final_result(byte[]);
void hash(const byte[], u32bit);
- u32bit S1, S2;
+ u16bit S1, S2;
};
}