Updatde from stable branch.
[openssl.git] / ssl / ssltest.c
index c76f6677b448c70948231f43d06f59f96ca3237f..9ef43dfa88fb48561200dbbf4d20003ec535f59d 100644 (file)
@@ -2177,7 +2177,7 @@ static int MS_CALLBACK app_verify_callback(X509_STORE_CTX *ctx, void *arg)
 
        if (cb_arg->proxy_auth)
                {
-               if (ok)
+               if (ok > 0)
                        {
                        const char *cond_end = NULL;