From 6f73ec963a6d01e16599a62661dd2a74303ed65c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 1 Oct 1998 07:23:00 +0000 Subject: *** empty log message *** --- g10/sig-check.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'g10/sig-check.c') diff --git a/g10/sig-check.c b/g10/sig-check.c index 5e6873f9d..b983bb42c 100644 --- a/g10/sig-check.c +++ b/g10/sig-check.c @@ -224,6 +224,8 @@ do_check( PKT_public_key *pk, PKT_signature *sig, MD_HANDLE digest ) rc = pubkey_verify( pk->pubkey_algo, result, sig->data, pk->pkey, cmp_help, &ctx ); mpi_free( result ); + sig->flags.checked = 1; + sig->flags.valid = !rc; return rc; } -- cgit v1.2.3