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 dtls fragmented certificate #926

Merged
merged 3 commits into from
Jun 21, 2017

Conversation

lodoyun
Copy link
Contributor

@lodoyun lodoyun commented Jun 21, 2017

Description

OpenSSL was using the wrong MTU producing fragmented certificates that we put together in a single packet anyway. This PR addresses this.

Also, the logs have been updated to better reflect the progress in the DTLS handshake. Most errors were not really errors.

[] It needs and includes Unit Tests

Changes in Client or Server public APIs

[] It includes documentation for these changes in /doc.

Copy link
Contributor

@jcague jcague left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -61,7 +61,7 @@ void SSLInfoCallback(const SSL* s, int where, int ret) {
if (ret == 0) {
ELOG_WARN2(sslLogger, "failed in %s", SSL_state_string_long(s));
} else if (ret < 0) {
ELOG_WARN2(sslLogger, "error in %s", SSL_state_string_long(s));
ELOG_INFO2(sslLogger, "callback for %s", SSL_state_string_long(s));
Copy link
Contributor

Choose a reason for hiding this comment

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

nice!

@lodoyun lodoyun merged commit ee36400 into lynckia:master Jun 21, 2017
@lodoyun lodoyun deleted the fix/DtlsFragmentedCertificate branch July 31, 2017 15:15
Arri98 pushed a commit to Arri98/licode that referenced this pull request Apr 6, 2021
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