diff options
Diffstat (limited to 'src/lib/libssl/test/tverify.com')
-rw-r--r-- | src/lib/libssl/test/tverify.com | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libssl/test/tverify.com b/src/lib/libssl/test/tverify.com index 01431f4aac..d888344637 100644 --- a/src/lib/libssl/test/tverify.com +++ b/src/lib/libssl/test/tverify.com | |||
@@ -1,13 +1,15 @@ | |||
1 | $! TVERIFY.COM | 1 | $! TVERIFY.COM |
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 | $! | ||
8 | $ if (p1 .eqs. "64") then __arch = __arch+ "_64" | ||
7 | $! | 9 | $! |
8 | $ line_max = 255 ! Could be longer on modern non-VAX. | 10 | $ line_max = 255 ! Could be longer on modern non-VAX. |
9 | $ temp_file_name = "certs_"+ f$getjpi( "", "PID")+ ".tmp" | 11 | $ temp_file_name = "certs_"+ f$getjpi( "", "PID")+ ".tmp" |
10 | $ exe_dir := sys$disk:[-.'__arch'.exe.apps] | 12 | $ exe_dir = "sys$disk:[-.''__arch'.exe.apps]" |
11 | $ cmd = "mcr ''exe_dir'openssl verify ""-CAfile"" ''temp_file_name'" | 13 | $ cmd = "mcr ''exe_dir'openssl verify ""-CAfile"" ''temp_file_name'" |
12 | $ cmd_len = f$length( cmd) | 14 | $ cmd_len = f$length( cmd) |
13 | $ pems = "[-.certs...]*.pem" | 15 | $ pems = "[-.certs...]*.pem" |
@@ -19,7 +21,7 @@ $! | |||
19 | $! Loop through all the certificate files. | 21 | $! Loop through all the certificate files. |
20 | $! | 22 | $! |
21 | $ args = "" | 23 | $ args = "" |
22 | $ old_f := | 24 | $ old_f = "" |
23 | $ loop_file: | 25 | $ loop_file: |
24 | $ f = f$search( pems) | 26 | $ f = f$search( pems) |
25 | $ if ((f .nes. "") .and. (f .nes. old_f)) | 27 | $ if ((f .nes. "") .and. (f .nes. old_f)) |