Skip to content

Convert TLS_Flavor into a "class enum" - #6132

Merged
randombit merged 1 commit into
masterfrom
jack/tls-flavor-type
Nov 15, 2026
Merged

randombit merged 1 commit into
masterfrom
jack/tls-flavor-type

Conversation

@randombit

Copy link
Copy Markdown
Owner

Predicates make quite a bit of usages simpler to understand.

I noticed in reviewing #6062 that there are a lot of repetitive patterns that can be cleaner if TLS_Flavor is a class with predicates

Predicates make quite a bit of usages simpler to understand.

@reneme reneme left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice idea! I agree, that's worth it.

@randombit
randombit merged commit f898caa into master Nov 15, 2026
51 checks passed
@randombit
randombit deleted the jack/tls-flavor-type branch November 15, 2026 16:28
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.

2 participants