summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;