From 6656434701953270d95f027e8084bffd34cd37da Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 21 Jan 2011 12:07:51 +0900 Subject: [PATCH] fix openpgp.c for PINPAD_SUPPORT --- ChangeLog | 4 ++++ src/openpgp.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 28c02c3..59f9698 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-01-21 NIIBE Yutaka + + * src/openpgp.c (get_pinpad_input): Ifdef-out PINPAD_SUPPORT. + 2011-01-19 NIIBE Yutaka * Version 0.8. diff --git a/src/openpgp.c b/src/openpgp.c index 7efa6cf..c441fa7 100644 --- a/src/openpgp.c +++ b/src/openpgp.c @@ -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)