summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-12-08 19:25:24 +0000
committerStef Walter <stef@memberwebs.com>2008-12-08 19:25:24 +0000
commit4fed7df158749db0126e7de6d632f2f03dcfb5de (patch)
treeb70381b87c30438d8ca35d081a1b484ab66bc0f0
parent697c4dc2d26bfb41206475f39a584bb0a177d605 (diff)
Some minor cosmetic changes.
-rw-r--r--ckcapi-object.c2
-rw-r--r--ckcapi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ckcapi-object.c b/ckcapi-object.c
index 5c2c6cc..7755d25 100644
--- a/ckcapi-object.c
+++ b/ckcapi-object.c
@@ -146,7 +146,7 @@ attribute_data_type(CK_ATTRIBUTE_TYPE type)
case CKA_ALLOWED_MECHANISMS:
case CKA_UNWRAP_TEMPLATE:
default:
- DBG(("unknown attribute type: %x\n", type));
+ DBG(("unknown attribute type: %x", type));
return DATA_UNKNOWN;
};
}
diff --git a/ckcapi.c b/ckcapi.c
index e5ce629..38654e9 100644
--- a/ckcapi.c
+++ b/ckcapi.c
@@ -310,7 +310,7 @@ CC_C_Initialize(CK_VOID_PTR init_args)
/*
* When the CKF_OS_LOCKING_OK flag isn't set and mutex function pointers are supplied
- * by an application, return an error. DBus must be able to use its own locks.
+ * by an application, return an error. We must be able to use our own locks.
*/
if(!(args->flags & CKF_OS_LOCKING_OK) && (args->CreateMutex != NULL))
RETURN(CKR_CANT_LOCK);