aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-01-07 23:40:24 +0000
committerlloyd <[email protected]>2010-01-07 23:40:24 +0000
commit9900914a225c97aca575df268f73f7c6c366e697 (patch)
tree4f5525cc27e8473379f4965bb9b1dd7e1df109a3 /src/stream
parent667738924ba1fde5bf219d963b433594d53d63b9 (diff)
parent2837e915d82e439730624f15bfc8c820475c9d65 (diff)
merge of 'bf0e5684d8ba5fb0a21cdcd11d26995cbb250c4a'
and 'e30a741f6014987e9683842ede22c44b2db03c56'
Diffstat (limited to 'src/stream')
-rw-r--r--src/stream/stream_cipher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/stream_cipher.h b/src/stream/stream_cipher.h
index 29c16c8b5..cb6fb3481 100644
--- a/src/stream/stream_cipher.h
+++ b/src/stream/stream_cipher.h
@@ -42,8 +42,8 @@ class BOTAN_DLL StreamCipher : public SymmetricAlgorithm
virtual void set_iv(const byte[], u32bit iv_len)
{
if(iv_len)
- throw Exception("The stream cipher " + name() +
- " does not support resyncronization");
+ throw Invalid_Argument("The stream cipher " + name() +
+ " does not support resyncronization");
}
/**