Skip to content

Fix hang in OCSP Stapling test#10093

Merged
douzzer merged 1 commit intowolfSSL:masterfrom
lealem47:ocsp_hang
Mar 31, 2026
Merged

Fix hang in OCSP Stapling test#10093
douzzer merged 1 commit intowolfSSL:masterfrom
lealem47:ocsp_hang

Conversation

@lealem47
Copy link
Copy Markdown
Contributor

Description

The ocsp_stapling test currently hangs indefinitely. Noticed by @sebastian-carpenter. This PR has minor syntax fixes to get the test working right

Testing

./configure --enable-ocsp --enable-ocspstapling && make && ./scripts/ocsp-stapling.test

Checklist

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

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

Fixes an indefinite hang in the ocsp_stapling external test by correcting how the IPv4/IPv6 selector flag is passed to nc and openssl commands (avoiding an empty, quoted argument that can break option parsing).

Changes:

  • Pass $V4V6_FLAG unquoted to nc -z when probing for free ports.
  • Pass $V4V6_FLAG unquoted to openssl s_client to avoid an extra empty positional argument after -status.
  • Pass $V4V6_FLAG unquoted to openssl s_server to avoid injecting an empty argument into the command line.

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

@lealem47 lealem47 added the For This Release Release version 5.9.1 label Mar 27, 2026
@lealem47
Copy link
Copy Markdown
Contributor Author

Jenkins Retest this please

@lealem47 lealem47 assigned wolfSSL-Bot and unassigned wolfSSL-Bot and lealem47 Mar 30, 2026
@douzzer douzzer added the Staged Staged for merge pending final test results and review label Mar 30, 2026
@douzzer douzzer merged commit 74a4079 into wolfSSL:master Mar 31, 2026
471 of 472 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For This Release Release version 5.9.1 Staged Staged for merge pending final test results and review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants