We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2557d8c commit 9abdff2Copy full SHA for 9abdff2
2 files changed
LibGit2Sharp.Portable/project.json
@@ -5,6 +5,7 @@
5
"dependencies": {
6
"Microsoft.NETCore": "5.0.0",
7
"Microsoft.NETCore.Portable.Compatibility": "1.0.0",
8
+ "System.Security.Cryptography.X509Certificates": "4.0.0-beta-23409",
9
"LibGit2Sharp.NativeBinaries": "[1.0.132]",
10
"Nerdbank.GitVersioning": "1.3.16"
11
},
LibGit2Sharp.Shared/CertificateX509.cs
@@ -39,7 +39,7 @@ internal unsafe IntPtr ToPointers(out IntPtr dataPtr)
39
{
40
cert_type = GitCertificateType.X509,
41
data = (byte*) dataPtr.ToPointer(),
42
- len = (UIntPtr)certData.LongLength,
+ len = (UIntPtr)certData.Length,
43
};
44
45
var ptr = Marshal.AllocHGlobal(Marshal.SizeOf(gitCert));
0 commit comments