1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +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:
Werner Koch 2024-09-17 13:38:35 +02:00
parent b357ff2aa6
commit d9fdc165e6
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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",