summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p11-kit/Makefile.am2
-rw-r--r--p11-kit/util.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/p11-kit/Makefile.am b/p11-kit/Makefile.am
index b1243c1..cba556e 100644
--- a/p11-kit/Makefile.am
+++ b/p11-kit/Makefile.am
@@ -68,6 +68,8 @@ libp11_kit_testable_la_CFLAGS = \
$(NULL)
libp11_kit_compat_la_SOURCES = \
+ debug.c debug.h \
+ messages.c \
util.c util.h \
$(top_srcdir)/common/compat.c \
$(top_srcdir)/common/compat.h
diff --git a/p11-kit/util.c b/p11-kit/util.c
index 033c775..89ecc40 100644
--- a/p11-kit/util.c
+++ b/p11-kit/util.c
@@ -190,6 +190,7 @@ _p11_message (const char* msg, ...)
if (print_messages)
fprintf (stderr, "p11-kit: %s\n", buffer);
+ _p11_debug_message (DEBUG_LIB, "message: %s", buffer);
store_message_buffer (buffer, length);
}