summaryrefslogtreecommitdiffstats
path: root/agent/learncard.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-03-30 14:46:06 +0200
committerWerner Koch <wk@gnupg.org>2009-03-30 14:46:06 +0200
commit98e1a75e205b15da1da1bdf34f462a8acdc85ac9 (patch)
tree918647b1740329a1223f83c7edca539d96e9641f /agent/learncard.c
parentSigning using Netkey 3 cards does now work. (diff)
downloadgnupg2-98e1a75e205b15da1da1bdf34f462a8acdc85ac9.tar.xz
gnupg2-98e1a75e205b15da1da1bdf34f462a8acdc85ac9.zip
Implement decryption for TCOS 3 cards.
Diffstat (limited to 'agent/learncard.c')
-rw-r--r--agent/learncard.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/agent/learncard.c b/agent/learncard.c
index 3db33ee76..b5b5bd77d 100644
--- a/agent/learncard.c
+++ b/agent/learncard.c
@@ -298,10 +298,12 @@ agent_handle_learn (ctrl_t ctrl, void *assuan_context)
char *p;
int i;
static int certtype_list[] = {
+ 111, /* Root CA */
101, /* trusted */
102, /* useful */
100, /* regular */
- /* We don't include 110 here because gpgsm can't handle it. */
+ /* We don't include 110 here because gpgsm can't handle that
+ special root CA format. */
-1 /* end of list */
};