tests: Let run-verify print the de-vs flag.
* tests/run-verify.c (print_result): Chack is_de_vs. * tests/run-import.c (main): Fix bad parameter for format string. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
4a117859e7
commit
b159b2eddd
@ -135,7 +135,7 @@ main (int argc, char **argv)
|
||||
err = gpgme_op_getauditlog (ctx, log, GPGME_AUDITLOG_DIAG);
|
||||
fail_if_err (err);
|
||||
buf = gpgme_data_release_and_get_mem (log, &len);
|
||||
printf ("\nDiagnostic output:\n%.*s\n", len, buf);
|
||||
printf ("\nDiagnostic output:\n%.*s\n", (int)len, buf);
|
||||
free (buf);
|
||||
}
|
||||
|
||||
|
@ -159,9 +159,10 @@ print_result (gpgme_verify_result_t result)
|
||||
sig->pka_trust == 0? "n/a" :
|
||||
sig->pka_trust == 1? "bad" :
|
||||
sig->pka_trust == 2? "okay": "RFU");
|
||||
printf (" other flags:%s%s\n",
|
||||
printf (" other flags:%s%s%s\n",
|
||||
sig->wrong_key_usage? " wrong-key-usage":"",
|
||||
sig->chain_model? " chain-model":""
|
||||
sig->chain_model? " chain-model":"",
|
||||
sig->is_de_vs? " de-vs":""
|
||||
);
|
||||
for (nt = sig->notations; nt; nt = nt->next)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user