diff mbox

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

Message ID 1516632845-7087-3-git-send-email-zohar@linux.vnet.ibm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Mimi Zohar Jan. 22, 2018, 2:53 p.m. UTC
Using log_info() was commented out and replaced with printf.  Revert
this change and use log_info().

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

Patch

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;
 }