Fix VMS installation - use platform->shlib_version_as_filename() consistently
authorRichard Levitte <levitte@openssl.org>
Fri, 15 Oct 2021 10:36:15 +0000 (12:36 +0200)
committerMatt Caswell <matt@openssl.org>
Tue, 14 Dec 2021 11:48:39 +0000 (11:48 +0000)
It's used in Configurations/descrip.mms.tmpl, but was forgotten in the
VMS installation scripts.

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

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

index 7e850520d34372ba8bba2b69c220bb918c7a1fc8..7a5c8ec4d544b022e38a81d3d5a82578f438d40d 100644 (file)
@@ -26,7 +26,7 @@ $     ENDIF
 $
 $      ! Abbrevs
 $      DEAS := DEASSIGN /NOLOG 'P1'
-$      sv   := {- sprintf "%02d%02d", split m|\.|, $config{shlib_version} -}
+$      sv   := {- platform->shlib_version_as_filename(); -}
 $      pz   := {- $target{pointer_size} -}
 $
 $      DEAS OSSL$DATAROOT
index 351282ae390be9c1146c1bc1ee6bb4c49cc3a4eb..bbf3e3b4e6e4881a8b8fec48b1b786eeb8bb8745 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} -}
+$      sv   := {- platform->shlib_version_as_filename(); -}
 $      pz   := {- $target{pointer_size} -}
 $
 $      DEFT OSSL$DATAROOT              'OPENSSLDIR_']