Parcourir la source

Add a lone comment.

Marcus Brinkmann il y a 17 ans
Parent
commit
590d6a1822
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/gpgsm.c

+ 3 - 1
src/gpgsm.c

@@ -83,7 +83,9 @@ search_cb (void *hook, struct cert *cert)
     }
 
   /* Add the certificate chain recursively before adding the
-     certificate.  */
+     certificate.  But ignore errors.  If the chain is incomplete, we
+     might still be able to proceed, for example with client
+     authentication.  */
   if (strcmp (cert->chain_id, cert->fpr))
     err = scute_gpgsm_search_certs_by_fpr (cert->chain_id, search_cb, ctx);