summaryrefslogtreecommitdiff
path: root/src/lib/libssl/test/trsa.com
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/test/trsa.com')
-rw-r--r--src/lib/libssl/test/trsa.com13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/libssl/test/trsa.com b/src/lib/libssl/test/trsa.com
index d3a8a605b7..54180843ee 100644
--- a/src/lib/libssl/test/trsa.com
+++ b/src/lib/libssl/test/trsa.com
@@ -1,10 +1,13 @@
1$! TRSA.COM -- Tests rsa keys 1$! TRSA.COM -- Tests rsa keys
2$ 2$
3$ __arch := VAX 3$ __arch = "VAX"
4$ if f$getsyi("cpu") .ge. 128 then - 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") 5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK 6$ if __arch .eqs. "" then __arch = "UNK"
7$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 7$!
8$ if (p2 .eqs. "64") then __arch = __arch+ "_64"
9$!
10$ exe_dir = "sys$disk:[-.''__arch'.exe.apps]"
8$ 11$
9$ set noon 12$ set noon
10$ define/user sys$output nla0: 13$ define/user sys$output nla0:
@@ -17,9 +20,9 @@ $ write sys$output "skipping RSA conversion test"
17$ exit 20$ exit
18$ endif 21$ endif
19$ 22$
20$ cmd := mcr 'exe_dir'openssl rsa 23$ cmd = "mcr ''exe_dir'openssl rsa"
21$ 24$
22$ t := testrsa.pem 25$ t = "testrsa.pem"
23$ if p1 .nes. "" then t = p1 26$ if p1 .nes. "" then t = p1
24$ 27$
25$ write sys$output "testing RSA conversions" 28$ write sys$output "testing RSA conversions"