From b78f8a4ed6f54a6d6030a357eecb2cf89f0b218e Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Thu, 12 Jun 2025 15:55:56 -0600 Subject: [PATCH] fix for perl module version used with nginx test --- .github/workflows/nginx.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nginx.yml b/.github/workflows/nginx.yml index 868a02aba..c85161a0e 100644 --- a/.github/workflows/nginx.yml +++ b/.github/workflows/nginx.yml @@ -122,7 +122,28 @@ jobs: - name: Install dependencies run: | - sudo cpan -iT Proc::Find Net::SSLeay IO::Socket::SSL + sudo cpan -iT Proc::Find + + # Locking in the version of SSLeay used with testing + - name: Download and install Net::SSLeay 1.94 manually + run: | + curl -LO https://www.cpan.org/modules/by-module/Net/CHRISN/Net-SSLeay-1.94.tar.gz + tar -xzf Net-SSLeay-1.94.tar.gz + cd Net-SSLeay-1.94 + perl Makefile.PL + make + sudo make install + + # SSL version 2.091 changes '' return to undef causing test case to fail. + # Locking in the test version to use as 2.090 + - name: Download and install IO::Socket::SSL 2.090 manually + run: | + curl -LO https://www.cpan.org/modules/by-module/IO/IO-Socket-SSL-2.090.tar.gz + tar -xzf IO-Socket-SSL-2.090.tar.gz + cd IO-Socket-SSL-2.090 + perl Makefile.PL + make + sudo make install - name: Checkout wolfssl-nginx uses: actions/checkout@v4