core: Fix setting of the chain_model signature result.
* src/verify.c (parse_trust): Fix detection of "chain" keyword.
--
Fixes-commit: da6f3dc0c5
from 2007 shortly after introducing this. I doubt that this info has
ever been used (it is for qualified signatures, which are only
supported using the legacy German RegTP rules for them which were soon
overturned by the commercial CAs).
Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
0cc040e82f
commit
728ead8ebd
@ -663,7 +663,7 @@ parse_trust (gpgme_signature_t sig, gpgme_status_code_t code, char *args)
|
||||
{
|
||||
while (*args == ' ')
|
||||
args++;
|
||||
if (!strncmp (args, "chain", 2) && (args[2] == ' ' || !args[2]))
|
||||
if (!strncmp (args, "chain", 5) && (args[5] == ' ' || !args[5]))
|
||||
sig->chain_model = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user