scd: Factor out a function to check keyidstr.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 22 Apr 2019 11:34:36 +0000 (20:34 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 22 Apr 2019 11:34:36 +0000 (20:34 +0900)
commitb0f0791e4ade845b2a0e2a94dbda4f3bf1ceb039
tree5c306b9f8527a66b6311ae93604ffc5969f239f4
parentea7d85ff658c000f5f469e0a869af0e512e8c59f
scd: Factor out a function to check keyidstr.

* scd/app-openpgp.c (check_keyidstr): New.
(do_sign, do_auth, do_decipher, do_check_pin): Use check_keyidstr.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/app-openpgp.c