Next in thread → Next in month →

fwd: CKM_PKCS5_PBKD2_PARAMS struct: password length

From
Tim Hudson
Date
2013-04-18T01:28:00+00:00
ID
Thread
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.
Next in thread → Next in month →