summaryrefslogtreecommitdiffstats
path: root/test/testsslproxy
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-01-17 17:06:58 +0000
committerRichard Levitte <levitte@openssl.org>2005-01-17 17:06:58 +0000
commita7201e9a1bf1282d8a7edcdfc588a62c1217c575 (patch)
tree9ec5d102f77d5b49b02fbd09c99d3c831d2afba6 /test/testsslproxy
parentfcd5cca418c1efcd420cfbdcd56182e0524698c1 (diff)
Changes concering RFC 3820 (proxy certificates) integration:
- Enforce that there should be no policy settings when the language is one of id-ppl-independent or id-ppl-inheritAll. - Add functionality to ssltest.c so that it can process proxy rights and check that they are set correctly. Rights consist of ASCII letters, and the condition is a boolean expression that includes letters, parenthesis, &, | and ^. - Change the proxy certificate configurations so they get proxy rights that are understood by ssltest.c. - Add a script that tests proxy certificates with SSL operations. Other changes: - Change the copyright end year in mkerr.pl. - make update.
Diffstat (limited to 'test/testsslproxy')
-rw-r--r--test/testsslproxy10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/testsslproxy b/test/testsslproxy
new file mode 100644
index 0000000000..40469f591e
--- /dev/null
+++ b/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_auth $auth -proxy_cond $cond"
+ if [ $? == 3 ]; then exit 1; fi
+ done
+done