aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-dinsig.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-07-10 10:15:33 +0000
committerWerner Koch <[email protected]>2009-07-10 10:15:33 +0000
commit96abdb1386284da07a7fe129b79d08890949d2ed (patch)
treecd4b233459c2fc39cafcee035161a6e7fc6bf7d7 /scd/app-dinsig.c
parentSupport writing of existing keys with non-matching key sizes. (diff)
downloadgnupg-96abdb1386284da07a7fe129b79d08890949d2ed.tar.gz
gnupg-96abdb1386284da07a7fe129b79d08890949d2ed.zip
Fix for card keys > 2048 bit.
Diffstat (limited to '')
-rw-r--r--scd/app-dinsig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scd/app-dinsig.c b/scd/app-dinsig.c
index f0655bb2d..46e9a6a9b 100644
--- a/scd/app-dinsig.c
+++ b/scd/app-dinsig.c
@@ -483,7 +483,8 @@ do_sign (app_t app, const char *keyidstr, int hashalgo,
rc = verify_pin (app, pincb, pincb_arg);
if (!rc)
- rc = iso7816_compute_ds (app->slot, data, datalen, outdata, outdatalen);
+ rc = iso7816_compute_ds (app->slot, 0, data, datalen, 0,
+ outdata, outdatalen);
return rc;
}