Skip to content

Commit d3313e4

Browse files
committed
Fixes missed DllImport
1 parent 3c33f5b commit d3313e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LibGit2Sharp/Core/NativeMethods.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,8 @@ internal static extern int git_cred_userpass_plaintext_new(
496496

497497
[DllImport(libgit2)]
498498
internal static extern void git_cred_free(IntPtr cred);
499+
500+
[DllImport(libgit2)]
499501
internal static extern int git_cred_ssh_key_new(
500502
out IntPtr cred,
501503
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie = UniqueId.UniqueIdentifier, MarshalTypeRef = typeof(StrictUtf8Marshaler))] string username,

0 commit comments

Comments
 (0)