Skip to content

openssl: ensure to check SSL_CTX_set_alpn_protos return values - #6794

Closed
jpmenil wants to merge 2 commits into
curl:masterfrom
jpmenil:check-return-SSL_CTX_set_alpn_protos
Closed

openssl: ensure to check SSL_CTX_set_alpn_protos return values#6794
jpmenil wants to merge 2 commits into
curl:masterfrom
jpmenil:check-return-SSL_CTX_set_alpn_protos

Conversation

@jpmenil

@jpmenil jpmenil commented Mar 25, 2021

Copy link
Copy Markdown
Contributor

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>

@bagder bagder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeps, I think we should check the return code!

Comment thread lib/vtls/openssl.c Outdated
@bagder bagder added the TLS label Mar 25, 2021
Signed-off-by: Jean-Philippe Menil <jpmenil@gmail.com>
@bagder

bagder commented Mar 25, 2021

Copy link
Copy Markdown
Member

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

Development

Successfully merging this pull request may close these issues.

2 participants