aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/lubyrack.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/lubyrack.h b/include/lubyrack.h
index e5a2e2a20..2c4813cb6 100644
--- a/include/lubyrack.h
+++ b/include/lubyrack.h
@@ -1,6 +1,6 @@
/*************************************************
* Luby-Rackoff Header File *
-* (C) 1999-2007 Jack Lloyd *
+* (C) 1999-2008 Jack Lloyd *
*************************************************/
#ifndef BOTAN_LUBY_RACKOFF_H__
@@ -19,7 +19,8 @@ class BOTAN_DLL LubyRackoff : public BlockCipher
void clear() throw();
std::string name() const;
BlockCipher* clone() const;
- LubyRackoff(const std::string&);
+
+ LubyRackoff(HashFunction* hash);
~LubyRackoff() { delete hash; }
private:
void enc(const byte[], byte[]) const;