Skip to content

Commit

Permalink
Updated OpenSSL version to 3.1.4 for Windows Zabbix Agent
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Jan 21, 2024
1 parent cd3464b commit 3c8a267
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfiles/build-base/windows/Dockerfile.agent
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG BUILD_BASE_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2022
FROM $BUILD_BASE_IMAGE

ARG PCRE2_VERSION=10.42
ARG OPENSSL_VERSION=3.1.3
ARG OPENSSL_VERSION=3.1.4
ARG LIBMODBUS_VERSION=v3.1.10
ARG BUILD_ARCH=x64
ARG CPU_MODEL=AMD64
Expand Down Expand Up @@ -186,7 +186,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
Invoke-WebRequest -OutFile $env:SystemDrive\openssl.tar.gz -Uri $env:OPENSSL_URL; `
`
$sha256 = 'f0316a2ebd89e7f2352976445458689f80302093788c466692fb2a188b2eacf6'; `
$sha256 = '840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3'; `
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
if ((Get-FileHash $env:SystemDrive\openssl.tar.gz -Algorithm sha256).Hash -ne $sha256) { `
Write-Host 'Checksum OpenSSL library failed!'; `
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/build-base/windows/Dockerfile.agent2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG BUILD_BASE_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2022
FROM $BUILD_BASE_IMAGE as builder_base

ARG PCRE2_VERSION=10.42
ARG OPENSSL_VERSION=3.1.3
ARG OPENSSL_VERSION=3.1.4
ARG GOLANG_VERSION=1.21.1
ARG SEVEN_ZIP_VERSION=2107
ARG BUILD_ARCH=x64
Expand Down Expand Up @@ -217,7 +217,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
Invoke-WebRequest -OutFile $env:SystemDrive\openssl.tar.gz -Uri $env:OPENSSL_URL; `
`
$sha256 = 'f0316a2ebd89e7f2352976445458689f80302093788c466692fb2a188b2eacf6'; `
$sha256 = '840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3'; `
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
if ((Get-FileHash $env:SystemDrive\openssl.tar.gz -Algorithm sha256).Hash -ne $sha256) { `
Write-Host 'Checksum OpenSSL library failed!'; `
Expand Down

0 comments on commit 3c8a267

Please sign in to comment.