Fix new test for v2 cards.

This commit is contained in:
Werner Koch 2008-08-18 11:08:04 +00:00
parent 7b81a6b074
commit 8e89644451
2 changed files with 6 additions and 2 deletions

View File

@ -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)

View File

@ -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)
{