Marcus Brinkmann пре 17 година
родитељ
комит
590d6a1822
1 измењених фајлова са 3 додато и 1 уклоњено
  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);