You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func TestLibGit2InitError(t *testing.T) {
// the more time pass, the possibility of openssl init error occurrence is smaller, because something cleans it
time.Sleep(3 * time.Microsecond)
//if sleep is set to less than 3 um, then we have a high possibility of noticid git openssl init error
gitErr := git2go.MakeGitError2(int(git2go.ErrorCodeNotFound))
fmt.Println(gitErr)
}
Git2go sometimes return correct error, sometimes return "libgit2 was not built with OpenSSL support".
It depends on sleep duration.
I have got the same results with following versions:
When you run following code:
Git2go sometimes return correct error, sometimes return "libgit2 was not built with OpenSSL support".
It depends on sleep duration.
I have got the same results with following versions:
I found that following code is executed:
https://github.com/libgit2/libgit2/blob/main/src/streams/openssl.c#L741
The text was updated successfully, but these errors were encountered: