diff options
Diffstat (limited to 'src/lib/libssl/test/testss.com')
-rw-r--r-- | src/lib/libssl/test/testss.com | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/lib/libssl/test/testss.com b/src/lib/libssl/test/testss.com index ce2c4b43f6..685ae5043d 100644 --- a/src/lib/libssl/test/testss.com +++ b/src/lib/libssl/test/testss.com | |||
@@ -4,7 +4,7 @@ $ __arch := VAX | |||
4 | $ if f$getsyi("cpu") .ge. 128 then __arch := AXP | 4 | $ if f$getsyi("cpu") .ge. 128 then __arch := AXP |
5 | $ exe_dir := sys$disk:[-.'__arch'.exe.apps] | 5 | $ exe_dir := sys$disk:[-.'__arch'.exe.apps] |
6 | $ | 6 | $ |
7 | $ digest="-mdc2" | 7 | $ digest="-md5" |
8 | $ reqcmd := mcr 'exe_dir'openssl req | 8 | $ reqcmd := mcr 'exe_dir'openssl req |
9 | $ x509cmd := mcr 'exe_dir'openssl x509 'digest' | 9 | $ x509cmd := mcr 'exe_dir'openssl x509 'digest' |
10 | $ verifycmd := mcr 'exe_dir'openssl verify | 10 | $ verifycmd := mcr 'exe_dir'openssl verify |
@@ -23,7 +23,20 @@ $ Ucert="""certU.ss""" | |||
23 | $ | 23 | $ |
24 | $ write sys$output "" | 24 | $ write sys$output "" |
25 | $ write sys$output "make a certificate request using 'req'" | 25 | $ write sys$output "make a certificate request using 'req'" |
26 | $ 'reqcmd' -config 'CAconf' -out 'CAreq' -keyout 'CAkey' -new ! -out err.ss | 26 | $ |
27 | $ set noon | ||
28 | $ define/user sys$output nla0: | ||
29 | $ mcr 'exe_dir'openssl no-rsa | ||
30 | $ save_severity=$SEVERITY | ||
31 | $ set on | ||
32 | $ if save_severity | ||
33 | $ then | ||
34 | $ req_new="-newkey dsa:[-.apps]dsa512.pem" | ||
35 | $ else | ||
36 | $ req_new="-new" | ||
37 | $ endif | ||
38 | $ | ||
39 | $ 'reqcmd' -config 'CAconf' -out 'CAreq' -keyout 'CAkey' 'req_new' ! -out err.ss | ||
27 | $ if $severity .ne. 1 | 40 | $ if $severity .ne. 1 |
28 | $ then | 41 | $ then |
29 | $ write sys$output "error using 'req' to generate a certificate request" | 42 | $ write sys$output "error using 'req' to generate a certificate request" |
@@ -73,7 +86,7 @@ $ | |||
73 | $ write sys$output "" | 86 | $ write sys$output "" |
74 | $ write sys$output "make another certificate request using 'req'" | 87 | $ write sys$output "make another certificate request using 'req'" |
75 | $ define /user sys$output err.ss | 88 | $ define /user sys$output err.ss |
76 | $ 'reqcmd' -config 'Uconf' -out 'Ureq' -keyout 'Ukey' -new | 89 | $ 'reqcmd' -config 'Uconf' -out 'Ureq' -keyout 'Ukey' 'req_new' |
77 | $ if $severity .ne. 1 | 90 | $ if $severity .ne. 1 |
78 | $ then | 91 | $ then |
79 | $ write sys$output "error using 'req' to generate a certificate request" | 92 | $ write sys$output "error using 'req' to generate a certificate request" |