1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

scd: Add option --dump-atr to command APDU.

* scd/atr.c: Rewrite.
* scd/Makefile.am (scdaemon_SOURCES): Add atr.c and atr.h.
* scd/command.c (cmd_apdu): Add option --dump-atr.
This commit is contained in:
Werner Koch 2011-12-15 14:47:04 +01:00
parent 7737a2c269
commit b22d62bd14
4 changed files with 107 additions and 184 deletions

View file

@ -20,7 +20,7 @@
#ifndef ATR_H
#define ATR_H
int atr_dump (int slot, FILE *fp);
char *atr_dump (const void *buffer, size_t buflen);