libgit2: Verbose output error
This commit is contained in:
14
mingw-w64-libgit2/libgit2-error-string.patch
Normal file
14
mingw-w64-libgit2/libgit2-error-string.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff --git a/src/openssl_stream.c b/src/openssl_stream.c
|
||||
index 54dd761..1e2edee 100644
|
||||
--- a/src/openssl_stream.c
|
||||
+++ b/src/openssl_stream.c
|
||||
@@ -446,7 +446,8 @@ int git_openssl_stream_new(git_stream **out, const char *host, const char *port)
|
||||
|
||||
st->ssl = SSL_new(git__ssl_ctx);
|
||||
if (st->ssl == NULL) {
|
||||
- giterr_set(GITERR_SSL, "failed to create ssl object");
|
||||
+ giterr_set(GITERR_SSL, "failed to create ssl object: %s",
|
||||
+ ERR_error_string(ERR_get_error(), NULL));
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user