This fixes a lock not being released. Sometimes, for example for local hashing, user does not have to log in, thus there won't be an ldap descriptor. So in close_session() icsf_logout would fail. Thus in token_specific_close_session would fail to release the sess_list_mutex lock. A new call to openSession would hang since it was waiting on this lock
This fixes a lock not being released.
Sometimes, for example for local hashing, user does not have to log in,
thus there won't be an ldap descriptor. So in close_session() icsf_logout
would fail. Thus in token_specific_close_session would fail to release
the sess_list_mutex lock. A new call to openSession would hang since it
was waiting on this lock

Signed-off-by: Joy Latten <4166715a861b568de4253eecbcc0f8304c8ff0c1@linux.vnet.ibm.com>
Reviewed-by: Debora Babb
Reviewed-by: Marcelo Cerri

joylatten/opencryptoki,fingunter/OpenCryptoki,fingunter/OpenCryptoki,joylatten/opencryptoki,fingunter/OpenCryptoki,joylatten/opencryptoki,joylatten/opencryptoki,joylatten/opencryptoki,fingunter/OpenCryptoki