diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-03-29 01:56:39 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-03-29 01:56:39 +0000 |
commit | 2e761f8a7744f18059e2048f319f4cac8e32d765 (patch) | |
tree | add4cfdd6c6e71f3101de346e38f57a803a70aad /lib/crypto | |
parent | c414132f88a8a687d50b602cd00087df58fac587 (diff) |
Replace all remaining use of TRACEx() macros with logging framework.
Remove the old TRACEx macros to catch any remaining uses.
Diffstat (limited to 'lib/crypto')
-rw-r--r-- | lib/crypto/CipherContext.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/crypto/CipherContext.cpp b/lib/crypto/CipherContext.cpp index 8c3b25b2..d68c4b5d 100644 --- a/lib/crypto/CipherContext.cpp +++ b/lib/crypto/CipherContext.cpp @@ -166,7 +166,8 @@ 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) { - TRACE0("CipherContext::Begin called when context flagged as within a transform\n"); + BOX_WARNING("CipherContext::Begin called when context " + "flagged as within a transform"); } // Initialise the cipher context again @@ -423,7 +424,8 @@ int CipherContext::TransformBlock(void *pOutBuffer, int OutLength, const void *p // Warn if in a transformation if(mWithinTransform) { - TRACE0("CipherContext::TransformBlock called when context flagged as within a transform\n"); + BOX_WARNING("CipherContext::TransformBlock called when " + "context flagged as within a transform"); } // Check output buffer size @@ -521,7 +523,8 @@ void CipherContext::SetIV(const void *pIV) // Warn if in a transformation if(mWithinTransform) { - TRACE0("CipherContext::SetIV called when context flagged as within a transform\n"); + BOX_WARNING("CipherContext::SetIV called when context " + "flagged as within a transform"); } // Set IV @@ -559,7 +562,8 @@ const void *CipherContext::SetRandomIV(int &rLengthOut) // Warn if in a transformation if(mWithinTransform) { - TRACE0("CipherContext::SetRandomIV called when context flagged as within a transform\n"); + BOX_WARNING("CipherContext::SetRandomIV called when " + "context flagged as within a transform"); } // Get length of IV |