From d9fdc165e65706f19e60221ad00b59a88fdff567 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 17 Sep 2024 13:38:35 +0200 Subject: [PATCH] agent: Fix detection of the trustflag de-vs. * agent/trustlist.c (read_one_trustfile): Fix comparison. -- Fixes-commit: 6d45fcdd3c3e8d039b05f7276e7619c19fc957d1 GnuPG-bug-Id: 5079 --- agent/trustlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/trustlist.c b/agent/trustlist.c index 5617370a8..3467dc8fb 100644 --- a/agent/trustlist.c +++ b/agent/trustlist.c @@ -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",