1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-28 21:50:02 +02:00

gpgsm: Fix commit be07ed65.

* sm/server.c (option_handler): Use "with-secret".
This commit is contained in:
Werner Koch 2014-06-04 08:50:10 +02:00
parent be07ed65e1
commit 09a2d4ec74

View File

@ -274,7 +274,7 @@ option_handler (assuan_context_t ctx, const char *key, const char *value)
int i = *value? atoi (value) : 0; int i = *value? atoi (value) : 0;
ctrl->with_validation = i; ctrl->with_validation = i;
} }
else if (!strcmp (key, "with-validation")) else if (!strcmp (key, "with-secret"))
{ {
int i = *value? atoi (value) : 0; int i = *value? atoi (value) : 0;
ctrl->with_secret = i; ctrl->with_secret = i;