CryptoPP::StreamTransformationFilter stfEncryptor(cbcEncryption, sink);
for (std::list<bufferptr>::const_iterator it = in.buffers().begin();
- it != in.buffers().end(); it++) {
+ it != in.buffers().end(); ++it) {
in_buf = (const unsigned char *)it->c_str();
stfEncryptor.Put(in_buf, it->length());
CryptoPP::StringSink *sink = new CryptoPP::StringSink(decryptedtext);
CryptoPP::StreamTransformationFilter stfDecryptor(cbcDecryption, sink);
for (std::list<bufferptr>::const_iterator it = in.buffers().begin();
- it != in.buffers().end(); it++) {
+ it != in.buffers().end(); ++it) {
const unsigned char *in_buf = (const unsigned char *)it->c_str();
stfDecryptor.Put(in_buf, it->length());
}