mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
agent: Fix detection of the trustflag de-vs.
* agent/trustlist.c (read_one_trustfile): Fix comparison. -- Fixes-commit: 6d45fcdd3c3e8d039b05f7276e7619c19fc957d1 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;
|
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…
x
Reference in New Issue
Block a user