[openssl-commits] [openssl] OpenSSL_1_1_0-stable update
Richard Levitte
levitte at openssl.org
Wed Oct 4 13:20:56 UTC 2017
The branch OpenSSL_1_1_0-stable has been updated
via 6f5083071528eb58f107d22ce91b47a352143dca (commit)
from 87fde17f6f5374a5db8f6c6615aa2b85855887db (commit)
- Log -----------------------------------------------------------------
commit 6f5083071528eb58f107d22ce91b47a352143dca
Author: Richard Levitte <levitte at openssl.org>
Date: Wed Oct 4 09:42:23 2017 +0200
Configurations/windows-makefile.tmpl: canonicalise configured paths
This avoids issues that can come with an ending backslash, among other.
Fixes #4458
Reviewed-by: Andy Polyakov <appro at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4461)
(cherry picked from commit dc6a62d5d5de905776433ab8ab6b1b2fffaae1ea)
-----------------------------------------------------------------------
Summary of changes:
Configurations/windows-makefile.tmpl | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl
index 45bfecc..90828f5 100644
--- a/Configurations/windows-makefile.tmpl
+++ b/Configurations/windows-makefile.tmpl
@@ -108,11 +108,12 @@ APPS_OPENSSL={- use File::Spec::Functions;
INSTALLTOP_dev={- # $prefix is used in the OPENSSLDIR perl snippet
#
use File::Spec::Functions qw(:DEFAULT splitpath);
- our $prefix = $config{prefix} || "$win_installroot\\OpenSSL";
+ our $prefix = canonpath($config{prefix}
+ || "$win_installroot\\OpenSSL");
our ($prefix_dev, $prefix_dir, $prefix_file) =
splitpath($prefix, 1);
$prefix_dev -}
-INSTALLTOP_dir={- $prefix_dir -}
+INSTALLTOP_dir={- canonpath($prefix_dir) -}
OPENSSLDIR_dev={- #
# The logic here is that if no --openssldir was given,
# OPENSSLDIR will get the value from $prefix plus "/ssl".
@@ -126,13 +127,13 @@ OPENSSLDIR_dev={- #
our $openssldir =
$config{openssldir} ?
(file_name_is_absolute($config{openssldir}) ?
- $config{openssldir}
+ canonpath($config{openssldir})
: catdir($prefix, $config{openssldir}))
- : "$win_commonroot\\SSL";
+ : canonpath("$win_commonroot\\SSL");
our ($openssldir_dev, $openssldir_dir, $openssldir_file) =
splitpath($openssldir, 1);
$openssldir_dev -}
-OPENSSLDIR_dir={- $openssldir_dir -}
+OPENSSLDIR_dir={- canonpath($openssldir_dir) -}
LIBDIR={- our $libdir = $config{libdir} || "lib";
$libdir -}
ENGINESDIR_dev={- use File::Spec::Functions qw(:DEFAULT splitpath);
@@ -140,7 +141,7 @@ ENGINESDIR_dev={- use File::Spec::Functions qw(:DEFAULT splitpath);
our ($enginesdir_dev, $enginesdir_dir, $enginesdir_file) =
splitpath($enginesdir, 1);
$enginesdir_dev -}
-ENGINESDIR_dir={- $enginesdir_dir -}
+ENGINESDIR_dir={- canonpath($enginesdir_dir) -}
!IF "$(DESTDIR)" != ""
INSTALLTOP=$(DESTDIR)$(INSTALLTOP_dir)
OPENSSLDIR=$(DESTDIR)$(OPENSSLDIR_dir)
More information about the openssl-commits
mailing list