Re: [PATCH] contrib: add a credential helper for Mac OS X's keychain
On Wed, Sep 14, 2011 at 1:58 PM, Jay Soffian <jaysoffian@gmail.com> wrote:
Show 17 quoted lines
> diff --git a/contrib/credential-osxkeychain/git-credential-osxkeychain.c b/contrib/credential-osxkeychain/git-credential-osxkeychain.c
> new file mode 100644
> index 0000000000..64bcc636cb
> --- /dev/null
> +++ b/contrib/credential-osxkeychain/git-credential-osxkeychain.c
>
> [...]
>
> +int find_internet_password(SecProtocolType protocol,
> + char *hostname,
> + char *username)
> +{
> + void *password_buf;
> + UInt32 password_len;
> + OSStatus status;
> + char *password;
> + int free_username;