mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-10 21:38:50 +01:00
agent: Fix detection of the trustflag de-vs.
* agent/trustlist.c (read_one_trustfile): Fix comparison.
--
Fixes-commit: a5360ae4c7
GnuPG-bug-Id: 5079
This commit is contained in:
parent
730593affa
commit
6ff13380a2
@ -325,7 +325,7 @@ read_one_trustfile (const char *fname, int systrust,
|
|||||||
ti->flags.cm = 1;
|
ti->flags.cm = 1;
|
||||||
else if (n == 4 && !memcmp (p, "qual", 4) && systrust)
|
else if (n == 4 && !memcmp (p, "qual", 4) && systrust)
|
||||||
ti->flags.qual = 1;
|
ti->flags.qual = 1;
|
||||||
else if (n == 4 && !memcmp (p, "de-vs", 4) && systrust)
|
else if (n == 5 && !memcmp (p, "de-vs", 5) && systrust)
|
||||||
ti->flags.de_vs = 1;
|
ti->flags.de_vs = 1;
|
||||||
else
|
else
|
||||||
log_error ("flag '%.*s' in '%s', line %d ignored\n",
|
log_error ("flag '%.*s' in '%s', line %d ignored\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user