Skip to content

Commit

Permalink
Update Windows LibreSSL to 3.7.3 (#101)
Browse files Browse the repository at this point in the history
This PR updates the LibreSSL library used on Windows to 3.7.3.  Also removes a dependency on 7zip.

Fixes #99
  • Loading branch information
chalcolith authored Oct 22, 2023
1 parent acc8f3b commit 4055062
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions make.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function BuildTest

function BuildLibs
{
$libreSsl = "libressl-3.6.1"
$libreSsl = "libressl-3.7.3"

if (-not (Test-Path "$rootDir/crypto.lib"))
{
Expand All @@ -155,11 +155,9 @@ function BuildLibs
{
$libreSslTgz = "$libreSsl.tar.gz"
$libreSslTgzTgt = Join-Path -Path $libsDir -ChildPath $libreSslTgz
if (-not (Test-Path $libreSslTgzTgt)) { Invoke-WebRequest -TimeoutSec 300 -Uri "http://cdn.openbsd.org/pub/OpenBSD/LibreSSL/$libreSslTgz" -OutFile $libreSslTgzTgt }
7z.exe x -y $libreSslTgzTgt "-o$libsDir"
if ($LastExitCode -ne 0) { throw "Error downloading and unzipping $libreSslTgz" }
7z.exe x -y "$libsDir/$libreSsl.tar" "-o$libsDir"
if ($LastExitCode -ne 0) { throw "Error untarring $buildDir/$libreSsl.tar" }
if (-not (Test-Path $libreSslTgzTgt)) { Invoke-WebRequest -TimeoutSec 300 -Uri "https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/$libreSslTgz" -OutFile $libreSslTgzTgt }
tar -xvzf "$libreSslTgzTgt" -C "$libsDir"
if ($LastExitCode -ne 0) { throw "Error downloading and extracting $libreSslTgz" }
}

# Write-Output "Building $libreSsl"
Expand Down

0 comments on commit 4055062

Please sign in to comment.