The unified diff between revisions [92f17752..] and [11a5f681..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'include/base.h'

#
#
# patch "include/base.h"
#  from [40430e25cf4f29f136af7d391a217ef727e1c0c9]
#    to [54a99ec584afb04330ebe7b6c2baaca06a0c0246]
#
============================================================
--- include/base.h	40430e25cf4f29f136af7d391a217ef727e1c0c9
+++ include/base.h	54a99ec584afb04330ebe7b6c2baaca06a0c0246
@@ -1,6 +1,6 @@
 /*************************************************
 * Base Classes Header File                       *
-* (C) 1999-2006 The Botan Project                *
+* (C) 1999-2007 Jack Lloyd                       *
 *************************************************/

 #ifndef BOTAN_BASE_H__
@@ -19,7 +19,7 @@ static const u32bit DEFAULT_BUFFERSIZE =
 /*************************************************
 * Symmetric Algorithm                            *
 *************************************************/
-class SymmetricAlgorithm
+class BOTAN_DLL SymmetricAlgorithm
    {
    public:
       const u32bit MAXIMUM_KEYLENGTH, MINIMUM_KEYLENGTH, KEYLENGTH_MULTIPLE;
@@ -38,7 +38,7 @@ class SymmetricAlgorithm
 /*************************************************
 * Block Cipher                                   *
 *************************************************/
-class BlockCipher : public SymmetricAlgorithm
+class BOTAN_DLL BlockCipher : public SymmetricAlgorithm
    {
    public:
       const u32bit BLOCK_SIZE;
@@ -61,7 +61,7 @@ class BlockCipher : public SymmetricAlgo
 /*************************************************
 * Stream Cipher                                  *
 *************************************************/
-class StreamCipher : public SymmetricAlgorithm
+class BOTAN_DLL StreamCipher : public SymmetricAlgorithm
    {
    public:
       const u32bit IV_LENGTH;
@@ -85,7 +85,7 @@ class StreamCipher : public SymmetricAlg
 /*************************************************
 * Buffered Computation                           *
 *************************************************/
-class BufferedComputation
+class BOTAN_DLL BufferedComputation
    {
    public:
       const u32bit OUTPUT_LENGTH;
@@ -108,7 +108,7 @@ class BufferedComputation
 /*************************************************
 * Hash Function                                  *
 *************************************************/
-class HashFunction : public BufferedComputation
+class BOTAN_DLL HashFunction : public BufferedComputation
    {
    public:
       const u32bit HASH_BLOCK_SIZE;
@@ -124,7 +124,7 @@ class HashFunction : public BufferedComp
 /*************************************************
 * Message Authentication Code                    *
 *************************************************/
-class MessageAuthenticationCode : public BufferedComputation,
+class BOTAN_DLL MessageAuthenticationCode : public BufferedComputation,
                                   public SymmetricAlgorithm
    {
    public:
@@ -141,7 +141,7 @@ class MessageAuthenticationCode : public
 /*************************************************
 * Entropy Source                                 *
 *************************************************/
-class EntropySource
+class BOTAN_DLL EntropySource
    {
    public:
       virtual u32bit slow_poll(byte[], u32bit) = 0;
@@ -152,11 +152,11 @@ class EntropySource
 /*************************************************
 * Random Number Generator                        *
 *************************************************/
-class RandomNumberGenerator
+class BOTAN_DLL RandomNumberGenerator
    {
    public:
       virtual void randomize(byte[], u32bit) throw(PRNG_Unseeded) = 0;
-      virtual bool is_seeded() const { return true; }
+      virtual bool is_seeded() const = 0;
       virtual void clear() throw() {};

       void add_entropy(const byte[], u32bit);