David,

Thanks for your prompt reply, again.

David Schwartz wrote:
ERR_get_error() returned 67596407
ERR_error_string() returned error:04077077:rsa routines:RSA_verify:wrong
signature length

ERR_get_error() returned 218910726
ERR_error_string() returned error:0D0C5006:asn1 encoding
routines:ASN1_item_verify:EVP lib

ERR_get_error() returned 0

Well, there you go. The other side sent a signature with the wrong length.


The other side is also OpenSSL. I call SSL_read() there, which does not
return an error. Do you have an idea why is it sending wrong signature
length?

Furthermore, I didn't give you all the information I had.

The protocol errors occurs only when I send a particular message, but
not for every try. For other messages everything works fine.

I've straced the process invoking SSL_write(). Every time I get that
protocol error from SSL_write(), I see that the last write() it invokes
returns -1, with errno set to EAGAIN.

When I send the message and do _not_ get the protocol error, I see that
either: 1) there is no EAGAIN or 2) the last write() sets EAGAIN and
SSL_write() returns SSL_ERROR_WANT_WRITE.

Is the problem on the reading or the writing side? In any case, what can
be the cause of it?

Also, I am using the loopback interface for communication.

Regards,
AK



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

Reply via email to