mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* gpgsm.c: Fixed value parsing for --with-validation.
* call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO. * call-dirmngr.c (start_dirmngr): Likewise for DIRMNGR_INFO.
This commit is contained in:
parent
d68674a77a
commit
81edc1e40e
4 changed files with 9 additions and 4 deletions
|
@ -172,7 +172,8 @@ option_handler (ASSUAN_CONTEXT ctx, const char *key, const char *value)
|
|||
}
|
||||
else if (!strcmp (key, "with-validation"))
|
||||
{
|
||||
ctrl->with_validation = !!*value;
|
||||
int i = *value? atoi (value) : 0;
|
||||
ctrl->with_validation = i;
|
||||
}
|
||||
else
|
||||
return ASSUAN_Invalid_Option;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue