@@ -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;
}
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(-)