fix: add missing checks in icsf.c
fix: add missing checks in icsf.c

Signed-off-by: Marcelo Cerri <8921b6f701ecf8f7360835b51eec13069e5013ec@linux.vnet.ibm.com>
Reviewed-by: Joy Latten

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