From 02722ea867ae506ce9ec2adc265a437d3c6ca1bf Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Wed, 25 May 2011 11:34:44 +0000 Subject: [PATCH] - Added missing semicolon --- tests/suites/test_suite_des.function | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/suites/test_suite_des.function b/tests/suites/test_suite_des.function index ab957a6d9..ace064d31 100644 --- a/tests/suites/test_suite_des.function +++ b/tests/suites/test_suite_des.function @@ -207,6 +207,7 @@ des3_encrypt_cbc:key_count:hex_key_string:hex_iv_string:hex_src_string:hex_dst_s TEST_ASSERT( 0 ); TEST_ASSERT( des3_crypt_cbc( &ctx, DES_ENCRYPT, src_len, iv_str, src_str, output ) == {cbc_result} ); + if( {cbc_result} == 0 ) { hexify( dst_str, output, src_len ); @@ -244,7 +245,8 @@ des3_decrypt_cbc:key_count:hex_key_string:hex_iv_string:hex_src_string:hex_dst_s else TEST_ASSERT( 0 ); - TEST_ASSERT( des3_crypt_cbc( &ctx, DES_DECRYPT, src_len, iv_str, src_str, output ) == {cbc_result} ) + TEST_ASSERT( des3_crypt_cbc( &ctx, DES_DECRYPT, src_len, iv_str, src_str, output ) == {cbc_result} ); + if( {cbc_result} == 0 ) { hexify( dst_str, output, src_len );