[PATCH 02/10] ima-evm-utils: revert the change to use printf instead of log_info()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using log_info() was commented out and replaced with printf.  Revert
this change and use log_info().

Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx>
---
 src/libimaevm.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/libimaevm.c b/src/libimaevm.c
index eedffb4..610b0b7 100644
--- a/src/libimaevm.c
+++ b/src/libimaevm.c
@@ -402,8 +402,7 @@ int verify_hash_v1(const unsigned char *hash, int size, unsigned char *sig, int
 		log_err("Verification failed: %d\n", err);
 		return -1;
 	} else {
-		/*log_info("Verification is OK\n");*/
-		printf("Verification is OK\n");
+		log_info("Verification is OK\n");
 	}
 
 	return 0;
@@ -447,8 +446,7 @@ int verify_hash_v2(const unsigned char *hash, int size, unsigned char *sig, int
 		return -1;
 	}
 
-	/*log_info("Verification is OK\n");*/
-	printf("Verification is OK\n");
+	log_info("Verification is OK\n");
 
 	return 0;
 }
-- 
2.7.4




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux