From 8ed2348ae537dcab4ba1413031e6bd834ecc30d4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 16 Aug 2002 14:23:40 +0000 Subject: * scdaemon.c: Include i18n.h. * card-common.h (struct p15_private_s): Forward declaration. Add it to card_ctx_s. * card.c (card_close): Make sure private data is released. (card_enum_certs): New. * card-p15.c (p15_release_private_data): New. (init_private_data): New to work around an OpenSC weirdness. (p15_enum_keypairs): Do an OpenSC get_objects only once. (p15_enum_certs): New. (card_p15_bind): Bind new function. * command.c (cmd_learn): Return information about the certificates. --- scd/scdaemon.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scd/scdaemon.c') diff --git a/scd/scdaemon.c b/scd/scdaemon.c index 29256d811..6001faf5c 100644 --- a/scd/scdaemon.c +++ b/scd/scdaemon.c @@ -41,12 +41,10 @@ #include "scdaemon.h" #include "../assuan/assuan.h" /* malloc hooks */ +#include "i18n.h" #include "sysutils.h" -#define N_(a) a -#define _(a) a - enum cmd_and_opt_values { aNull = 0, -- cgit v1.2.3