summaryrefslogtreecommitdiff
path: root/openssl/openssl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/openssl.patch')
-rw-r--r--openssl/openssl.patch14
1 files changed, 13 insertions, 1 deletions
diff --git a/openssl/openssl.patch b/openssl/openssl.patch
index ed475400e2e0..90e9db0e2526 100644
--- a/openssl/openssl.patch
+++ b/openssl/openssl.patch
@@ -50,7 +50,19 @@
$mkdir="-mkdir" unless defined $mkdir;
($ssl,$crypto)=("ssl","crypto");
-@@ -570,7 +570,7 @@
+@@ -277,6 +277,11 @@
+ chop;
+
+ ($key,$val)=/^([^=]+)=(.*)/;
++
++ # On some Windows machines, $val has linefeeds at the end, which confuses
++ # subsequent code in this file. So we strip all whitespace at the end.
++ $val =~ s/\s+$//;
++
+ if ($key eq "RELATIVE_DIRECTORY")
+ {
+ if ($lib ne "")
+@@ -570,7 +575,7 @@
printf OUT <<EOF;
#ifdef $platform_cpp_symbol
/* auto-generated/updated by util/mk1mf.pl for crypto/cversion.c */