aboutsummaryrefslogtreecommitdiffstats
path: root/agent/call-scd.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-04-20 19:19:24 +0000
committerWerner Koch <[email protected]>2005-04-20 19:19:24 +0000
commit526ed521a75d7617fd9fd7a9782a20d4c52bd985 (patch)
treef16e4df5062ad70633fea7d1e3fad55dc1908509 /agent/call-scd.c
parent(Agent Configuration): New section. (diff)
downloadgnupg-526ed521a75d7617fd9fd7a9782a20d4c52bd985.tar.gz
gnupg-526ed521a75d7617fd9fd7a9782a20d4c52bd985.zip
.
Diffstat (limited to 'agent/call-scd.c')
-rw-r--r--agent/call-scd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/call-scd.c b/agent/call-scd.c
index 4d1498b05..8373fd46d 100644
--- a/agent/call-scd.c
+++ b/agent/call-scd.c
@@ -137,6 +137,9 @@ start_scd (ctrl_t ctrl)
int no_close_list[3];
int i;
+ if (opt.disable_scdaemon)
+ return gpg_error (GPG_ERR_NOT_SUPPORTED);
+
#ifdef USE_GNU_PTH
if (!pth_mutex_acquire (&scd_lock, 0, NULL))
{