aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-09-06 03:15:11 +0000
committerlloyd <[email protected]>2006-09-06 03:15:11 +0000
commit603c90c01ab1c967fd80e2e39b9cf3b48189d6a6 (patch)
tree949985fab6d98a6a1d0968d63bcd1328e23b543d /include
parentcde52e8f9120e3fb8acd124b9b47692a87b92d8b (diff)
Move the name() declaration in BlockCipherModePaddingMethod to match the
class definition in 1.4.12
Diffstat (limited to 'include')
-rw-r--r--include/mode_pad.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mode_pad.h b/include/mode_pad.h
index a2c56f2eb..30f9ebf1a 100644
--- a/include/mode_pad.h
+++ b/include/mode_pad.h
@@ -17,12 +17,11 @@ namespace Botan {
class BlockCipherModePaddingMethod
{
public:
- virtual std::string name() const = 0;
-
virtual void pad(byte[], u32bit, u32bit) const = 0;
virtual u32bit unpad(const byte[], u32bit) const = 0;
virtual u32bit pad_bytes(u32bit, u32bit) const;
virtual bool valid_blocksize(u32bit) const = 0;
+ virtual std::string name() const = 0;
virtual ~BlockCipherModePaddingMethod() {}
};