[PATCH] scd: correct length for RSA public key response

Werner Koch wk at gnupg.org
Fri Aug 25 13:01:29 CEST 2017


> -    + 2 /* tag+len */ + app->app_local->keyattr[keyno].rsa.e_bits/8;
> +    + 2 /* tag+len */ + (app->app_local->keyattr[keyno].rsa.e_bits + 7)/8;

Would you mind to explain your test setting?


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170825/d54196e2/attachment.sig>


More information about the Gnupg-devel mailing list