aboutsummaryrefslogtreecommitdiffstats
path: root/scd/iso7816.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-05-16 06:24:29 +0000
committerWerner Koch <[email protected]>2019-05-16 06:24:42 +0000
commit79c99921e35921140c83d7c101829d95f038f3da (patch)
treefc7e6e6255f0d84f5e0b941c384a71ae3bccba5e /scd/iso7816.c
parentagent,scd: Scan and load all public keys for availability. (diff)
downloadgnupg-79c99921e35921140c83d7c101829d95f038f3da.tar.gz
gnupg-79c99921e35921140c83d7c101829d95f038f3da.zip
scd: Remove unused cruft from GnuPG 1.x
* scd/apdu.c: Remove code used only by GnuPG 1. * scd/app-openpgp.c: Ditto. * scd/ccid-driver.c: Ditto. * scd/iso7816.c: Ditto. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'scd/iso7816.c')
-rw-r--r--scd/iso7816.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/scd/iso7816.c b/scd/iso7816.c
index d9f3336c7..b09354f16 100644
--- a/scd/iso7816.c
+++ b/scd/iso7816.c
@@ -24,19 +24,10 @@
#include <string.h>
#if defined(GNUPG_SCD_MAIN_HEADER)
-#include GNUPG_SCD_MAIN_HEADER
-#elif GNUPG_MAJOR_VERSION == 1
-/* This is used with GnuPG version < 1.9. The code has been source
- copied from the current GnuPG >= 1.9 and is maintained over
- there. */
-#include "options.h"
-#include "errors.h"
-#include "memory.h"
-#include "../common/util.h"
-#include "../common/i18n.h"
-#else /* GNUPG_MAJOR_VERSION != 1 */
-#include "scdaemon.h"
-#endif /* GNUPG_MAJOR_VERSION != 1 */
+# include GNUPG_SCD_MAIN_HEADER
+#else
+# include "scdaemon.h"
+#endif /*!GNUPG_SCD_MAIN_HEADER*/
#include "iso7816.h"
#include "apdu.h"