diff options
author | Eduardo Chappa <chappa@washington.edu> | 2017-07-18 19:04:03 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2017-07-18 19:04:03 -0600 |
commit | b136a847c4acd743b0026c7dfd2069196520a260 (patch) | |
tree | 03650586533a5561aaaf3d1f8f4edd1d51c37660 /pith/smkeys.c | |
parent | bc3f61e54599136fb264cf4074abb685b866eb85 (diff) | |
download | alpine-b136a847c4acd743b0026c7dfd2069196520a260.tar.xz |
* Fix a few compiler warnings.
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; } |