canmove, Confirmed users
937
edits
(/* Review input needed: sdb_GetPWEntry and sdb_PutPWEntry: Would it be better to define a 'metadata' operation where we call the database to fetch data that is not reflected through the PKCS #11 inter) |
(/* Review input needed: sdb_GetPWEntry and sdb_PutPWEntry: Would it be better to define a 'metadata' operation where we call the database to fetch data that is not reflected through the PKCS #11 inter) |
||
Line 57: | Line 57: | ||
- (Your response could go here) | - (Your response could go here) | ||
== int vs. CK_ULONG == | |||
The 'count' and 'arraySize' parameters of several sdb_XXX functions are declared with the type 'int'. They should be an unsigned type. Since they are used with arrays of PKCS #11 types CK_ATTRIBUTE and CK_OBJECT_HANDLE, should we declare them with the PKCS #11 type CK_ULONG for consistency? |