CryptAcquireContext fails with 0x8009001d (NTE_PROVIDER_DLL_FAIL)



Hi,

I am using patched advapi32.dll on my Windows XP SP2 machine (I have
patched it according to the instructions found on the list). Before the
patching I was getting 0x80090006 (NTE_BAD_SIGNATURE) errors in
CryptAcquireContext. After the patching I didn't know if I have to sign
and register mycsp.dll - I tried to use cspsign.exe, I have created the
signature file (resource based signing didn't work), but regsvr32.exe
on mycsp.dll gave me "mycsp.dll was loaded, but the DLLRegisterServer
entry point was not found. This file cannot be registered"

Then I created my own registry entries like:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Defaults\Provider\mycsp]
"Image Path"="mycsp.dll"
"Type"=dword:00000001


....and after that I got 0x8009001d (NTE_PROVIDER_DLL_FAIL) error in
CryptAcquireContext...

Any help would be greatly appreciated

thanks

dejan

.



Relevant Pages

  • Re: One more reason to say "Fuck Starforce"
    ... ongoing bugfixing and patching effort that you can partake in. ... requirement to register and no need or requirement to patch. ... I am sure you can enjoy the game, either by not chancing into the ... once you register with Stardock in order to be permitted to ...
    (comp.sys.ibm.pc.games.action)
  • Re: One more reason to say "Fuck Starforce"
    ... the software you use is in working order is to ensure that there is an ... ongoing bugfixing and patching effort that you can partake in. ... There is no need or requirement to register and no need or requirement to patch. ... I will never knowingly purchase a game that requires product activation before it can be played, but I will not hesitate to purchase a game from Stardock because their games do *not* require product activation. ...
    (comp.sys.ibm.pc.games.action)
  • Re: [patch 5/8] Immediate Values - x86 Optimization
    ... patching to set/unset the value used to populate the register used as ... variable source. ... I think the patching code gross overkill. ...
    (Linux-Kernel)