Skip to content

Guard test_wrong_cs_downgrade on SHA-384 cipher suite; enable SHA disables in minimal DTLS os-check build#10539

Draft
julek-wolfssl wants to merge 1 commit into
wolfSSL:masterfrom
julek-wolfssl:misc/20260527
Draft

Guard test_wrong_cs_downgrade on SHA-384 cipher suite; enable SHA disables in minimal DTLS os-check build#10539
julek-wolfssl wants to merge 1 commit into
wolfSSL:masterfrom
julek-wolfssl:misc/20260527

Conversation

@julek-wolfssl
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 27, 2026 14:22
@julek-wolfssl julek-wolfssl self-assigned this May 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates wolfSSL’s API test gating and CI “os-check” minimal DTLS 1.3 configuration to better align test execution and feature availability when SHA-384 is disabled.

Changes:

  • Guard test_wrong_cs_downgrade behind BUILD_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 so it’s skipped when the SHA-384-based cipher suite isn’t built.
  • Update the minimal DTLS 1.3 client-only os-check matrix entry to explicitly disable SHA-224/SHA-384/SHA-512/SHA-3 families.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
tests/api.c Adds an additional compile-time guard so the SHA-384 cipher-suite-dependent test is not built/run when unavailable.
.github/workflows/os-check.yml Enables additional --disable-sha* flags for the minimal DTLS 1.3 build variant and updates the accompanying comment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +121 to +122
# hash families disabled, leaving only SHA-256 (the hash used by
# TLS_AES_128_GCM_SHA256).
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