Hello,
> This test programs works fine, so I think I need to check my signatures (as 
> David Schwartz mentioned too). 
Signature is not important when you do RSA_public_decrypt().
First you must decode data and after that you may try to interpret them.
Function RSA_public_decrypt() first performs modular exponentation and
next tries to remove padding. Your error seems to occur on first step.
To be sure, just decrypt with RSA_NO_PADDING to get raw data (but I do
not belive this is real cause).

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to