From 19dfaa5824ef47de51a568be4e7a30ff028bcbe8 Mon Sep 17 00:00:00 2001 From: Staale Smedseng Date: Mon, 29 Jun 2009 15:17:01 +0200 Subject: Merge from 5.0-bt --- extra/yassl/taocrypt/include/modes.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extra/yassl/taocrypt/include') diff --git a/extra/yassl/taocrypt/include/modes.hpp b/extra/yassl/taocrypt/include/modes.hpp index d1ebce7568b..4575fe1414b 100644 --- a/extra/yassl/taocrypt/include/modes.hpp +++ b/extra/yassl/taocrypt/include/modes.hpp @@ -96,10 +96,12 @@ inline void Mode_BASE::Process(byte* out, const byte* in, word32 sz) if (mode_ == ECB) ECB_Process(out, in, sz); else if (mode_ == CBC) + { if (dir_ == ENCRYPTION) CBC_Encrypt(out, in, sz); else CBC_Decrypt(out, in, sz); + } } -- cgit v1.2.1