Fixed keystore.c