aboutsummaryrefslogtreecommitdiffstats
path: root/g10/iso7816.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-10-02 10:20:12 +0000
committerWerner Koch <[email protected]>2003-10-02 10:20:12 +0000
commit99cabff03f3d27f7ac2a12b837b17a538be1fe1f (patch)
tree0a15a78faf6e50798ededc50e498bcbce28ae2bf /g10/iso7816.h
parent* g10.c (main): Add --no-groups to zero --group list. (diff)
downloadgnupg-99cabff03f3d27f7ac2a12b837b17a538be1fe1f.tar.gz
gnupg-99cabff03f3d27f7ac2a12b837b17a538be1fe1f.zip
* cardglue.c (learn_status_cb): Release values before assignment
so that it can be used by getattr to update the structure. (agent_scd_getattr): New. * keylist.c (print_pubkey_info): Add FP arg for optional printing to a stream. Changed all callers.
Diffstat (limited to 'g10/iso7816.h')
-rw-r--r--g10/iso7816.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/iso7816.h b/g10/iso7816.h
index 99c4a8ed8..26b8d6aba 100644
--- a/g10/iso7816.h
+++ b/g10/iso7816.h
@@ -21,7 +21,9 @@
#ifndef ISO7816_H
#define ISO7816_H
+#if GNUPG_MAJOR_VERSION == 1
#include "cardglue.h"
+#endif
gpg_error_t iso7816_select_application (int slot,
const char *aid, size_t aidlen);