Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

pks-t
Copy link
Member

@pks-t pks-t commented Jun 29, 2018

In case when the global initialization of the OpenSSL stream fails, the
user is left without any hint as to what went wrong as we do not provide
any error message at all. This commit refactors the init function to
have a common error path, which now also sets an error message including
the error string provided by OpenSSL.

In case when the global initialization of the OpenSSL stream fails, the
user is left without any hint as to what went wrong as we do not provide
any error message at all. This commit refactors the init function to
have a common error path, which now also sets an error message including
the error string provided by OpenSSL.
@pks-t pks-t force-pushed the pks/ssl-init-errors branch from 2ec5fd0 to 75395c8 Compare July 6, 2018 08:41
@pks-t
Copy link
Member Author

pks-t commented Jul 6, 2018

Oh. Embarassing syntax error. I shouldn't push an untested state 😅

@ethomson ethomson merged commit 290292b into libgit2:master Jul 8, 2018
@ethomson
Copy link
Member

ethomson commented Jul 8, 2018

Thanks! 👍

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