I just paid attention that in OpenSSLCryptoKeyRSA::OpenSSLCryptoKeyRSA
(somewhere near line 143) when copying RSA key from EVP_PKEY, member
m_keyType is not initialized.
I didn't look deep into code and don't know what possible implications
this might cause (seems that nothing serious at all), but
Hi,
Starting from VS.NET 7.0 operator new does not anymore return NULL in
case of allocation error. It throws std::bad_alloc exception instead
(the way it is supposed to be). Therefore following code in
XSECError.hpp not going to work as expected:
-- start
Here's another one. OpenSSLCryptoKeyRSA.cpp line 198:
unsigned char sigVal[512];
I was using 4096 bit RSA key and it was corrupting stack during
signature verification. I changed buffer size to 1024 and it works
now. EVP_DecodeUpdate still returns 512 bytes and EVP_DecodeFinal()
returns 0 and pro