diff options
author | Richard Levitte <levitte@openssl.org> | 2000-03-13 22:27:52 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-03-13 22:27:52 +0000 |
commit | c13ee21492f09ac69a189a3dc5f824ce6c23ecc3 (patch) | |
tree | c877b275c167308289d9483e186cfa90a63494a3 /test/testss.com | |
parent | df1ff3f1b3881f9240e0eb4638f605f7f8fa8e4c (diff) |
Synchronise with Unixly tests
Diffstat (limited to 'test/testss.com')
-rw-r--r-- | test/testss.com | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/test/testss.com b/test/testss.com index ce2c4b43f6..685ae5043d 100644 --- a/test/testss.com +++ b/test/testss.com @@ -4,7 +4,7 @@ $ __arch := VAX $ if f$getsyi("cpu") .ge. 128 then __arch := AXP $ exe_dir := sys$disk:[-.'__arch'.exe.apps] $ -$ digest="-mdc2" +$ digest="-md5" $ reqcmd := mcr 'exe_dir'openssl req $ x509cmd := mcr 'exe_dir'openssl x509 'digest' $ verifycmd := mcr 'exe_dir'openssl verify @@ -23,7 +23,20 @@ $ Ucert="""certU.ss""" $ $ write sys$output "" $ write sys$output "make a certificate request using 'req'" -$ 'reqcmd' -config 'CAconf' -out 'CAreq' -keyout 'CAkey' -new ! -out err.ss +$ +$ set noon +$ define/user sys$output nla0: +$ mcr 'exe_dir'openssl no-rsa +$ save_severity=$SEVERITY +$ set on +$ if save_severity +$ then +$ req_new="-newkey dsa:[-.apps]dsa512.pem" +$ else +$ req_new="-new" +$ endif +$ +$ 'reqcmd' -config 'CAconf' -out 'CAreq' -keyout 'CAkey' 'req_new' ! -out err.ss $ if $severity .ne. 1 $ then $ write sys$output "error using 'req' to generate a certificate request" @@ -73,7 +86,7 @@ $ $ write sys$output "" $ write sys$output "make another certificate request using 'req'" $ define /user sys$output err.ss -$ 'reqcmd' -config 'Uconf' -out 'Ureq' -keyout 'Ukey' -new +$ 'reqcmd' -config 'Uconf' -out 'Ureq' -keyout 'Ukey' 'req_new' $ if $severity .ne. 1 $ then $ write sys$output "error using 'req' to generate a certificate request" |