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;