fixed out of bounds reads

Thanks to Eric Sesterhenn from X41 D-SEC GmbH
for reporting and suggesting security fixes.
auth_restore_security_env(struct sc_card *card, int se_num)
{
	return SC_SUCCESS;
}

auth_restore_security_env(struct sc_card *card, int se_num)
{
	return SC_SUCCESS;
}
