diff options
author | Simon L. B. Nielsen <simon@FreeBSD.org> | 2009-06-07 19:56:18 +0000 |
---|---|---|
committer | Simon L. B. Nielsen <simon@FreeBSD.org> | 2009-06-07 19:56:18 +0000 |
commit | 518099af59fbde0e7140459c76f59c9ac24bdf9c (patch) | |
tree | 873f9f63931a5d069bbcb053ea49eec4a92802dc /apps/verify.c | |
parent | c285625302c2411508052af6f109be9f6b789379 (diff) |
Notes
Diffstat (limited to 'apps/verify.c')
-rw-r--r-- | apps/verify.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/verify.c b/apps/verify.c index 9ff32cb06832..20cc9e354cd3 100644 --- a/apps/verify.c +++ b/apps/verify.c @@ -266,7 +266,7 @@ static int check(X509_STORE *ctx, char *file, STACK_OF(X509) *uchain, STACK_OF(X ret=0; end: - if (i) + if (i > 0) { fprintf(stdout,"OK\n"); ret=1; @@ -367,4 +367,3 @@ static int MS_CALLBACK cb(int ok, X509_STORE_CTX *ctx) ERR_clear_error(); return(ok); } - |