mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Fix new test for v2 cards.
This commit is contained in:
parent
7b81a6b074
commit
8e89644451
@ -1,3 +1,7 @@
|
||||
2008-08-18 Werner Koch <wk@g10code.com>
|
||||
|
||||
* app-openpgp.c (do_setattr): Fix test for v2 cards.
|
||||
|
||||
2008-08-11 Werner Koch <wk@g10code.com>
|
||||
|
||||
* apdu.c (reset_pcsc_reader, open_pcsc_reader)
|
||||
|
@ -1657,8 +1657,8 @@ do_setattr (app_t app, const char *name,
|
||||
;
|
||||
if (!table[idx].name)
|
||||
return gpg_error (GPG_ERR_INV_NAME);
|
||||
if (!table[idx].need_v2)
|
||||
return gpg_error (GPG_ERR_NOT_SUPPORTED);
|
||||
if (table[idx].need_v2)
|
||||
return gpg_error (GPG_ERR_NOT_SUPPORTED); /* Not yet supported. */
|
||||
|
||||
switch (table[idx].need_chv)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user