Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ocsp response message build for DTLS #7671

Merged
merged 2 commits into from
Jun 21, 2024

Conversation

miyazakh
Copy link
Contributor

@miyazakh miyazakh commented Jun 21, 2024

Description

Fix building OCSP response message for DTLS
Support message fragmentation

Fixes zd#18141

Testing

Add unit test

Checklist

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

@miyazakh miyazakh self-assigned this Jun 21, 2024
@miyazakh miyazakh assigned wolfSSL-Bot and unassigned miyazakh Jun 21, 2024
@miyazakh miyazakh changed the title Fix ocsp response message build when using DTLS Fix ocsp response message build for DTLS Jun 21, 2024
Copy link
Contributor

@JacobBarthelmeh JacobBarthelmeh left a comment

Choose a reason for hiding this comment

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

Double checked test case caught previous DTLS failure:

------------- TEST CASE DTLS-1 SHOULD PASS -------------------

ocsp: received request, 1st line: POST / HTTP/1.1
ocsp: sending response, 1st line: HTTP/1.0 200 OK
SSL_accept error -439, DTLS trying to send too much in single datagram error
wolfSSL error: SSL_accept failed

Thanks @miyazakh

@JacobBarthelmeh JacobBarthelmeh merged commit 7405ea8 into wolfSSL:master Jun 21, 2024
119 checks passed
@miyazakh miyazakh deleted the dtls_ocsp branch June 22, 2024 21:48
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.

3 participants