summaryrefslogtreecommitdiffstats
path: root/g10/sig-check.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-10-01 09:23:00 +0200
committerWerner Koch <wk@gnupg.org>1998-10-01 09:23:00 +0200
commit6f73ec963a6d01e16599a62661dd2a74303ed65c (patch)
treec60f67d0da185df63ac2a60a156e60eebe94b82b /g10/sig-check.c
parent*** empty log message *** (diff)
downloadgnupg2-6f73ec963a6d01e16599a62661dd2a74303ed65c.tar.xz
gnupg2-6f73ec963a6d01e16599a62661dd2a74303ed65c.zip
*** empty log message ***
Diffstat (limited to 'g10/sig-check.c')
-rw-r--r--g10/sig-check.c2
1 files changed, 2 insertions, 0 deletions
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;
}