summaryrefslogtreecommitdiff
path: root/common/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/debug.c')
-rw-r--r--common/debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/debug.c b/common/debug.c
index 1ef51d3..547ce2f 100644
--- a/common/debug.c
+++ b/common/debug.c
@@ -147,6 +147,10 @@ p11_debug_precond (const char *format,
vfprintf (stderr, format, va);
va_end (va);
+#ifdef __COVERITY__
+ fprintf (stderr, "ignoring P11_KIT_STRICT under coverity: %d", (int)debug_strict);
+#else
if (debug_strict)
+#endif
abort ();
}