summaryrefslogtreecommitdiffstats
path: root/sm/certchain.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-12-12 11:28:30 +0100
committerWerner Koch <wk@gnupg.org>2007-12-12 11:28:30 +0100
commitbae4b256c79c24e5306c692adf9bb5891433c7d5 (patch)
treec0aae4de008d75964074146240257f81b8ded0b1 /sm/certchain.c
parentAllow decryption using type 20 Elgamal keys. (diff)
downloadgnupg2-bae4b256c79c24e5306c692adf9bb5891433c7d5.tar.xz
gnupg2-bae4b256c79c24e5306c692adf9bb5891433c7d5.zip
Support DSA2.
Support Camellia for testing. More audit stuff.
Diffstat (limited to 'sm/certchain.c')
-rw-r--r--sm/certchain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sm/certchain.c b/sm/certchain.c
index f30c0c0ae..a21a38a07 100644
--- a/sm/certchain.c
+++ b/sm/certchain.c
@@ -1127,6 +1127,8 @@ do_validate_chain (ctrl_t ctrl, ksba_cert_t cert, ksba_isotime_t checktime_arg,
associated with that specific root certificate. */
istrusted_rc = gpgsm_agent_istrusted (ctrl, subject_cert,
rootca_flags);
+ audit_log_cert (ctrl->audit, AUDIT_ROOT_TRUSTED,
+ subject_cert, istrusted_rc);
/* If the chain model extended attribute is used, make sure
that our chain model flag is set. */
if (has_validation_model_chain (subject_cert, listmode, listfp))