aboutsummaryrefslogtreecommitdiffstats
path: root/sm/certchain.c
diff options
context:
space:
mode:
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 4a4ac49f6..647adc030 100644
--- a/sm/certchain.c
+++ b/sm/certchain.c
@@ -597,6 +597,8 @@ is_cert_still_valid (ctrl_t ctrl, int lm, FILE *fp,
{
/* Fixme: We should change the wording because we may
have used OCSP. */
+ if (!lm)
+ gpgsm_cert_log_name (NULL, subject_cert);
switch (gpg_err_code (err))
{
case GPG_ERR_CERT_REVOKED: