diff options
author | Werner Koch <[email protected]> | 2009-07-10 10:15:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-07-10 10:15:33 +0000 |
commit | 96abdb1386284da07a7fe129b79d08890949d2ed (patch) | |
tree | cd4b233459c2fc39cafcee035161a6e7fc6bf7d7 /scd/app-dinsig.c | |
parent | Support writing of existing keys with non-matching key sizes. (diff) | |
download | gnupg-96abdb1386284da07a7fe129b79d08890949d2ed.tar.gz gnupg-96abdb1386284da07a7fe129b79d08890949d2ed.zip |
Fix for card keys > 2048 bit.
Diffstat (limited to '')
-rw-r--r-- | scd/app-dinsig.c | 3 |
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; } |