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: a5360ae4c7bfe6df6754409d5bd5c5a521ae5e6f
GnuPG-bug-Id: 5079
This commit is contained in:
Werner Koch 2024-09-17 13:38:35 +02:00
parent b804378f18
commit 6432d17385
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

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