1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-01-27 00:18:12 +03:00

openssl: drop support for OpenSSL <1.1.1, LibreSSL <2.7 (2018-03-21)

- OpenSSL 1.0.2 is officially not supported for open source,
  OpenSSL 1.1.0 is officially not supported at all.
  https://openssl-library.org/policies/releasestrat/index.html

- LibreSSL 2.6.x and older are just old. 2.7.0 was released on 2018-03-21.

Closes #1668
This commit is contained in:
Viktor Szakats
2025-09-19 18:20:51 +02:00
parent 9abb4e7872
commit cea796fc2d
4 changed files with 9 additions and 85 deletions

View File

@@ -242,16 +242,6 @@ jobs:
crypto: OpenSSL-111-from-source
build: cmake
zlib: 'ON'
- compiler: gcc
arch: amd64
crypto: OpenSSL-110-from-source
build: cmake
zlib: 'ON'
- compiler: gcc
arch: amd64
crypto: OpenSSL-102-from-source
build: cmake
zlib: 'ON'
- compiler: gcc
arch: amd64
crypto: BoringSSL
@@ -298,8 +288,6 @@ jobs:
LIBRESSL_VERSION: 4.1.0
OPENSSL_VERSION: 3.5.2
OPENSSL111_VERSION: 1.1.1w
OPENSSL110_VERSION: 1.1.0l
OPENSSL102_VERSION: 1.0.2u
steps:
- name: 'install architecture'
if: ${{ matrix.arch != 'amd64' }}
@@ -465,40 +453,6 @@ jobs:
make
make -j1 install_sw
- name: 'cache OpenSSL 1.1.0'
if: ${{ matrix.crypto == 'OpenSSL-110-from-source' }}
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
id: cache-openssl110
with:
path: ~/usr
key: ${{ runner.os }}-openssl-${{ env.OPENSSL110_VERSION }}-${{ matrix.arch }}
- name: 'install OpenSSL 1.1.0 from source'
if: ${{ matrix.crypto == 'OpenSSL-110-from-source' && !steps.cache-openssl110.outputs.cache-hit }}
run: |
curl -fsS -L "https://github.com/openssl/openssl/releases/download/OpenSSL_1_1_0l/openssl-${OPENSSL110_VERSION}.tar.gz" | tar -xz
cd "openssl-${OPENSSL110_VERSION}"
./config no-unit-test no-makedepend --prefix="$HOME"/usr
make
make -j1 install_sw
- name: 'cache OpenSSL 1.0.2'
if: ${{ matrix.crypto == 'OpenSSL-102-from-source' }}
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
id: cache-openssl102
with:
path: ~/usr
key: ${{ runner.os }}-openssl-${{ env.OPENSSL102_VERSION }}-${{ matrix.arch }}
- name: 'install OpenSSL 1.0.2 from source'
if: ${{ matrix.crypto == 'OpenSSL-102-from-source' && !steps.cache-openssl102.outputs.cache-hit }}
run: |
curl -fsS -L "https://github.com/openssl/openssl/releases/download/OpenSSL_1_0_2u/openssl-${OPENSSL102_VERSION}.tar.gz" | tar -xz
cd "openssl-${OPENSSL102_VERSION}"
./config no-unit-test no-makedepend --prefix="$HOME"/usr -fPIC
make
make -j1 install_sw
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false