From b797050d66fec44359969e894f0b8fda4881b93b Mon Sep 17 00:00:00 2001
From: Egor Tensin <Egor.Tensin@gmail.com>
Date: Thu, 4 Jun 2015 18:06:21 +0300
Subject: bugfix

---
 src/common.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src')

diff --git a/src/common.c b/src/common.c
index 36edac0..fa9def6 100644
--- a/src/common.c
+++ b/src/common.c
@@ -241,17 +241,17 @@ void print_aes_block256_be(AesBlock256* block)
 
 void print_aes_block128_as_matrix(AesBlock128* block)
 {
-    printf("%s\n", format_aes_block128(block).str);
+    printf("%s", format_aes_block128_as_matrix(block).str);
 }
 
 void print_aes_block192_as_matrix(AesBlock192* block)
 {
-    printf("%s\n", format_aes_block192(block).str);
+    printf("%s", format_aes_block192_as_matrix(block).str);
 }
 
 void print_aes_block256_as_matrix(AesBlock256* block)
 {
-    printf("%s\n", format_aes_block256(block).str);
+    printf("%s", format_aes_block256_as_matrix(block).str);
 }
 
 void print_aes_block128_be_as_matrix(AesBlock128* block)
-- 
cgit v1.2.3