I am trying to upgrade from VC6 to .NET (VC7). If I do this:

void Decrypt(const CryptoPP::Integer& m, const CryptoPP::Integer& e, ...)
{
        RSAES_PKCS1v15_Encryptor(m,e);
        ...
}

The compiler complains that it can't find a best match. This works fine under VC6 or GCC. If I change 'm' to be non-const, the problem goes away.

Any idea why this is?

Thanks,

Scott Maxwell
PocketPurchase, Inc.




Reply via email to