summaryrefslogtreecommitdiff
path: root/include/git2/errors.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-06-29 13:35:14 +0200
committerPatrick Steinhardt <ps@pks.im>2018-07-06 10:41:22 +0200
commit75395c871d24027da4b4fe8e1532931db018aa50 (patch)
tree236ed23c5e5ecea44c01647009c6b7b1cd9e657c /include/git2/errors.h
parent01574d4061a6dbaef0f8a887010cba3e9b62b87d (diff)
downloadlibgit2-75395c871d24027da4b4fe8e1532931db018aa50.tar.gz
streams: report OpenSSL errors if global init fails
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.
Diffstat (limited to 'include/git2/errors.h')
0 files changed, 0 insertions, 0 deletions