=== modified file 'debian/changelog' --- debian/changelog 2006-10-12 01:22:21 +0000 +++ debian/changelog 2006-10-17 09:25:29 +0000 @@ -1,3 +1,9 @@ +cdebconf-keystep (0.5) edgy; urgency=low + + * Accept YES and NO in step_key_present_plain state. + + -- Colin Watson Tue, 17 Oct 2006 10:25:26 +0100 + cdebconf-keystep (0.4) edgy; urgency=low * Handle new FINDP command from keymapper 0.5.3-7. === modified file 'detect_keys.c' --- detect_keys.c 2006-10-12 01:19:28 +0000 +++ detect_keys.c 2006-10-17 09:23:05 +0000 @@ -181,7 +181,8 @@ strcpy(data->symbols, buf+6); } else if (strncmp(buf,"YES ",4) == 0) { /* YES stepnr */ - if (data->type != step_key_present) { + if (data->type != step_key_present && + data->type != step_key_present_plain) { debug_printf(0, "Line sequence error: %s", buf); return DC_NOTOK; } @@ -190,7 +191,8 @@ data->next_steps[1] = atoi(buf+4); } else if (strncmp(buf,"NO ",3) == 0) { /* NO stepnr */ - if (data->type != step_key_present) { + if (data->type != step_key_present && + data->type != step_key_present_plain) { debug_printf(0, "Line sequence error: %s", buf); return DC_NOTOK; }