diff --git a/test/trsa.com b/test/trsa.com index 28add5eefd090c994b7b67e7a06f0d417078d47d..7862e902db3975a6e612922b8d57a1761ae05d2c 100644 --- a/test/trsa.com +++ b/test/trsa.com @@ -4,6 +4,22 @@ $ __arch := VAX $ if f$getsyi("cpu") .ge. 128 then __arch := AXP $ exe_dir := sys$disk:[-.'__arch'.exe.apps] $ +$ found_it := NO +$ define/user sys$output trsa-standard-commands. +$ mcr 'exe_dir'openssl list-standard-commands +$ open/read f trsa-standard-commands. +$ loop_standard_commands: +$ read/end=loop_standard_commands_end f i +$ if f$edit(i,"lowercase") .eqs. "rsa" +$ then +$ found_it := YES +$ goto loop_standard_commands_end +$ endif +$ goto loop_standard_commands +$ loop_standard_commands_end: +$ close f +$ delete trsa-standard-commands.;* +$ $ cmd := mcr 'exe_dir'openssl rsa $ $ t := testrsa.pem