summaryrefslogtreecommitdiff
path: root/modes.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-02-03 23:59:45 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-02-03 23:59:45 +0000
commit4c75de69b24871de29dce26c81fc8e1644b91964 (patch)
treec8968cc404e1e24de6d7418de36a6859c655d3bf /modes.h
parentea373db68cd05be2afbd10fdb3cc76f7a1d44527 (diff)
downloadcryptopp-4c75de69b24871de29dce26c81fc8e1644b91964.tar.gz
add missing #include, and fix CounterMode typedef
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@27 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'modes.h')
-rw-r--r--modes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/modes.h b/modes.h
index b57bd8d..457cf16 100644
--- a/modes.h
+++ b/modes.h
@@ -9,6 +9,7 @@
#include "misc.h"
#include "strciphr.h"
#include "argnames.h"
+#include "algparam.h"
NAMESPACE_BEGIN(CryptoPP)
@@ -361,7 +362,7 @@ struct CBC_CTS_Mode_ExternalCipher : public CipherModeDocumentation
typedef CFB_Mode_ExternalCipher::Encryption CFBEncryption;
typedef CFB_Mode_ExternalCipher::Decryption CFBDecryption;
typedef OFB_Mode_ExternalCipher::Encryption OFB;
-typedef OFB_Mode_ExternalCipher::Encryption CounterMode;
+typedef CTR_Mode_ExternalCipher::Encryption CounterMode;
#endif
NAMESPACE_END