still preparing for a release V1-9-6
authorWerner Koch <wk@gnupg.org>
Sat, 6 Mar 2004 20:15:17 +0000 (20:15 +0000)
committerWerner Koch <wk@gnupg.org>
Sat, 6 Mar 2004 20:15:17 +0000 (20:15 +0000)
sm/certchain.c

index 2904680..5056139 100644 (file)
@@ -480,7 +480,7 @@ is_cert_still_valid (ctrl_t ctrl, int lm, FILE *fp,
     {
       gpg_error_t err;
 
-      err = gpgsm_dirmngr_isvalid (subject_cert, ctrl->use_ocsp);
+      err = gpgsm_dirmngr_isvalid (subject_cert, issuer_cert, ctrl->use_ocsp);
       if (err)
         {
           /* Fixme: We should change the wording because we may
@@ -509,7 +509,7 @@ is_cert_still_valid (ctrl_t ctrl, int lm, FILE *fp,
               break;
             default:
               do_list (1, lm, fp, _("checking the CRL failed: %s"),
-                       gpg_strerror (rc));
+                       gpg_strerror (err));
               return err;
             }
         }