mirror of
git://git.gnupg.org/gnupg.git
synced 2024-10-29 19:48:43 +01:00
agent: Fix detection of the trustflag de-vs.
* agent/trustlist.c (read_one_trustfile): Fix comparison.
--
Fixes-commit: 6d45fcdd3c
GnuPG-bug-Id: 5079
This commit is contained in:
parent
b357ff2aa6
commit
d9fdc165e6
@ -326,7 +326,7 @@ read_one_trustfile (const char *fname, int systrust,
|
||||
ti->flags.cm = 1;
|
||||
else if (n == 4 && !memcmp (p, "qual", 4) && systrust)
|
||||
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;
|
||||
else
|
||||
log_error ("flag '%.*s' in '%s', line %d ignored\n",
|
||||
|
Loading…
Reference in New Issue
Block a user