New function CRYPTO_num_locks.
[openssl.git] / test / testssl.com
1 $! TESTSSL.COM
2 $
3 $       __arch := VAX
4 $       if f$getsyi("cpu") .ge. 128 then __arch := AXP
5 $       exe_dir := sys$disk:[-.'__arch'.exe.test]
6 $
7 $       copy/concatenate [-.certs]*.pem certs.tmp
8 $
9 $       write sys$output "test sslv2"
10 $       mcr 'exe_dir'ssltest -ssl2
11 $       if $severity .ne. 1 then goto exit3
12 $
13 $       write sys$output "test sslv2 with server authentication"
14 $       mcr 'exe_dir'ssltest -ssl2 -server_auth "-CAfile" certs.tmp
15 $       if $severity .ne. 1 then goto exit3
16 $
17 $       write sys$output "test sslv2 with client authentication"
18 $       mcr 'exe_dir'ssltest -ssl2 -client_auth "-CAfile" certs.tmp
19 $       if $severity .ne. 1 then goto exit3
20 $
21 $       write sys$output "test sslv2 with both client and server authentication"
22 $       mcr 'exe_dir'ssltest -ssl2 -server_auth -client_auth "-CAfile" certs.tmp
23 $       if $severity .ne. 1 then goto exit3
24 $
25 $       write sys$output "test sslv3"
26 $       mcr 'exe_dir'ssltest -ssl3
27 $       if $severity .ne. 1 then goto exit3
28 $
29 $       write sys$output "test sslv3 with server authentication"
30 $       mcr 'exe_dir'ssltest -ssl3 -server_auth "-CAfile" certs.tmp
31 $       if $severity .ne. 1 then goto exit3
32 $
33 $       write sys$output "test sslv3 with client authentication"
34 $       mcr 'exe_dir'ssltest -ssl3 -client_auth "-CAfile" certs.tmp
35 $       if $severity .ne. 1 then goto exit3
36 $
37 $       write sys$output "test sslv3 with both client and server authentication"
38 $       mcr 'exe_dir'ssltest -ssl3 -server_auth -client_auth "-CAfile" certs.tmp
39 $       if $severity .ne. 1 then goto exit3
40 $
41 $       write sys$output "test sslv2/sslv3"
42 $       mcr 'exe_dir'ssltest
43 $       if $severity .ne. 1 then goto exit3
44 $
45 $       write sys$output "test sslv2/sslv3 with server authentication"
46 $       mcr 'exe_dir'ssltest -server_auth "-CAfile" certs.tmp
47 $       if $severity .ne. 1 then goto exit3
48 $
49 $       write sys$output "test sslv2/sslv3 with client authentication"
50 $       mcr 'exe_dir'ssltest -client_auth "-CAfile" certs.tmp
51 $       if $severity .ne. 1 then goto exit3
52 $
53 $       write sys$output "test sslv2/sslv3 with both client and server authentication"
54 $       mcr 'exe_dir'ssltest -server_auth -client_auth "-CAfile" certs.tmp
55 $       if $severity .ne. 1 then goto exit3
56 $
57 $       RET = 1
58 $       goto exit
59 $ exit3:
60 $       RET = 3
61 $ exit:
62 $       delete certs.tmp;*
63 $       exit 'RET'