Fix VMS installation - $config{pointer_size} -> $target{pointer_size}
authorRichard Levitte <levitte@openssl.org>
Fri, 15 Oct 2021 10:27:50 +0000 (12:27 +0200)
committerMatt Caswell <matt@openssl.org>
Tue, 14 Dec 2021 11:50:16 +0000 (11:50 +0000)
Configurations/descrip.mms.tmpl uses $target{pointer_size}, not
$config{pointer_size}, so the same should be used in installation
scripts, for consistency.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16842)

(cherry picked from commit e30545e9bd84e3ace70fb1e1c5ad6d824545fe36)

VMS/openssl_ivp.com.in
VMS/openssl_shutdown.com.in
VMS/openssl_startup.com.in

index d1b1e7adbfb74d71ee75ca3e42613cf21c5b951e..70fec338b978fc8f089f9bfcd0fdae0b436d4972 100644 (file)
@@ -15,7 +15,7 @@ $     OPENSSLDIR_ = F$PARSE("A.;",OPENSSLDIR,,,"NO_CONCEAL") -
                     - ".][000000" - "[000000." - "][" - "]A.;" + "."
 $
 $      v    := {- sprintf "%02d", split(/\./, $config{version}) -}
-$      pz   := {- $config{pointer_size} -}
+$      pz   := {- $target{pointer_size} -}
 $      
 $      @'INSTALLTOP_'SYS$STARTUP]openssl_startup'v'
 $      @'INSTALLTOP_'SYS$STARTUP]openssl_utils'v'
index c3b8de8b6d68bc41f469a4cba832c186a9143098..42f9ec074d14e1081689676e9fa5ac4afdf29755 100644 (file)
@@ -27,7 +27,7 @@ $
 $      ! Abbrevs
 $      DEAS := DEASSIGN /NOLOG 'P1'
 $      sv   := {- sprintf "%02d%02d", split m|\.|, $config{shlib_version} -}
-$      pz   := {- $config{pointer_size} -}
+$      pz   := {- $target{pointer_size} -}
 $
 $      DEAS OSSL$DATAROOT
 $      DEAS OSSL$INSTROOT
index a6624eb6983a6508c2a1854eb0a003c9cf82a572..e17e923f46ceaf52dc774fa55626585da42e306c 100644 (file)
@@ -89,7 +89,7 @@ $     ! Abbrevs
 $      DEFT := DEFINE /TRANSLATION=CONCEALED /NOLOG 'P1'
 $      DEF  := DEFINE /NOLOG 'P1'
 $      sv   := {- sprintf "%02d%02d", split m|\.|, $config{shlib_version} -}
-$      pz   := {- $config{pointer_size} -}
+$      pz   := {- $target{pointer_size} -}
 $
 $      DEFT OSSL$DATAROOT              'OPENSSLDIR_']
 $      DEFT OSSL$INSTROOT              'INSTALLTOP_']