summaryrefslogtreecommitdiff
path: root/p11-kit/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/util.c')
-rw-r--r--p11-kit/util.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/p11-kit/util.c b/p11-kit/util.c
index 9c5d99b..11a9a22 100644
--- a/p11-kit/util.c
+++ b/p11-kit/util.c
@@ -142,6 +142,20 @@ void
p11_kit_be_quiet (void)
{
p11_message_quiet ();
+ p11_debug_init ();
+}
+
+/**
+ * p11_kit_be_loud:
+ *
+ * Tell the p11-kit library will print failure or warning messages to stderr.
+ * This is the default behavior, but can be changed using p11_kit_be_quiet().
+ */
+void
+p11_kit_be_loud (void)
+{
+ p11_message_loud ();
+ p11_debug_init ();
}
/**