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

Don't use certificate after transfering ownership #1236

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
3 participants
@agl
Contributor

agl commented Feb 1, 2017

SSL_CTX_add_extra_chain_cert takes ownership of the given certificate
while, despite the similar name, SSL_CTX_add_client_CA does not. Thus
it's best to call SSL_CTX_add_client_CA before
SSL_CTX_add_extra_chain_cert, while the code still has ownership of the
argument.

Don't use certificate after transfering ownership
SSL_CTX_add_extra_chain_cert takes ownership of the given certificate
while, despite the similar name, SSL_CTX_add_client_CA does not. Thus
it's best to call SSL_CTX_add_client_CA before
SSL_CTX_add_extra_chain_cert, while the code still has ownership of the
argument.
@mention-bot

This comment has been minimized.

mention-bot commented Feb 1, 2017

@agl, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bagder, @jay and @rousskov to be potential reviewers.

@jay jay closed this in 028391d Feb 1, 2017

@jay

This comment has been minimized.

Member

jay commented Feb 1, 2017

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment