mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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>
This commit is contained in:
parent
cb6337329d
commit
9bf39ed75d
3 changed files with 5 additions and 8 deletions
|
@ -456,7 +456,6 @@ do_sign (app_t app, const char *keyidstr, int hashalgo,
|
|||
/* Fixme: This is a kludge. A better solution is not to use
|
||||
SHA1 as default but use an autodetection. However this
|
||||
needs changes in all app-*.c */
|
||||
hashalgo = GCRY_MD_SHA256;
|
||||
datalen = indatalen;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue