Skip to content

Commit

Permalink
macOS 14 instead of 12
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocorti committed Dec 5, 2024
1 parent c3e6e30 commit 7559606
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
fail-fast: false
matrix:
os:
- macos-12
- macos-13
- macos-14
- macos-latest
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests_with_proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
fail-fast: false
matrix:
os:
- macos-12
- macos-13
- macos-14
- macos-latest
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
fail-fast: false
matrix:
os:
- macos-12
- macos-13
- macos-14
- macos-latest
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests_with_proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
fail-fast: false
matrix:
os:
- macos-12
- macos-13
- macos-14
- macos-latest
runs-on: ${{ matrix.os }}
steps:
Expand Down
18 changes: 17 additions & 1 deletion check_ssl_cert
Original file line number Diff line number Diff line change
Expand Up @@ -1511,6 +1511,18 @@ require_s_client_option() {
fi
}

################################################################################
# Checks if s_client does not support the given option
#
# Usage:
# check_s_client_option '-no_ssl2'
#
check_s_client_option() {
debuglog "Checking if s_client supports the $1 option"
"${OPENSSL}" s_client -help 2>&1 | "${GREP_BIN}" -q -- "$1"
return $?
}

################################################################################
# Exits with unknown if x509 does not support the given option
#
Expand Down Expand Up @@ -5898,7 +5910,11 @@ main() {
CLIENT=""
if [ -n "${CLIENT_CERT}" ]; then
CLIENT="-cert ${CLIENT_CERT}"
if check_s_client_option '-chainCAfile'; then
CLIENT="-cert ${CLIENT_CERT} -chainCAfile ${CLIENT_CERT}"
else
CLIENT="-cert ${CLIENT_CERT}"
fi
fi
if [ -n "${CLIENT_KEY}" ]; then
CLIENT="${CLIENT} -key ${CLIENT_KEY}"
Expand Down

0 comments on commit 7559606

Please sign in to comment.