VMS: defined the logical name OPENSSL at all times
authorRichard Levitte <levitte@openssl.org>
Wed, 6 Jul 2016 17:04:55 +0000 (19:04 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 7 Jul 2016 13:07:32 +0000 (15:07 +0200)
This logical names permits '#include <openssl/foo.h>' to work properly.

Reviewed-by: Rich Salz <rsalz@openssl.org>
VMS/openssl_shutdown.com.in
VMS/openssl_startup.com.in

index f27d855..81cf4ea 100644 (file)
@@ -26,7 +26,6 @@ $     ENDIF
 $
 $      ! Abbrevs
 $      DEAS := DEASSIGN /NOLOG 'P1'
-$      v    := {- sprintf "%02d%02d", split(/\./, $config{version}) -}
 $      sv   := {- sprintf "%02d%02d", $config{shlib_major}, $config{shlib_minor} -}
 $      pz   := {- $config{pointer_size} -}
 $
@@ -40,12 +39,13 @@ $   DEAS OSSL$LIBCRYPTO'pz'
 $      DEAS OSSL$LIBSSL'pz'
 $      DEAS OSSL$LIBCRYPTO'sv'_SHR'pz'
 $      DEAS OSSL$LIBSSL'sv'_SHR'pz'
+$      DEAS OPENSSL
+$
 $      IF P2 .NES. "NOALIASES"
 $      THEN
 $          DEAS OSSL$ENGINES
 $          DEAS OSSL$LIBCRYPTO_SHR'pz'
 $          DEAS OSSL$LIBSSL_SHR'pz'
-$          DEAS OPENSSL
 $      ENDIF
 $
 $      EXIT 'status'
index 8ec35f0..ca2220e 100644 (file)
@@ -80,7 +80,6 @@ $
 $      ! Abbrevs
 $      DEFT := DEFINE /TRANSLATION=CONCEALED /NOLOG 'P1'
 $      DEF  := DEFINE /NOLOG 'P1'
-$      v    := {- sprintf "%02d%02d", split(/\./, $config{version}) -}
 $      sv   := {- sprintf "%02d%02d", $config{shlib_major}, $config{shlib_minor} -}
 $      pz   := {- $config{pointer_size} -}
 $
@@ -94,12 +93,13 @@ $   DEF  OSSL$LIBCRYPTO'pz'         OSSL$LIB:OSSL$LIBCRYPTO'pz'.OLB
 $      DEF  OSSL$LIBSSL'pz'            OSSL$LIB:OSSL$LIBSSL'pz'.OLB
 $      DEF  OSSL$LIBCRYPTO'sv'_SHR'pz' OSSL$SHARE:OSSL$LIBCRYPTO'sv'_SHR'pz'.EXE
 $      DEF  OSSL$LIBSSL'sv'_SHR'pz'    OSSL$SHARE:OSSL$LIBSSL'sv'_SHR'pz'.EXE
+$      DEF  OPENSSL                    OSSL$INCLUDE:[OPENSSL]
+$
 $      IF P2 .NES. "NOALIASES"
 $      THEN
 $          DEF OSSL$ENGINES            OSSL$ENGINES'sv'
 $          DEF OSSL$LIBCRYPTO_SHR'pz'  OSSL$LIBCRYPTO'sv'_SHR'pz'
 $          DEF OSSL$LIBSSL_SHR'pz'     OSSL$LIBSSL'sv'_SHR'pz'
-$          DEF OPENSSL                 OSSL$INCLUDE:[OPENSSL]
 $      ENDIF
 $
 $      DEFT OSSL$DATAROOT      'OPENSSLDIR_']