Appveyor supplied fix for openSSL 1.0

This commit is contained in:
Antz 2017-07-20 08:00:57 +01:00
parent 572d7cae6b
commit 53d5aa6e40

View File

@ -19,6 +19,14 @@ install:
Invoke-WebRequest "http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.28-win32.zip" -OutFile mysql-5.6.28-win32.zip
7z e -y mysql-5.6.28-win32.zip mysql-5.6.28-win32/lib -o"C:\Program Files (x86)\MySql\MySQL Server 5.6\lib"
7z e -y mysql-5.6.28-win32.zip mysql-5.6.28-win32/include -o"C:\Program Files (x86)\MySql\MySQL Server 5.6\include"
Write-Host "Installing OpenSSL v1.0 32-bit ..." -ForegroundColor Cyan
Write-Host "Downloading..."
$exePath = "$($env:USERPROFILE)\Win32OpenSSL-1_0_2L.exe"
(New-Object Net.WebClient).DownloadFile('https://slproweb.com/download/Win32OpenSSL-1_0_2L.exe', $exePath)
Write-Host "Installing..."
cmd /c start /wait $exePath /silent /verysilent /sp- /suppressmsgboxes /DIR=C:\OpenSSL-Win32-v10
Write-Host "Installed" -ForegroundColor Green
}
# Clone to the specified folder below, and only clone the latest commit without history.