[svn] GnuPG - r4814 - trunk/scd
svn author wk
cvs at cvs.gnupg.org
Mon Aug 18 13:08:05 CEST 2008
Author: wk
Date: 2008-08-18 13:08:04 +0200 (Mon, 18 Aug 2008)
New Revision: 4814
Modified:
trunk/scd/ChangeLog
trunk/scd/app-openpgp.c
Log:
Fix new test for v2 cards.
Modified: trunk/scd/ChangeLog
===================================================================
--- trunk/scd/ChangeLog 2008-08-13 15:41:48 UTC (rev 4813)
+++ trunk/scd/ChangeLog 2008-08-18 11:08:04 UTC (rev 4814)
@@ -1,3 +1,7 @@
+2008-08-18 Werner Koch <wk at g10code.com>
+
+ * app-openpgp.c (do_setattr): Fix test for v2 cards.
+
2008-08-11 Werner Koch <wk at g10code.com>
* apdu.c (reset_pcsc_reader, open_pcsc_reader)
Modified: trunk/scd/app-openpgp.c
===================================================================
--- trunk/scd/app-openpgp.c 2008-08-13 15:41:48 UTC (rev 4813)
+++ trunk/scd/app-openpgp.c 2008-08-18 11:08:04 UTC (rev 4814)
@@ -1657,8 +1657,8 @@
;
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)
{
More information about the Gnupg-commits
mailing list