From cba41e5a46893b16cfbd845d55285894f4a43408 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 23 Aug 2012 19:17:46 +0200 Subject: Add internal function for turning on messages To be used from tests --- common/library.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common/library.c') diff --git a/common/library.c b/common/library.c index d0c246c..de340bb 100644 --- a/common/library.c +++ b/common/library.c @@ -116,6 +116,14 @@ p11_message_quiet (void) p11_unlock (); } +void +p11_message_loud (void) +{ + p11_lock (); + print_messages = true; + p11_unlock (); +} + const char* p11_message_last (void) { -- cgit v1.1