summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-06-27 10:24:49 -0700
committerJohn Stebbins <[email protected]>2019-06-27 10:24:49 -0700
commit011b19b4f0e80327b48c242c8c34ff5b3eb2f8b2 (patch)
treec20f37dbb9d6681c7b097f0623c16d47354b3a77
parent5dcff47e784350bf67fc97342b246e3890c08f82 (diff)
Fix "hardening features" log message
Was getting logged when hardening was disabled
-rw-r--r--libhb/hb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index 4edf4835e..4356f8275 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -1664,7 +1664,7 @@ int hb_global_init_no_hardware()
int hb_global_init()
{
/* Print hardening status on global init */
-#ifdef HB_PROJECT_HOST_HARDEN
+#if HB_PROJECT_HOST_HARDEN
hb_log( "Compile-time hardening features are enabled" );
#endif