diff options
Diffstat (limited to 'pith/smkeys.c')
-rw-r--r-- | pith/smkeys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/smkeys.c b/pith/smkeys.c index d899f4f8..ea4b551e 100644 --- a/pith/smkeys.c +++ b/pith/smkeys.c @@ -721,7 +721,7 @@ add_certs_in_dir(X509_LOOKUP *lookup, char *path, char *ext, CertList **cdata) } /* if all certificates fail to load */ - if(nerr == nfiles) ret = -1; + if(nerr > 0 && nerr == nfiles) ret = -1; return ret; } |