aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-16 03:25:48 +0000
committerlloyd <[email protected]>2010-06-16 03:25:48 +0000
commit5c9de864c526f9563d2947709d89fab46339a5a0 (patch)
treeef2e5b38e2bf17941306c807e0b24dd98d6b551d
parent59fed0e232008a3ff42a70d0f3ecbe0b65104c76 (diff)
Move (empty) implementation of Keyed_Filter::set_iv to basefilt.cpp
due to Doxygen vs GCC
-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.