aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/filters/basefilt.cpp7
-rw-r--r--src/filters/key_filt.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/filters/basefilt.cpp b/src/filters/basefilt.cpp
index c91a5aa62..bf9a526df 100644
--- a/src/filters/basefilt.cpp
+++ b/src/filters/basefilt.cpp
@@ -6,9 +6,16 @@
*/
#include <botan/basefilt.h>
+#include <botan/key_filt.h>
+
+#include <assert.h>
namespace Botan {
+void Keyed_Filter::set_iv(const InitializationVector&)
+ {
+ }
+
/*
* Chain Constructor
*/
diff --git a/src/filters/key_filt.h b/src/filters/key_filt.h
index 6f3d23fcd..5b34751b4 100644
--- a/src/filters/key_filt.h
+++ b/src/filters/key_filt.h
@@ -30,7 +30,7 @@ class BOTAN_DLL Keyed_Filter : public Filter
* Set the initialization vector of this filter.
* @param iv the initialization vector to set
*/
- virtual void set_iv(const InitializationVector& iv) {}
+ virtual void set_iv(const InitializationVector& iv);
/**
* Check whether a key length is valid for this filter.