Skip to content

also check ctx->extensions in TLS 1.3 Certificate extension check#10894

Open
kojo1 wants to merge 1 commit into
wolfSSL:masterfrom
kojo1:extCheck
Open

also check ctx->extensions in TLS 1.3 Certificate extension check#10894
kojo1 wants to merge 1 commit into
wolfSSL:masterfrom
kojo1:extCheck

Conversation

@kojo1

@kojo1 kojo1 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

CTX-level OCSP stapling (wolfSSL_CTX_UseOCSPStapling) stores status_request on
ctx->extensions, so the RFC 8446 4.4.2 check added in 8d9af25 wrongly
rejected the server's stapled Certificate with unsupported_extension(110).
Fall back to ssl->ctx->extensions; ssl->ctx is always non-NULL.

Fixes zd#21814

Testing

local test only

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@github-actions

Copy link
Copy Markdown

@kojo1 kojo1 requested a review from wolfSSL-Bot July 14, 2026 10:27
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