> Hi List,
>
> I am implementing EPP over SSL. It requires
> me send send hex data (the length of the xml
> document). In addition, making EPP request
> twice is an error. So it differs http with both
> these counts.

Okay.

> Then the problem: when i am doing SSL_write,
> it does return full length of the packet i send,

You don't send packets to SSL_write, you send bytes. It returns the number
of bytes sent, and if the other end doesn't receive that number of bytes
(possibly in multiple call to SSL_read), you have found a problem.

> but
> ethereal shows *two* application level packets.

It's not completely clear what you mean by "application level packets". SSL
is a byte-stream protocol. It guarantees only that the other end will
receive the same bytes in the same order. It does not glue bytes together in
a way the application can use.

There is no special reason you should care (except perhaps for
performance/efficiency reasons) if you send 100 bytes and SSL sends them as
a single 100-byte chunk or 100 1-byte chunks.

> The packet indedd contains 0x00s. Can this be a
> problem ?

Are you trying to manually decrypt the data? Why do you care what bytes the
packets contain? You shouldn't be looking at the TCP level except to
diagnose a problem at the SSL level. Do you have a problem?

DS


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

Reply via email to