[PATCH 3/3] advapi32: Add support for using the Mac Keychain services as a backend for the credential functions instead of the registry.

Robert Shearman rob at codeweavers.com
Mon Nov 26 16:09:40 CST 2007


Juan Lang wrote:
> Hi Rob,
>
> @@ -232,6 +239,198 @@ static DWORD registry_read_credential(HKEY hkey,
> PCREDENTIALW credential,
>      return ret;
>  }
>
> +static DWORD mac_read_credential_from_item(SecKeychainItemRef item,
> BOOL require_password,
> +                                           PCREDENTIALW credential,
> char *buffer,
> +                                           DWORD *len)
>
> You're missing compilation protection here (and elsewhere) on non-Apple systems.
>   

Ah, yes. Thanks!

-- 
Rob Shearman




More information about the wine-devel mailing list