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:
parent
31084d6dc9
commit
96abdb1386
7 changed files with 77 additions and 18 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue