From fb9374be05108422a9662217e727b940ef896bf6 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 9 Dec 2008 21:56:50 +0000 Subject: Fix copious amounts of debugging messages. Add concept of warning messages. --- module/p11-capi-cert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/p11-capi-cert.c') diff --git a/module/p11-capi-cert.c b/module/p11-capi-cert.c index 53e198f..49cc508 100644 --- a/module/p11-capi-cert.c +++ b/module/p11-capi-cert.c @@ -89,7 +89,7 @@ parse_basic_constraints(CertObjectData* cdata, CK_ULONG* category) { if(basic->SubjectType.cbData != 1) { - DBG(("basic constraints bits are of invalid size")); + WARN(("basic constraints bits are of invalid size")); ret = CKR_GENERAL_ERROR; } else @@ -372,7 +372,7 @@ calculate_check_value(PCCERT_CONTEXT cert, CK_ATTRIBUTE_PTR attr) if(length < 3) { - DBG(("SHA1 hash length too short: %d", length)); + WARN(("SHA1 hash length too short: %d", length)); return CKR_DEVICE_ERROR; } -- cgit v1.2.3