mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-19 23:06:28 +08:00
update
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
$! TSID.COM -- Tests sid keys
|
||||
$
|
||||
$ __arch := VAX
|
||||
$ __arch = "VAX"
|
||||
$ if f$getsyi("cpu") .ge. 128 then -
|
||||
__arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
|
||||
$ if __arch .eqs. "" then __arch := UNK
|
||||
$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
|
||||
$ if __arch .eqs. "" then __arch = "UNK"
|
||||
$!
|
||||
$ if (p2 .eqs. "64") then __arch = __arch+ "_64"
|
||||
$!
|
||||
$ exe_dir = "sys$disk:[-.''__arch'.exe.apps]"
|
||||
$
|
||||
$ cmd := mcr 'exe_dir'openssl sess_id
|
||||
$ cmd = "mcr ''exe_dir'openssl sess_id"
|
||||
$
|
||||
$ t := testsid.pem
|
||||
$ t = "testsid.pem"
|
||||
$ if p1 .nes. "" then t = p1
|
||||
$
|
||||
$ write sys$output "testing session-id conversions"
|
||||
|
||||
Reference in New Issue
Block a user