You've already forked opencryptoki
mirror of
https://github.com/opencryptoki/opencryptoki.git
synced 2026-10-28 18:37:25 +03:00
Check if allocating the ica_data worked. Fail early if not. Also fix a bypass of the cleanup in case of error, and also cleanup libica, if it was already loaded. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>