Folowing exception will be not throwed, cause AuthenticatedSymmetricCipher is NULL - we have access violation here :
if (!allowAuthenticatedSymmetricCipher && dynamic_cast<AuthenticatedSymmetricCipher *>(&c) != 0)
throw InvalidArgument("StreamTransformationFilter: please use AuthenticatedEncryptionFilter and AuthenticatedDecryptionFilter for AuthenticatedSymmetricCipher");
In the patch i have changed "&&" with "||" ... (- i think its better :)
patch
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
I believe the logical AND (&&) is correct in this case. !(a && b) is equivalent to !a || !b (boolean logic).