diff options
Diffstat (limited to 'src/lib/stream/rc4/rc4.h')
-rw-r--r-- | src/lib/stream/rc4/rc4.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/stream/rc4/rc4.h b/src/lib/stream/rc4/rc4.h index 796e8d9f9..d59ce01f0 100644 --- a/src/lib/stream/rc4/rc4.h +++ b/src/lib/stream/rc4/rc4.h @@ -26,12 +26,9 @@ class BOTAN_PUBLIC_API(2,0) RC4 final : public StreamCipher void clear() override; std::string name() const override; - StreamCipher* clone() const override { return new RC4(m_SKIP); } + StreamCipher* clone() const override; - Key_Length_Specification key_spec() const override - { - return Key_Length_Specification(1, 256); - } + Key_Length_Specification key_spec() const override; /** * @param skip skip this many initial bytes in the keystream |