diff options
| author | Kenjiro Nakayama <nakayamakenjiro@gmail.com> | 2025-07-30 07:11:36 +0900 |
|---|---|---|
| committer | Kenjiro Nakayama <nakayamakenjiro@gmail.com> | 2025-07-30 09:56:19 +0900 |
| commit | 5bcf54058d62ca1f197616ee344d05fbb3e34e21 (patch) | |
| tree | 96b6b33c8073ed13cf3f868d54f7f1a6dc84b038 | |
| parent | 7218171381e6ea7c64f34551418dfb160fd74a73 (diff) | |
| download | portable-5bcf54058d62ca1f197616ee344d05fbb3e34e21.tar.gz portable-5bcf54058d62ca1f197616ee344d05fbb3e34e21.tar.bz2 portable-5bcf54058d62ca1f197616ee344d05fbb3e34e21.zip | |
CI: Apply EVP const_ptr patch for LibreSSL < 4.2.0
In the GitHub Actions workflow for rust-openssl testing, apply the
patch used in OpenBSD ports to support EVP_PKEY_get1_* APIs with
const_ptr. This ensures that the build succeeds before the official
version bump to libressl420.
This is a temporary workaround to keep the tests passing until
4.2.0 release.
Fix https://github.com/libressl/portable/issues/1187
| -rw-r--r-- | .github/workflows/rust-openssl.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/rust-openssl.yml b/.github/workflows/rust-openssl.yml index 4ff41c0..d3b2bee 100644 --- a/.github/workflows/rust-openssl.yml +++ b/.github/workflows/rust-openssl.yml | |||
| @@ -34,6 +34,10 @@ jobs: | |||
| 34 | - name: "Run rust-openssl tests" | 34 | - name: "Run rust-openssl tests" |
| 35 | run: | | 35 | run: | |
| 36 | cd rust-openssl | 36 | cd rust-openssl |
| 37 | |||
| 38 | # apply patch - see #1187 | ||
| 39 | curl -L https://raw.githubusercontent.com/openbsd/ports/refs/heads/master/security/rust-openssl-tests/patches/patch-openssl-sys_src_handwritten_evp_rs | patch -p0 | ||
| 40 | |||
| 37 | # instead of erroring use the last supported version | 41 | # instead of erroring use the last supported version |
| 38 | ed -s openssl-sys/build/main.rs <<-EOF | 42 | ed -s openssl-sys/build/main.rs <<-EOF |
| 39 | /_ => version_error/-1 | 43 | /_ => version_error/-1 |
