summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2017-10-04 00:56:31 -0400
committerJay Satiro <raysatiro@yahoo.com>2017-10-04 01:04:43 -0400
commite702df7a84cb7004a061a5bc53bc1032d6b125f4 (patch)
treefc55958f436d2164ffff514ff24833b40c510e0f /projects
parent5f1fa5827d949fb6be62f10eecf61bd64b5945a5 (diff)
downloadcurl-e702df7a84cb7004a061a5bc53bc1032d6b125f4.tar.gz
build-openssl.bat: Warn OpenSSL 1.1.0 not yet supported
Ref: https://github.com/curl/curl/issues/1002
Diffstat (limited to 'projects')
-rw-r--r--projects/build-openssl.bat11
1 files changed, 11 insertions, 0 deletions
diff --git a/projects/build-openssl.bat b/projects/build-openssl.bat
index 0773e07db..33da17401 100644
--- a/projects/build-openssl.bat
+++ b/projects/build-openssl.bat
@@ -138,6 +138,9 @@ rem ***************************************************************************
rem Check the start directory exists
if not exist "%START_DIR%" goto noopenssl
+ rem Check that OpenSSL is not unsupported version 1.1.0
+ if not exist "%START_DIR%\ms\do_ms.bat" goto unsupported
+
:configure
if "%BUILD_PLATFORM%" == "" (
if "%VC_VER%" == "6.0" (
@@ -355,6 +358,14 @@ rem ***************************************************************************
echo Error: Cannot locate OpenSSL source directory
goto error
+:unsupported
+ echo.
+ echo Error: Unsupported OpenSSL version.
+ echo The pre-generated project files and this build script only support the
+ echo LTS version of OpenSSL ^(v1.0.2^). The next version of this build script
+ echo will support OpenSSL v1.1.0.
+ goto error
+
:error
if "%OS%" == "Windows_NT" endlocal
exit /B 1