summaryrefslogtreecommitdiff
path: root/lib/libssl/test/testsslproxy
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2005-04-29 05:37:33 +0000
committerDamien Miller <djm@cvs.openbsd.org>2005-04-29 05:37:33 +0000
commitccd50423df222a7b368ec130192398b49e23114a (patch)
treebcb8519cac77e0063babe7789db10f66a9a4988f /lib/libssl/test/testsslproxy
parent14873b1a38891424aaca9c53c17670a20b9a73a9 (diff)
import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@
Diffstat (limited to 'lib/libssl/test/testsslproxy')
-rw-r--r--lib/libssl/test/testsslproxy10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libssl/test/testsslproxy b/lib/libssl/test/testsslproxy
new file mode 100644
index 00000000000..58bbda8ab7d
--- /dev/null
+++ b/lib/libssl/test/testsslproxy
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+echo 'Testing a lot of proxy conditions.'
+echo 'Some of them may turn out being invalid, which is fine.'
+for auth in A B C BC; do
+ for cond in A B C 'A|B&!C'; do
+ sh ./testssl $1 $2 $3 "-proxy -proxy_auth $auth -proxy_cond $cond"
+ if [ $? = 3 ]; then exit 1; fi
+ done
+done