Hello

Some time ago i wrote about a leak in verify function.
With libxml 2.2-6-20 the leak was fixed, just for info.

Now i am using the latest xmlsec with mscrypto and signing failed under win98. I found the problem in unit digest.c in function xmlSecMSCryptoDigestInitialize.

In that function you call

if (!CryptAcquireContext(&ctx->provider, NULL, MS_PROV_STRONG, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) {

an that function fails but when i replace that with

if (!CryptAcquireContext(&ctx->provider, NULL, NULL, PROV_RSA_FULL,
CRYPT_VERIFYCONTEXT)) {

It works yust fine.


Luka Por
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to