1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fix for card keys > 2048 bit.

This commit is contained in:
Werner Koch 2009-07-10 10:15:33 +00:00
parent 31084d6dc9
commit 96abdb1386
7 changed files with 77 additions and 18 deletions

View file

@ -969,7 +969,8 @@ do_sign (app_t app, const char *keyidstr, int hashalgo,
rc = verify_pin (app, 0, NULL, pincb, pincb_arg);
/* Compute the signature. */
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;
}