]> granicus.if.org Git - p11-kit/commitdiff
Fix test modules linking errors
authorStef Walter <stefw@gnome.org>
Tue, 1 May 2012 09:09:50 +0000 (11:09 +0200)
committerStef Walter <stefw@gnome.org>
Tue, 1 May 2012 09:09:50 +0000 (11:09 +0200)
 * And display warning messages in the debug output

p11-kit/Makefile.am
p11-kit/util.c

index b1243c1dcdc18eceb4b475d702c8cdbb94714e50..cba556ecd74b19431f53632fe5d34b6a870eca3c 100644 (file)
@@ -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
index 033c7755abd9d58f99eada1f5a4d3b9bdb875dad..89ecc4053e43bca50e7257072168354edad5c1ca 100644 (file)
@@ -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);
 }