OASIS Open Mailing List Archives  ·  All Lists  ·  pkcs11  ·  2013-04

pkcs11 — archive

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]

fwd: CKM_PKCS5_PBKD2_PARAMS struct: password length


On 18/04/2013 10:09 AM, Andrey Jivsov wrote: > The definition of NULL in the C99 language standard defines NULL to be > equal the numeric value 0. And that doesn't help - what you are looking for is that a pointer value cannot have the value 0 - and C99 does not define that - the pointer passed incorrectly in ulPasswordLen can be zero and can still be valid. Re-reading C99 6.3.2.2 should make that clearer (although that is an unusual use of the word 'clearer'). However this is diverging from the main topic ... Tim.

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]