Skip to content

Commit a7fc9bf

Browse files
authored
feat: update to OpenSSL 3.5.x (#615)
OpenSSL 3.5 is the new LTS version
1 parent 0627b9d commit a7fc9bf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def bump_openssl(session: nox.Session) -> None:
159159
files = (
160160
"scripts/manylinux-build-and-install-openssl.sh",
161161
)
162-
_bump(session, "OpenSSL", "openssl/openssl", "3.0", "scripts/update_openssl_version.py", files)
162+
_bump(session, "OpenSSL", "openssl/openssl", "3.5", "scripts/update_openssl_version.py", files)
163163

164164

165165
def _get_version() -> str:

scripts/manylinux-build-and-install-openssl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ set -o pipefail
1010
MY_DIR=$(dirname "${BASH_SOURCE[0]}")
1111
source $MY_DIR/utils.sh
1212

13-
OPENSSL_ROOT=openssl-3.0.16
14-
OPENSSL_HASH=57e03c50feab5d31b152af2b764f10379aecd8ee92f16c985983ce4a99f7ef86
13+
OPENSSL_ROOT=openssl-3.5.1
14+
OPENSSL_HASH=529043b15cffa5f36077a4d0af83f3de399807181d607441d734196d889b641f
1515

1616
cd /tmp
1717

scripts/update_openssl_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_openssl_sha256(version: str, verbose: bool=False) -> str:
4545
if len(parts) > 1:
4646
expected_parts = 2 # f"{sha256} {filename}""
4747
assert len(parts) == expected_parts
48-
assert parts[1] == f"openssl-{version}.tar.gz"
48+
assert parts[1].lstrip("*") == f"openssl-{version}.tar.gz"
4949
if verbose:
5050
print("got sha256:", sha256)
5151
return sha256

0 commit comments

Comments
 (0)