diff options
| author | djm <> | 2011-11-03 02:32:24 +0000 |
|---|---|---|
| committer | djm <> | 2011-11-03 02:32:24 +0000 |
| commit | bd081fc6d9aca84ff3cbde2c626c28668f73d967 (patch) | |
| tree | cf32a9eedf59bc153f2cabc7cf72bacad24c4aff /src/lib/libssl/test/trsa.com | |
| parent | 75291ae343a87368ad49c13ac02f85a88159417f (diff) | |
| download | openbsd-bd081fc6d9aca84ff3cbde2c626c28668f73d967.tar.gz openbsd-bd081fc6d9aca84ff3cbde2c626c28668f73d967.tar.bz2 openbsd-bd081fc6d9aca84ff3cbde2c626c28668f73d967.zip | |
import OpenSSL 1.0.0e
Diffstat (limited to 'src/lib/libssl/test/trsa.com')
| -rw-r--r-- | src/lib/libssl/test/trsa.com | 13 |
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" |
