Bugs corrected, and a couple of include files to get declarations for
[openssl.git] / test / trsa.com
index c7d1ec441dedd4b74868055e6873d94b11d768ce..6b6c318e2b53125ecd3ab1f157e0e334ab519362 100644 (file)
@@ -4,12 +4,26 @@ $     __arch := VAX
 $      if f$getsyi("cpu") .ge. 128 then __arch := AXP
 $      exe_dir := sys$disk:[-.'__arch'.exe.apps]
 $
+$      set noon
+$      define/user sys$output nla0:
+$      mcr 'exe_dir'openssl no-rsa
+$      save_severity=$SEVERITY
+$      set on
+$      if save_severity
+$      then
+$          write sys$output "skipping RSA conversion test"
+$          exit
+$      endif
+$
 $      cmd := mcr 'exe_dir'openssl rsa
 $
 $      t := testrsa.pem
 $      if p1 .nes. "" then t = p1
 $
 $      write sys$output "testing RSA conversions"
+$      if f$search("fff.*") .nes "" then delete fff.*;*
+$      if f$search("ff.*") .nes "" then delete ff.*;*
+$      if f$search("f.*") .nes "" then delete f.*;*
 $      copy 't' fff.p
 $
 $      write sys$output "p -> d"