utils/naf.c: Wrap up the state machine correctly.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 6 Aug 2013 18:37:34 +0000 (19:37 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 6 Aug 2013 21:46:52 +0000 (22:46 +0100)
commit4158a1ad28823f9858c2d196fc0152e9968c5071
tree703298a6d00193b28bdf621b36b2720450af71a4
parentc7a23204ba5fac04245b38034751f76fe41e01b6
utils/naf.c: Wrap up the state machine correctly.

The old code just assumed a particular resulution (in particular, the
`X' case), which is far from universally applicable.  Now we simulate up
to two more steps, feeding in zero bits.
utils/naf.c