From 0dd62395788ae566d3adef967611bce214a04435 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Sun, 23 Dec 2018 14:11:00 +0100 Subject: trust: Propagate library verbosity to module through init_args Previously, even when the -v option is used with the 'trust' command, the messages from p11-kit-trust.so module were suppressed because the verbosity setting is not propagated to the module. --- p11-kit/p11-kit.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'p11-kit/p11-kit.h') diff --git a/p11-kit/p11-kit.h b/p11-kit/p11-kit.h index abf618b..cc89595 100644 --- a/p11-kit/p11-kit.h +++ b/p11-kit/p11-kit.h @@ -57,7 +57,8 @@ enum { P11_KIT_MODULE_UNMANAGED = 1 << 0, P11_KIT_MODULE_CRITICAL = 1 << 1, P11_KIT_MODULE_TRUSTED = 1 << 2, - P11_KIT_MODULE_MASK = (1 << 3) - 1 + P11_KIT_MODULE_VERBOSE = 1 << 3, + P11_KIT_MODULE_MASK = (1 << 4) - 1 }; typedef void (* p11_kit_destroyer) (void *data); -- cgit v1.1