Document removal of digest+signature algorithm link.
[openssl.git] / apps / verify.c
index 9ff32cb06832162f6ea32e1055c8941a7a4c534c..20cc9e354cd3c1934d4c4036c1ad68f8fc4e453f 100644 (file)
@@ -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);
        }
-