mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
(do_getattr): Fix for sending CA-FPR.
This commit is contained in:
parent
7158c4db92
commit
bcaa520ad6
@ -1,3 +1,12 @@
|
||||
2004-07-01 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* app-openpgp.c (do_getattr): Fix for sending CA-FPR.
|
||||
|
||||
2004-06-30 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* app-openpgp.c (app_openpgp_readkey): Fixed check for valid
|
||||
exponent.
|
||||
|
||||
2004-06-18 Werner Koch <wk@g10code.com>
|
||||
|
||||
* sc-investigate.c (my_read_line): Renamed from read_line.
|
||||
|
@ -561,7 +561,7 @@ do_getattr (APP app, CTRL ctrl, const char *name)
|
||||
{
|
||||
if (valuelen >= 60)
|
||||
for (i=0; i < 3; i++)
|
||||
send_fpr_if_not_null (ctrl, "KEY-FPR", i+1, value+i*20);
|
||||
send_fpr_if_not_null (ctrl, table[idx].name, i+1, value+i*20);
|
||||
}
|
||||
else
|
||||
send_status_info (ctrl, table[idx].name, value, valuelen, NULL, 0);
|
||||
@ -1619,7 +1619,7 @@ app_openpgp_readkey (APP app, int keyno, unsigned char **m, size_t *mlen,
|
||||
memcpy (*m, a, alen);
|
||||
|
||||
a = find_tlv (keydata, keydatalen, 0x0082, &alen);
|
||||
if (!e)
|
||||
if (!a)
|
||||
{
|
||||
log_error ("response does not contain the RSA public exponent\n");
|
||||
rc = gpg_error (GPG_ERR_CARD);
|
||||
|
Loading…
x
Reference in New Issue
Block a user