Hans Leidekker (@hans) commented about dlls/winhttp/tests/winhttp.c:
pfx.pbData = (BYTE *)pfxdata; pfx.cbData = sizeof(pfxdata);
- store = PFXImportCertStore( &pfx, NULL, CRYPT_EXPORTABLE|CRYPT_USER_KEYSET|PKCS12_NO_PERSIST_KEY );
- store = PFXImportCertStore( &pfx, NULL, CRYPT_EXPORTABLE|CRYPT_USER_KEYSET|PKCS12_NO_PERSIST_KEY|PKCS12_ALWAYS_CNG_KSP );
Or here.