[xmlsec] assertion in openssl/evp.c

Aleksey Sanin aleksey at aleksey.com
Mon Jul 11 08:10:01 PDT 2005


Hi, Bernd!

This assertion means that you are calling "GetRsa" method for
a key which is not an RSA key. I am not sure why this happens.
I don't believe that xmlSecOpenSSLKeyDataRsaGetEvp() can fail
because it is just an access function to the underlaying openssl
data structure.

If you get into debugger, it would be really nice to find out
the value of pKey->type. Also I would suggest to check that
openssl versions on this machine and the machine you've used to
compile xmlsec match *exactly*. If this client machine has another
copy of openssl and somehow xmlsec uses this another copy then
all bets are off :)

Aleksey


More information about the xmlsec mailing list