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
63 call %test%\testenc openssl
64 if errorlevel 1 goto done
67 call %test%\testpem openssl
68 if errorlevel 1 goto done
71 call %test%\testss openssl
72 if errorlevel 1 goto done
74 set SSL_TEST=ssltest -key keyU.ss -cert certU.ss -c_key keyU.ss -c_cert certU.ss -CAfile certCA.ss
78 if errorlevel 1 goto done
80 echo test sslv3 with server authentication
81 %SSL_TEST% -ssl3 -server_auth
82 if errorlevel 1 goto done
84 echo test sslv3 with client authentication
85 %SSL_TEST% -ssl3 -client_auth
86 if errorlevel 1 goto done
88 echo test sslv3 with both client and server authentication
89 %SSL_TEST% -ssl3 -server_auth -client_auth
90 if errorlevel 1 goto done
94 if errorlevel 1 goto done
96 echo test sslv2/sslv3 with server authentication
97 %SSL_TEST% -server_auth
98 if errorlevel 1 goto done
100 echo test sslv2/sslv3 with client authentication
101 %SSL_TEST% -client_auth
102 if errorlevel 1 goto done
104 echo test sslv2/sslv3 with both client and server authentication
105 %SSL_TEST% -server_auth -client_auth
106 if errorlevel 1 goto done
108 echo test sslv2/sslv3 with 1024 bit DHE via BIO pair
109 ssltest -bio_pair -dhe1024dsa -v
110 if errorlevel 1 goto done
112 echo test sslv3 via BIO pair
113 ssltest -bio_pair -ssl3
114 if errorlevel 1 goto done
116 echo test sslv3 with server authentication via BIO pair
117 %SSL_TEST% -bio_pair -ssl3 -server_auth
118 if errorlevel 1 goto done
120 echo test sslv3 with client authentication via BIO pair
121 %SSL_TEST% -bio_pair -ssl3 -client_auth
122 if errorlevel 1 goto done
124 echo test sslv3 with both client and server authentication via BIO pair
125 %SSL_TEST% -bio_pair -ssl3 -server_auth -client_auth
126 if errorlevel 1 goto done
128 echo test sslv2/sslv3 via BIO pair
130 if errorlevel 1 goto done
132 echo test sslv2/sslv3 with server authentication
133 %SSL_TEST% -bio_pair -server_auth
134 if errorlevel 1 goto done
136 echo test sslv2/sslv3 with client authentication via BIO pair
137 %SSL_TEST% -bio_pair -client_auth
138 if errorlevel 1 goto done
140 echo test sslv2/sslv3 with both client and server authentication via BIO pair
141 %SSL_TEST% -bio_pair -server_auth -client_auth
142 if errorlevel 1 goto done
144 echo passed all tests