Skip to content

Conversation

@anhu
Copy link
Member

@anhu anhu commented Jan 21, 2026

When wolfSSL_SetVersion() is called to set a specific TLS version, the downgrade flag is now set to 0. This causes wolfSSL_parse_cipher_list() to no longer preserve cipher suites from the other TLS version group.

Previously, when using SSLv23 method and setting cipher suites for only one TLS version (e.g., TLS 1.2), the library would preserve any existing cipher suites from the other version (e.g., TLS 1.3) for OpenSSL API compatibility. With this change, if a specific version is set via wolfSSL_SetVersion(), only the cipher suites for that version are kept.

Fixes ZD 21068

When wolfSSL_SetVersion() is called to set a specific TLS version,
the downgrade flag is now set to 0. This causes wolfSSL_parse_cipher_list()
to no longer preserve cipher suites from the other TLS version group.

Previously, when using SSLv23 method and setting cipher suites for only
one TLS version (e.g., TLS 1.2), the library would preserve any existing
cipher suites from the other version (e.g., TLS 1.3) for OpenSSL API
compatibility. With this change, if a specific version is set via
wolfSSL_SetVersion(), only the cipher suites for that version are kept.
@anhu anhu requested review from SparkiDev and wolfSSL-Bot January 21, 2026 23:04
@anhu anhu self-assigned this Jan 21, 2026
SparkiDev
SparkiDev previously approved these changes Jan 21, 2026
@anhu
Copy link
Member Author

anhu commented Jan 22, 2026

jenkins retest this please.

@anhu
Copy link
Member Author

anhu commented Jan 22, 2026

Jenkins retest this please.

@anhu
Copy link
Member Author

anhu commented Jan 23, 2026

jenkins retest this please.

SparkiDev
SparkiDev previously approved these changes Jan 27, 2026
@anhu
Copy link
Member Author

anhu commented Jan 27, 2026

Jenkins, retest this please.

testing output was expired.

@anhu
Copy link
Member Author

anhu commented Jan 27, 2026

jenkins retest this please.

Found unhandled org.jenkinsci.plugins.workflow.support.steps.AgentOfflineException exception:

@anhu anhu assigned SparkiDev and unassigned anhu Jan 27, 2026
@anhu anhu requested a review from SparkiDev January 27, 2026 21:38
@anhu
Copy link
Member Author

anhu commented Jan 27, 2026

@SparkiDev , I think this is ready now. Please merge.

@SparkiDev SparkiDev merged commit eb2fb4a into wolfSSL:master Jan 27, 2026
375 checks passed
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