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 for old certs not discarded when server does not resume session #1785

Merged
merged 1 commit into from Aug 24, 2018

Conversation

embhorn
Copy link
Member

@embhorn embhorn commented Aug 24, 2018

Using TLS session certs, when resuming and the server creates a new session, the old session certificate chain is not reset. This causes the chain to grow to MAX_CHAIN_DEPTH with each failed session resume.

A non-trivial test case was provided and the fix was checked against it.

@ejohnstown ejohnstown merged commit 86ce22c into wolfSSL:master Aug 24, 2018
@embhorn embhorn deleted the zd4225 branch August 24, 2018 20:23
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.

None yet

2 participants