8000 Make test pass, can't do this for real though · dotdevelop/libgit2sharp@2c763f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c763f7

Browse files
committed
Make test pass, can't do this for real though
1 parent 0bea3cf commit 2c763f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

LibGit2Sharp/Core/ManagedHttpSmartSubtransport.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ public ManagedHttpSmartSubtransportStream(ManagedHttpSmartSubtransport parent, s
7575
EndpointUrl = new Uri(endpointUrl);
7676
IsPost = isPost;
7777
ContentType = contentType;
78+
79+
//If we have any concurrency, this is a bad thing to do...
80+
httpClientHandler.ServerCertificateCustomValidationCallback = CertificateValidationProxy;
7881
}
7982

8083
private HttpClient CreateHttpClient(HttpMessageHandler handler)

0 commit comments

Comments
 (0)
0