We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a88f95 commit 65a3491Copy full SHA for 65a3491
LibGit2Sharp/CertificateSsh.cs
@@ -41,7 +41,6 @@ protected CertificateSsh()
41
42
internal unsafe CertificateSsh(git_certificate_ssh* cert)
43
{
44
-
45
HasMD5 = cert->type.HasFlag(GitCertificateSshType.MD5);
46
HasSHA1 = cert->type.HasFlag(GitCertificateSshType.SHA1);
47
@@ -50,7 +49,7 @@ internal unsafe CertificateSsh(git_certificate_ssh* cert)
50
49
51
for (var i = 0; i < HashMD5.Length; i++)
52
53
- HashMD5[i] = p[i];
+ p[i] = cert->HashMD5[i];
54
}
55
56
@@ -59,7 +58,7 @@ internal unsafe CertificateSsh(git_certificate_ssh* cert)
59
58
60
for (var i = 0; i < HashSHA1.Length; i++)
61
62
- HashSHA1[i] = p[i];
+ p[i] = cert->HashSHA1[i];
63
64
65
0 commit comments