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

openssl: ensure to check SSL_CTX_set_alpn_protos return values #6794

Closed

Conversation

@jpmenil
Copy link
Contributor

@jpmenil jpmenil commented Mar 25, 2021

SSL_CTX_set_alpn_protos() return 0 on success, and non-0 on failure

Signed-off-by: Jean-Philippe Menil jpmenil@gmail.com

SSL_CTX_set_alpn_protos() return 0 on success, and non-0 on failure

Signed-off-by: Jean-Philippe Menil <jpmenil@gmail.com>
Copy link
Member

@bagder bagder left a comment

Yeps, I think we should check the return code!

lib/vtls/openssl.c Outdated Show resolved Hide resolved
@bagder bagder added the SSL/TLS label Mar 25, 2021
Signed-off-by: Jean-Philippe Menil <jpmenil@gmail.com>
bagder
bagder approved these changes Mar 25, 2021
@bagder
Copy link
Member

@bagder bagder commented Mar 25, 2021

Thanks!

@bagder bagder closed this in 5930cb1 Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants