diff options
Diffstat (limited to 'module/p11-capi-cert.c')
-rw-r--r-- | module/p11-capi-cert.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |