This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/master by this push:
     new 55edff2e macOS needs library override
55edff2e is described below

commit 55edff2eae1120eb0d7894e21f4c8248f10275c8
Author: sebbASF <sebb...@users.noreply.github.com>
AuthorDate: Sat Nov 18 09:17:04 2023 +0000

    macOS needs library override
---
 .github/workflows/maven.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 257ff769..0a6d5f47 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -92,12 +92,12 @@ jobs:
     - name: OpenSSL version
       run: openssl version -a
     - name: OpenSSL engine (macos)
-      # need to override the libarary on macOS
-      if: ${{ matrix.os == 'macos-11' }}
+      # need to override the libarary path on macOS to avoid 'unsafe load' 
complaint
+      if: ${{ matrix.os == 'macos-11' || matrix.os == 'macos-latest' }}
       run: |
         echo $(openssl version -e | sed -n -e 's/engines-.*//' -e 's/: "/=/p') 
>> "$GITHUB_ENV"
     - name: OpenSSL engine (windows)
-      # need to override the libarary on windows
+      # need to override the library name on windows else it uses the default 
LibreSSL
       if: ${{ matrix.os == 'windows-latest' }}
       # e.g. NAME: "libcrypto-1_1-x64.dll"
       # Not sure how to derive this automatically

Reply via email to