diff options
author | Stef Walter <stef@memberwebs.com> | 2008-12-09 21:56:50 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-12-09 21:56:50 +0000 |
commit | fb9374be05108422a9662217e727b940ef896bf6 (patch) | |
tree | 94d427a86793569de3f589d6770bd8821b820b57 /module/p11-capi-object.c | |
parent | a414a5af4b26f039ad7b0a592aca12d2b14b1654 (diff) |
Fix copious amounts of debugging messages. Add concept of warning messages.
Diffstat (limited to 'module/p11-capi-object.c')
-rw-r--r-- | module/p11-capi-object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/p11-capi-object.c b/module/p11-capi-object.c index 6c2330e..2c37987 100644 --- a/module/p11-capi-object.c +++ b/module/p11-capi-object.c @@ -142,7 +142,7 @@ attribute_data_type(CK_ATTRIBUTE_TYPE type) case CKA_WRAP_TEMPLATE: case CKA_UNWRAP_TEMPLATE: default: - DBG(("unknown attribute type: %x", type)); + WARN(("unknown attribute type: %x", type)); return DATA_UNKNOWN; }; } @@ -269,7 +269,7 @@ p11c_object_data_get_attrs(P11cObjectData* objdata, CK_ATTRIBUTE_PTR attrs, /* Attribute doesn't exist */ else if(rv == CKR_ATTRIBUTE_TYPE_INVALID) { - DBG(("O%d: attribute not found: 0x%08x", objdata->object, attrs[i].type)); + WARN(("O%d: attribute not found: 0x%08x", objdata->object, attrs[i].type)); attrs[i].ulValueLen = (CK_ULONG)-1; } |