Add SRP support.
[openssl.git] / test / testssl.com
index 26308f7715cd8098014c113a3df8eb6fa215f3ab..88580291f1926b5218dbbb919f2c95e6d315dc71 100644 (file)
@@ -1,7 +1,9 @@
 $! TESTSSL.COM
 $
 $      __arch := VAX
-$      if f$getsyi("cpu") .ge. 128 then __arch := AXP
+$      if f$getsyi("cpu") .ge. 128 then -
+          __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
+$      if __arch .eqs. "" then __arch := UNK
 $      texe_dir := sys$disk:[-.'__arch'.exe.test]
 $      exe_dir := sys$disk:[-.'__arch'.exe.apps]
 $
@@ -19,10 +21,10 @@ $       cert=p2
 $      endif
 $      ssltest := mcr 'texe_dir'ssltest -key 'key' -cert 'cert' -c_key 'key' -c_cert 'cert'
 $
+$      set noon
 $      define/user sys$output testssl-x509-output.
 $      define/user sys$error nla0:
 $      mcr 'exe_dir'openssl x509 -in 'cert' -text -noout
-$      set noon
 $      define/user sys$error nla0:
 $      search/output=nla0: testssl-x509-output. "DSA Public Key"/exact
 $      if $severity .eq. 1
@@ -31,7 +33,6 @@ $         dsa_cert := YES
 $      else
 $          dsa_cert := NO
 $      endif
-$      set on
 $      delete testssl-x509-output.;*
 $
 $      if p3 .eqs. ""
@@ -159,14 +160,12 @@ $ if $severity .ne. 1 then goto exit3
 $
 $!###########################################################################
 $
-$      set noon
 $      define/user sys$output nla0:
 $      mcr 'exe_dir'openssl no-rsa
 $      no_rsa=$SEVERITY
 $      define/user sys$output nla0:
 $      mcr 'exe_dir'openssl no-dh
 $      no_dh=$SEVERITY
-$      set on
 $
 $      if no_dh
 $      then
@@ -201,4 +200,5 @@ $ exit3:
 $      RET = 3
 $ exit:
 $      if p3 .eqs. "" then delete certs.tmp;*
+$      set on
 $      exit 'RET'