The unified diff between revisions [f46ce665..] and [6f1527db..] is displayed below. It can also be downloaded as a raw diff.

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

#
#
# patch "include/rng.h"
#  from [0f20ace59cb400d38fbf9ff6e96f305b39e59418]
#    to [79796317eeefa9e0d7aaa70f0351c0638d41a6d2]
#
============================================================
--- include/rng.h	0f20ace59cb400d38fbf9ff6e96f305b39e59418
+++ include/rng.h	79796317eeefa9e0d7aaa70f0351c0638d41a6d2
@@ -31,7 +31,7 @@ class BOTAN_DLL RandomNumberGenerator

       virtual void randomize(byte[], u32bit) = 0;
       virtual bool is_seeded() const = 0;
-      virtual void clear() throw() {};
+      virtual void clear() throw() = 0;

       byte next_byte();

@@ -54,6 +54,8 @@ class BOTAN_DLL Null_RNG : public Random
    {
    public:
       void randomize(byte[], u32bit) { throw PRNG_Unseeded("Null_RNG"); }
+      void clear() throw() {};
+
       bool is_seeded() const { return false; }
       void add_entropy(const byte[], u32bit) {}
       void add_entropy_source(EntropySource* es) { delete es; }