From 93b670abd104468db4478b79221c9c70613ba2f1 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 15 Oct 2021 12:36:15 +0200 Subject: [PATCH] Fix VMS installation - use platform->shlib_version_as_filename() consistently It's used in Configurations/descrip.mms.tmpl, but was forgotten in the VMS installation scripts. Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/16842) (cherry picked from commit 883008b21ba076b7d87aa8bec1419e8036539a3e) --- VMS/openssl_shutdown.com.in | 2 +- VMS/openssl_startup.com.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VMS/openssl_shutdown.com.in b/VMS/openssl_shutdown.com.in index 7e850520d34..7a5c8ec4d54 100644 --- a/VMS/openssl_shutdown.com.in +++ b/VMS/openssl_shutdown.com.in @@ -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 diff --git a/VMS/openssl_startup.com.in b/VMS/openssl_startup.com.in index 351282ae390..bbf3e3b4e6e 100644 --- a/VMS/openssl_startup.com.in +++ b/VMS/openssl_startup.com.in @@ -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_'] -- 2.47.2