File: testsslproxy

package info (click to toggle)
openssl 0.9.8o-4squeeze23
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 29,752 kB
  • ctags: 43,512
  • sloc: ansic: 234,287; perl: 23,985; makefile: 13,204; asm: 9,276; cpp: 4,379; sh: 3,194; lisp: 24
file content (10 lines) | stat: -rw-r--r-- 291 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
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