Note bug fix for the DSA infinite loop
[openssl.git] / test / testssl
1 #!/bin/sh
2
3 echo test sslv2
4 ./ssltest -ssl2 || exit 1
5
6 echo test sslv2 with server authentication
7 ./ssltest -ssl2 -server_auth -CApath ../certs || exit 1
8
9 echo test sslv2 with client authentication
10 ./ssltest -ssl2 -client_auth -CApath ../certs || exit 1
11
12 echo test sslv2 with both client and server authentication
13 ./ssltest -ssl2 -server_auth -client_auth -CApath ../certs || exit 1
14
15 echo test sslv3
16 ./ssltest -ssl3 || exit 1
17
18 echo test sslv3 with server authentication
19 ./ssltest -ssl3 -server_auth -CApath ../certs || exit 1
20
21 echo test sslv3 with client authentication
22 ./ssltest -ssl3 -client_auth -CApath ../certs || exit 1
23
24 echo test sslv3 with both client and server authentication
25 ./ssltest -ssl3 -server_auth -client_auth -CApath ../certs || exit 1
26
27 echo test sslv2/sslv3
28 ./ssltest || exit 1
29
30 echo test sslv2/sslv3 with server authentication
31 ./ssltest -server_auth -CApath ../certs || exit 1
32
33 echo test sslv2/sslv3 with client authentication
34 ./ssltest -client_auth -CApath ../certs || exit 1
35
36 echo test sslv2/sslv3 with both client and server authentication
37 ./ssltest -server_auth -client_auth -CApath ../certs || exit 1
38
39 echo test sslv2 via BIO pair
40 ./ssltest -bio_pair -ssl2 || exit 1
41
42 echo test sslv2 with server authentication via BIO pair
43 ./ssltest -bio_pair -ssl2 -server_auth -CApath ../certs || exit 1
44
45 echo test sslv2 with client authentication via BIO pair
46 ./ssltest -bio_pair -ssl2 -client_auth -CApath ../certs || exit 1
47
48 echo test sslv2 with both client and server authentication via BIO pair
49 ./ssltest -bio_pair -ssl2 -server_auth -client_auth -CApath ../certs || exit 1
50
51 echo test sslv3 via BIO pair
52 ./ssltest -bio_pair -ssl3 || exit 1
53
54 echo test sslv3 with server authentication via BIO pair
55 ./ssltest -bio_pair -ssl3 -server_auth -CApath ../certs || exit 1
56
57 echo test sslv3 with client authentication via BIO pair
58 ./ssltest -bio_pair -ssl3 -client_auth -CApath ../certs || exit 1
59
60 echo test sslv3 with both client and server authentication via BIO pair
61 ./ssltest -bio_pair -ssl3 -server_auth -client_auth -CApath ../certs || exit 1
62
63 echo test sslv2/sslv3 via BIO pair
64 ./ssltest || exit 1
65
66 echo test sslv2/sslv3 w/o DHE via BIO pair
67 ./ssltest -bio_pair -no_dhe || exit 1
68
69 echo test sslv2/sslv3 with 1024bit DHE
70 ./ssltest -bio_pair -dhe1024 -v || exit 1
71
72 echo test sslv2/sslv3 with server authentication
73 ./ssltest -bio_pair -server_auth -CApath ../certs || exit 1
74
75 echo test sslv2/sslv3 with client authentication via BIO pair
76 ./ssltest -bio_pair -client_auth -CApath ../certs || exit 1
77
78 echo test sslv2/sslv3 with both client and server authentication via BIO pair
79 ./ssltest -bio_pair -server_auth -client_auth -CApath ../certs || exit 1
80
81 exit 0