summaryrefslogtreecommitdiff
path: root/src/lib/libssl/test/testssl.com
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/test/testssl.com')
-rw-r--r--src/lib/libssl/test/testssl.com32
1 files changed, 23 insertions, 9 deletions
diff --git a/src/lib/libssl/test/testssl.com b/src/lib/libssl/test/testssl.com
index 785f262f5a..26308f7715 100644
--- a/src/lib/libssl/test/testssl.com
+++ b/src/lib/libssl/test/testssl.com
@@ -159,16 +159,25 @@ $ if $severity .ne. 1 then goto exit3
159$ 159$
160$!########################################################################### 160$!###########################################################################
161$ 161$
162$ write sys$output "test tls1 with 1024bit anonymous DH, multiple handshakes"
163$ 'ssltest' -v -bio_pair -tls1 -cipher "ADH" -dhe1024dsa -num 10 -f -time
164$ if $severity .ne. 1 then goto exit3
165$
166$ set noon 162$ set noon
167$ define/user sys$output nla0: 163$ define/user sys$output nla0:
168$ mcr 'exe_dir'openssl no-rsa 164$ mcr 'exe_dir'openssl no-rsa
169$ save_severity=$SEVERITY 165$ no_rsa=$SEVERITY
166$ define/user sys$output nla0:
167$ mcr 'exe_dir'openssl no-dh
168$ no_dh=$SEVERITY
170$ set on 169$ set on
171$ if save_severity 170$
171$ if no_dh
172$ then
173$ write sys$output "skipping anonymous DH tests"
174$ else
175$ write sys$output "test tls1 with 1024bit anonymous DH, multiple handshakes"
176$ 'ssltest' -v -bio_pair -tls1 -cipher "ADH" -dhe1024dsa -num 10 -f -time
177$ if $severity .ne. 1 then goto exit3
178$ endif
179$
180$ if no_rsa
172$ then 181$ then
173$ write sys$output "skipping RSA tests" 182$ write sys$output "skipping RSA tests"
174$ else 183$ else
@@ -176,9 +185,14 @@ $ write sys$output "test tls1 with 1024bit RSA, no DHE, multiple handshakes"
176$ mcr 'texe_dir'ssltest -v -bio_pair -tls1 -cert [-.apps]server2.pem -no_dhe -num 10 -f -time 185$ mcr 'texe_dir'ssltest -v -bio_pair -tls1 -cert [-.apps]server2.pem -no_dhe -num 10 -f -time
177$ if $severity .ne. 1 then goto exit3 186$ if $severity .ne. 1 then goto exit3
178$ 187$
179$ write sys$output "test tls1 with 1024bit RSA, 1024bit DHE, multiple handshakes" 188$ if no_dh
180$ mcr 'texe_dir'ssltest -v -bio_pair -tls1 -cert [-.apps]server2.pem -dhe1024dsa -num 10 -f -time 189$ then
181$ if $severity .ne. 1 then goto exit3 190$ write sys$output "skipping RSA+DHE tests"
191$ else
192$ write sys$output "test tls1 with 1024bit RSA, 1024bit DHE, multiple handshakes"
193$ mcr 'texe_dir'ssltest -v -bio_pair -tls1 -cert [-.apps]server2.pem -dhe1024dsa -num 10 -f -time
194$ if $severity .ne. 1 then goto exit3
195$ endif
182$ endif 196$ endif
183$ 197$
184$ RET = 1 198$ RET = 1