Our specific changes to wiegand.c