summaryrefslogtreecommitdiff
path: root/lib/crypto/CipherContext.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-04-04 21:59:29 +0000
committerChris Wilson <chris+github@qwirx.com>2008-04-04 21:59:29 +0000
commit3661f3624acc46590d5504fda4f8714255fb2c8e (patch)
treee2cd17e19718d3f46944979a23e4c93dcf92584b /lib/crypto/CipherContext.cpp
parent2f8d0c29536cdb306b525b78638727da4ead0022 (diff)
Tailorization
Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00
Diffstat (limited to 'lib/crypto/CipherContext.cpp')
-rw-r--r--lib/crypto/CipherContext.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/crypto/CipherContext.cpp b/lib/crypto/CipherContext.cpp
index d68c4b5d..8c3b25b2 100644
--- a/lib/crypto/CipherContext.cpp
+++ b/lib/crypto/CipherContext.cpp
@@ -166,8 +166,7 @@ void CipherContext::Begin()
// Warn if in a transformation (not an error, because a context might not have been finalised if an exception occured)
if(mWithinTransform)
{
- BOX_WARNING("CipherContext::Begin called when context "
- "flagged as within a transform");
+ TRACE0("CipherContext::Begin called when context flagged as within a transform\n");
}
// Initialise the cipher context again
@@ -424,8 +423,7 @@ int CipherContext::TransformBlock(void *pOutBuffer, int OutLength, const void *p
// Warn if in a transformation
if(mWithinTransform)
{
- BOX_WARNING("CipherContext::TransformBlock called when "
- "context flagged as within a transform");
+ TRACE0("CipherContext::TransformBlock called when context flagged as within a transform\n");
}
// Check output buffer size
@@ -523,8 +521,7 @@ void CipherContext::SetIV(const void *pIV)
// Warn if in a transformation
if(mWithinTransform)
{
- BOX_WARNING("CipherContext::SetIV called when context "
- "flagged as within a transform");
+ TRACE0("CipherContext::SetIV called when context flagged as within a transform\n");
}
// Set IV
@@ -562,8 +559,7 @@ const void *CipherContext::SetRandomIV(int &rLengthOut)
// Warn if in a transformation
if(mWithinTransform)
{
- BOX_WARNING("CipherContext::SetRandomIV called when "
- "context flagged as within a transform");
+ TRACE0("CipherContext::SetRandomIV called when context flagged as within a transform\n");
}
// Get length of IV