fix openpgp.c for PINPAD_SUPPORT

This commit is contained in:
NIIBE Yutaka 2011-01-21 12:07:51 +09:00
parent e732488779
commit 6656434701
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-01-21 NIIBE Yutaka <gniibe@fsij.org>
* src/openpgp.c (get_pinpad_input): Ifdef-out PINPAD_SUPPORT.
2011-01-19 NIIBE Yutaka <gniibe@fsij.org>
* Version 0.8.

View File

@ -94,6 +94,7 @@ gpg_fini (void)
ac_fini ();
}
#if defined(PINPAD_SUPPORT)
/*
* Invoke the thread PIN_MAIN, and let user input PIN string.
* Return length of the string.
@ -114,6 +115,7 @@ get_pinpad_input (int msg_code)
return pin_input_len;
}
}
#endif
static void
cmd_verify (void)