Marcus Brinkmann 17 лет назад
Родитель
Сommit
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
   /* 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))
   if (strcmp (cert->chain_id, cert->fpr))
     err = scute_gpgsm_search_certs_by_fpr (cert->chain_id, search_cb, ctx);
     err = scute_gpgsm_search_certs_by_fpr (cert->chain_id, search_cb, ctx);