Skip to content

Conversation

@kornelski
Copy link
Collaborator

SSL_CTX_set1_groups switched to taking NIDs, so I assume they're preferred over curve/group IDs.

I've added methods to help moving from set_curves to the new methods.

@kornelski
Copy link
Collaborator Author

Hmm, SSL_get_negotiated_group is new. Might be annoying to use with precompiled libs.

Only a few curves are supported, so I could implement this as a match on the Rust side, which would allow exposing the same API on v4, and let clients migrate from SslCurve to Nid.

@kornelski kornelski marked this pull request as draft January 29, 2026 23:19
@kornelski
Copy link
Collaborator Author

If NIDs aren't any more portable/stable than group IDs, then this change isn't worth it.

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