scd: More cleanup of old code.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 6 Mar 2017 05:59:02 +0000 (14:59 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 6 Mar 2017 05:59:02 +0000 (14:59 +0900)
commit9bf39ed75ddbd35908bcd0996f55325ff801619a
tree0f835c9e641909bfad8a69f0702f29de0e87761f
parentcb6337329d3c858c695a7e56e2fc31d9d50ca3fe
scd: More cleanup of old code.

* scd/app-dinsig.c (do_sign): Remove assignment to HASHALGO.
* scd/app-p15.c (parse_keyusage_flags): Remove assign to MASK.
(read_ef_aodf): Likewise.
(read_ef_cdf): Change the control to parse_error.
* scd/app-sc-hsm.c (parse_keyusage_flags): Remove assign to MASK.
(read_ef_prkd): Remove assign to S.
(read_ef_prkd): Check if PRKDF is not null.
(read_ef_cd): Likewise for CDF.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/app-dinsig.c
scd/app-p15.c
scd/app-sc-hsm.c