crypt32: Return success from the CERT_STORE_CTRL_NOTIFY_CHANGE stub.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hans Leidekker 2018-04-11 12:05:46 +02:00 committed by Alexandre Julliard
parent a389b33c25
commit 8ee5d18b42
1 changed files with 5 additions and 4 deletions

View File

@ -453,7 +453,7 @@ static BOOL WINAPI CRYPT_RegControl(HCERTSTORE hCertStore, DWORD dwFlags,
DWORD dwCtrlType, void const *pvCtrlPara)
{
WINE_REGSTOREINFO *store = hCertStore;
BOOL ret;
BOOL ret = TRUE;
TRACE("(%p, %08x, %d, %p)\n", hCertStore, dwFlags, dwCtrlType,
pvCtrlPara);
@ -469,7 +469,6 @@ static BOOL WINAPI CRYPT_RegControl(HCERTSTORE hCertStore, DWORD dwFlags,
CRYPT_RegReadFromReg(store->key, memStore);
I_CertUpdateStore(store->memStore, memStore, 0, 0);
CertCloseStore(memStore, 0);
ret = TRUE;
break;
}
case CERT_STORE_CTRL_COMMIT:
@ -478,10 +477,12 @@ static BOOL WINAPI CRYPT_RegControl(HCERTSTORE hCertStore, DWORD dwFlags,
break;
case CERT_STORE_CTRL_AUTO_RESYNC:
FIXME("CERT_STORE_CTRL_AUTO_RESYNC: stub\n");
ret = TRUE;
break;
case CERT_STORE_CTRL_NOTIFY_CHANGE:
FIXME("CERT_STORE_CTRL_NOTIFY_CHANGE: stub\n");
break;
default:
FIXME("%d: stub\n", dwCtrlType);
FIXME("%u: stub\n", dwCtrlType);
ret = FALSE;
}
return ret;