From ea514adfd7cfba4fd10a4622698c0464e3a16e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 7 Sep 2006 08:56:48 +0000 Subject: [PATCH] Comment about the DIR module. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18045 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/ks_dir.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/hx509/ks_dir.c b/lib/hx509/ks_dir.c index ae5cad9e0..1d5751342 100644 --- a/lib/hx509/ks_dir.c +++ b/lib/hx509/ks_dir.c @@ -35,6 +35,14 @@ RCSID("$Id$"); #include +/* + * The DIR keyset module is strange compared to the other modules + * since it does lazy evaluation and really doesn't keep any local + * state except for the directory iteration and cert iteration of + * files. DIR ignores most errors so that the consumer doesn't get + * failes for stray files in directories. + */ + struct dircursor { DIR *dir; hx509_certs certs;