From 572fe07633123ce38abf28c6426356e37aef3a99 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 4 Jul 2003 00:17:37 +0000 Subject: create DLL version, fix GetNextIV() bug in CTR and OFB modes git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@87 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- channels.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'channels.cpp') diff --git a/channels.cpp b/channels.cpp index 7bb31dd..8cc3f6e 100644 --- a/channels.cpp +++ b/channels.cpp @@ -1,6 +1,9 @@ // channels.cpp - written and placed in the public domain by Wei Dai #include "pch.h" + +#ifndef CRYPTOPP_IMPORTS + #include "channels.h" NAMESPACE_BEGIN(CryptoPP) @@ -151,7 +154,7 @@ unsigned int ChannelSwitch::ChannelPut2(const std::string &channel, const byte * while (!m_it.End()) { - WasBlocked: +WasBlocked: if (m_it.Destination().ChannelPut2(m_it.Channel(), begin, length, messageEnd, blocking)) { m_blocked = true; @@ -311,3 +314,5 @@ void ChannelSwitch::RemoveRoute(const std::string &inChannel, BufferedTransforma } NAMESPACE_END + +#endif -- cgit v1.2.1