From 9d892e2fe8b293bb6052a07c1a9de4bb79d940e2 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 3 Feb 2003 23:59:45 +0000 Subject: [PATCH] add missing #include, and fix CounterMode typedef --- trunk/c5/modes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/c5/modes.h b/trunk/c5/modes.h index b57bd8d1..457cf16d 100644 --- a/trunk/c5/modes.h +++ b/trunk/c5/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