I have a working client/server application that is using NSS
3_3_1_RTM.

One check my application does is verify if the password supplied is
correct. After I initialize and configure all of NSS, my application
calls PK11_CheckUserPassword.

PK11_CheckUserPassword returns with SEC_ERROR_LIBRARY_FAILURE
regardless if the password is correct or not.

PK11_CheckUserPassword accepts two arguments: slot and password. Both
arguments are viable before the call is made.

Yet if I ignore the failure, everything else works fine (assuming the
password is correct).

The question is why is NSS happy but PK11_CheckUserPassword isn't?

TIA,
Robert

Reply via email to