From c396c5a4bf5bd62013ce2491234f27c2103b8d74 Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Thu, 18 Jun 2020 20:50:38 +0200 Subject: [PATCH] ima-evm-utils: logging: Print also LOG_INFO messages as some errors are using it, e.g. in previous fix just errno would be printed: ./src/evmctl ima_boot_aggregate Failed to read any TPM PCRs errno: No such file or directory (2) Signed-off-by: Petr Vorel Signed-off-by: Mimi Zohar --- src/libimaevm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libimaevm.c b/src/libimaevm.c index 683cfb8..4bcce13 100644 --- a/src/libimaevm.c +++ b/src/libimaevm.c @@ -82,7 +82,7 @@ static const char *const pkey_hash_algo_kern[PKEY_HASH__LAST] = { }; struct libimaevm_params imaevm_params = { - .verbose = LOG_INFO - 1, + .verbose = LOG_INFO, .x509 = 1, .hash_algo = "sha1", };