summaryrefslogtreecommitdiff
path: root/strciphr.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-26 16:28:04 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-26 16:28:04 -0400
commit378461b5257bbdef75dec0a30e3d2957be2a455d (patch)
treecc0da92879661d6adae6f676760f77fe959126ec /strciphr.h
parentb7de164d6251dc066123b59bc15d30c74e920756 (diff)
downloadcryptopp-git-378461b5257bbdef75dec0a30e3d2957be2a455d.tar.gz
Cleared compiler error when compiling with "-DDEBUG"
Diffstat (limited to 'strciphr.h')
-rw-r--r--strciphr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/strciphr.h b/strciphr.h
index 9485e3ce..e685cfb3 100644
--- a/strciphr.h
+++ b/strciphr.h
@@ -201,7 +201,9 @@ struct CRYPTOPP_NO_VTABLE CFB_CipherConcretePolicy : public BASE
if (m_dir == ENCRYPTION)
{
if (m_input == NULL)
+ {
CRYPTOPP_ASSERT(m_output == NULL);
+ }
else
{
WordType ct = *(const WordType *)m_input ^ registerWord;