Hans Leidekker hans@codeweavers.com wrote:
+static struct container *read_key_container( const char *name, DWORD flags ) +{
- DWORD protect_flags = (flags & CRYPT_MACHINE_KEYSET) ? CRYPTPROTECT_LOCAL_MACHINE : 0;
- struct container *ret;
- HKEY hkey;
- if (!open_container_regkey( name, flags, KEY_READ, &hkey )) return NULL;
- if ((ret = create_key_container( name, flags )))
- {
ret->exch_key = read_key( hkey, AT_SIGNATURE, protect_flags );
ret->sign_key = read_key( hkey, AT_KEYEXCHANGE, protect_flags );
- }
Seems to be a typo.