Tyler Durden wrote:
Sorry,
I forget put in the flen parameter of the function
RSA_private_decrypt(int flen, unsigned char *from, unsigned char *to,
RSA *rsa, int padding); the value returned by the
RSA_public_encrypt(...), but I have not solved the problem with the
function
int RSA_print_fp(FILE *fp, RSA *x, int offset).
Someboy can help me?
Thanks.
On 4/13/05, Tyler Durden <[EMAIL PROTECTED]> wrote:
Hello,
I have a problem wiht the function
"int RSA_private_decrypt(int flen, unsigned char *from, unsigned char
*to, RSA *rsa, int padding);"
When I call this function after to call the RSA_public_encrypt, I get
-1 return value, therefore I get an error. The information error is:
<LIB>: rsa routines
<FUNC>: RSA_padding_check_SSLv23
<REASON>: block type is not 02
I don't understand because this erros occur, because I use the padding
type when encypt that when decrypt.
On the other hand, I get a segmentation fault when I use the function
"int RSA_print_fp(FILE *fp, RSA *x, int offset);" and I don't know the reason.
Which OS ? Do you have a backtrace ?
Nils
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]