pinentry-curses: Handle SETREPEAT.
* pinentry/pinentry-curses.c (DIALOG_POS_REPEAT_PIN): New. (dialog_t): Separate members for repeat. (dialog_create): Create passphrase repeat field. (dialog_switch_pos): Handle DIALOG_POS_REPEAT_PIN. (dialog_input): Modify to handle the repeat field. (test_repeat): New. (dialog_run): Skip OK when changing fields and passphrases do not match.
- Signed-off-by: Ben Kibbey <bjk@luxsci.net>