aboutsummaryrefslogtreecommitdiffstats
path: root/sm/call-agent.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-01-11 17:07:51 +0000
committerWerner Koch <[email protected]>2002-01-11 17:07:51 +0000
commit6af7631e54e42092a04c95b96132201969936b90 (patch)
tree14ec0739038279253f23039f2edd151ffd5c6b20 /sm/call-agent.c
parent* maperror.c (map_assuan_err): Codes for CRL (diff)
downloadgnupg-6af7631e54e42092a04c95b96132201969936b90.tar.gz
gnupg-6af7631e54e42092a04c95b96132201969936b90.zip
* call-dirmngr.c: New.
* certpath.c (gpgsm_validate_path): Check the CRL here. * fingerprint.c (gpgsm_get_certid): New. * gpgsm.c: New options --dirmngr-program and --disable-crl-checks.
Diffstat (limited to 'sm/call-agent.c')
-rw-r--r--sm/call-agent.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sm/call-agent.c b/sm/call-agent.c
index 47a4ee710..87b10248a 100644
--- a/sm/call-agent.c
+++ b/sm/call-agent.c
@@ -1,5 +1,5 @@
/* call-agent.c - divert operations to the agent
- * Copyright (C) 2001 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -33,16 +33,6 @@
#include "../assuan/assuan.h"
#include "i18n.h"
-#ifdef _POSIX_OPEN_MAX
-#define MAX_OPEN_FDS _POSIX_OPEN_MAX
-#else
-#define MAX_OPEN_FDS 20
-#endif
-
-#define xtoi_1(p) (*(p) <= '9'? (*(p)- '0'): \
- *(p) <= 'F'? (*(p)-'A'+10):(*(p)-'a'+10))
-#define xtoi_2(p) ((xtoi_1(p) * 16) + xtoi_1((p)+1))
-
static ASSUAN_CONTEXT agent_ctx = NULL;