Skip to content

Build in statically linked libssh2 for openssl1.1#11

Open
eddymoulton wants to merge 7 commits intooctopus/masterfrom
octopus/em/build-for-multiple-openssls
Open

Build in statically linked libssh2 for openssl1.1#11
eddymoulton wants to merge 7 commits intooctopus/masterfrom
octopus/em/build-for-multiple-openssls

Conversation

@eddymoulton
Copy link
Copy Markdown
Collaborator

@eddymoulton eddymoulton commented May 7, 2026

We have a requirement to support targets still running OpenSSL1.1 for at least another 4 months.

Since we preference OpenSSL3, this will remain the default pathway. But we also build a fully contained OpenSSL1.1 version that can be used where needed. LibGit2Sharp will determine which binaries to load in depending on the host.

I've chosen to statically link libssh2 for only OpenSSL1.1 so we retain the previous solution for the OpenSSL3 path, which has a much simpler build process. This change isn't what we want to keep long term, but is required for now.

@eddymoulton eddymoulton changed the title feat: build libssh2 for multiple openssl backends Build in statically linked libssh2 for openssl1.1 May 8, 2026
Comment thread .github/workflows/ci.yml
Comment on lines +15 to +16
RID: ${{ matrix.rid }}
VARIANT: ${{ matrix.variant }}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We explicitly build openssl1.1 variants where needed (only linux targets)

@eddymoulton eddymoulton marked this pull request as ready for review May 8, 2026 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant