6 set OPENSSL_CONF=..\apps\openssl.cnf
8 rem run this from inside the bin directory
12 if errorlevel 1 goto done
16 if errorlevel 1 goto done
20 if errorlevel 1 goto done
24 if errorlevel 1 goto done
28 if errorlevel 1 goto done
32 if errorlevel 1 goto done
36 if errorlevel 1 goto done
40 if errorlevel 1 goto done
44 if errorlevel 1 goto done
48 if errorlevel 1 goto done
52 if errorlevel 1 goto done
56 if errorlevel 1 goto done
60 if errorlevel 1 goto done
64 if errorlevel 1 goto done
67 call %test%\testenc openssl
68 if errorlevel 1 goto done
71 call %test%\testpem openssl
72 if errorlevel 1 goto done
75 call %test%\testss openssl
76 if errorlevel 1 goto done
78 set SSL_TEST=ssltest -key keyU.ss -cert certU.ss -c_key keyU.ss -c_cert certU.ss -CAfile certCA.ss
82 if errorlevel 1 goto done
84 echo test sslv2 with server authentication
85 %SSL_TEST% -ssl2 -server_auth
86 if errorlevel 1 goto done
88 echo test sslv2 with client authentication
89 %SSL_TEST% -ssl2 -client_auth
90 if errorlevel 1 goto done
92 echo test sslv2 with both client and server authentication
93 %SSL_TEST% -ssl2 -server_auth -client_auth
94 if errorlevel 1 goto done
98 if errorlevel 1 goto done
100 echo test sslv3 with server authentication
101 %SSL_TEST% -ssl3 -server_auth
102 if errorlevel 1 goto done
104 echo test sslv3 with client authentication
105 %SSL_TEST% -ssl3 -client_auth
106 if errorlevel 1 goto done
108 echo test sslv3 with both client and server authentication
109 %SSL_TEST% -ssl3 -server_auth -client_auth
110 if errorlevel 1 goto done
112 echo test sslv2/sslv3
114 if errorlevel 1 goto done
116 echo test sslv2/sslv3 with server authentication
117 %SSL_TEST% -server_auth
118 if errorlevel 1 goto done
120 echo test sslv2/sslv3 with client authentication
121 %SSL_TEST% -client_auth
122 if errorlevel 1 goto done
124 echo test sslv2/sslv3 with both client and server authentication
125 %SSL_TEST% -server_auth -client_auth
126 if errorlevel 1 goto done
128 echo test sslv2 via BIO pair
129 ssltest -bio_pair -ssl2
130 if errorlevel 1 goto done
132 echo test sslv2/sslv3 with 1024 bit DHE via BIO pair
133 ssltest -bio_pair -dhe1024dsa -v
134 if errorlevel 1 goto done
136 echo test sslv2 with server authentication via BIO pair
137 %SSL_TEST% -bio_pair -ssl2 -server_auth
138 if errorlevel 1 goto done
140 echo test sslv2 with client authentication via BIO pair
141 %SSL_TEST% -bio_pair -ssl2 -client_auth
142 if errorlevel 1 goto done
144 echo test sslv2 with both client and server authentication via BIO pair
145 %SSL_TEST% -bio_pair -ssl2 -server_auth -client_auth
146 if errorlevel 1 goto done
148 echo test sslv3 via BIO pair
149 ssltest -bio_pair -ssl3
150 if errorlevel 1 goto done
152 echo test sslv3 with server authentication via BIO pair
153 %SSL_TEST% -bio_pair -ssl3 -server_auth
154 if errorlevel 1 goto done
156 echo test sslv3 with client authentication via BIO pair
157 %SSL_TEST% -bio_pair -ssl3 -client_auth
158 if errorlevel 1 goto done
160 echo test sslv3 with both client and server authentication via BIO pair
161 %SSL_TEST% -bio_pair -ssl3 -server_auth -client_auth
162 if errorlevel 1 goto done
164 echo test sslv2/sslv3 via BIO pair
166 if errorlevel 1 goto done
168 echo test sslv2/sslv3 with server authentication
169 %SSL_TEST% -bio_pair -server_auth
170 if errorlevel 1 goto done
172 echo test sslv2/sslv3 with client authentication via BIO pair
173 %SSL_TEST% -bio_pair -client_auth
174 if errorlevel 1 goto done
176 echo test sslv2/sslv3 with both client and server authentication via BIO pair
177 %SSL_TEST% -bio_pair -server_auth -client_auth
178 if errorlevel 1 goto done
180 echo passed all tests