Updatde from stable branch.
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index c76f667..9ef43df 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -2177,7 +2177,7 @@
 
 	if (cb_arg->proxy_auth)
 		{
-		if (ok)
+		if (ok > 0)
 			{
 			const char *cond_end = NULL;