summaryrefslogtreecommitdiffstats
path: root/apps/verify.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-01-07 23:44:27 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-01-07 23:44:27 +0000
commitbab534057b855a7dbf98261d494897b3542bd9d5 (patch)
tree8f339a962fce59f79aca9d68eee75304b885d551 /apps/verify.c
parentcec2af75102df52c2f270b3751e3487f47fccb6c (diff)
Updatde from stable branch.
Diffstat (limited to 'apps/verify.c')
-rw-r--r--apps/verify.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/verify.c b/apps/verify.c
index 9ff32cb068..20cc9e354c 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);
}
-