summaryrefslogtreecommitdiffstats
path: root/sm/server.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-06-04 08:50:10 +0200
committerWerner Koch <wk@gnupg.org>2014-06-04 08:50:10 +0200
commit09a2d4ec74d352dcb4f006aab60b07bc4f5f1a37 (patch)
tree1a15bf13ef21575802ef162a60d8d2a5c05f9f7f /sm/server.c
parentAdd new option --with-secret. (diff)
downloadgnupg2-09a2d4ec74d352dcb4f006aab60b07bc4f5f1a37.tar.xz
gnupg2-09a2d4ec74d352dcb4f006aab60b07bc4f5f1a37.zip
gpgsm: Fix commit be07ed65.
* sm/server.c (option_handler): Use "with-secret".
Diffstat (limited to 'sm/server.c')
-rw-r--r--sm/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/server.c b/sm/server.c
index f399c8ec1..978e70a55 100644
--- a/sm/server.c
+++ b/sm/server.c
@@ -274,7 +274,7 @@ option_handler (assuan_context_t ctx, const char *key, const char *value)
int i = *value? atoi (value) : 0;
ctrl->with_validation = i;
}
- else if (!strcmp (key, "with-validation"))
+ else if (!strcmp (key, "with-secret"))
{
int i = *value? atoi (value) : 0;
ctrl->with_secret = i;