> From: owner-openssl-us...@openssl.org
> [mailto:owner-openssl-us...@openssl.org] On Behalf Of ikuzar
> Sent: Friday, March 18, 2011 5:41 AM
> To: openssl-users@openssl.org
> Subject: Re: data size issue with SSL_read( ) / SSL_write
>
> Ryan, what is the suitable cipher
Any
>> review, retransmission, dissemination or other use of, or taking of any
>> action in reliance upon, this information by persons or entities other than
>> the intended recipient is prohibited. If you received this in error, please
>> contact the sender and delete this mate
> the intended recipient is prohibited. If you received this in error, please
> contact the sender and delete this material from any computer.
>
>
> *From:* owner-openssl-us...@openssl.org [mailto:
> owner-openssl-us...@openssl.org] *On Behalf Of *ikuzar
> *Sent:* Thursday, Mar
On 3/17/2011 7:43 AM, ikuzar wrote:
I am confused.
When I used a simple c++ program which uses SSL functions for the first
time, I need not implement a protocol. when I tell SSL_write( ) to send
5 bytes and tell SSL_read( ) to read 10 bytes, the last reads 5 bytes !
( doesn't it ? am I wrong ?
I am confused.
When I used a simple c++ program which uses SSL functions for the first
time, I need not implement a protocol. when I tell SSL_write( ) to send 5
bytes and tell SSL_read( ) to read 10 bytes, the last reads 5 bytes ! (
doesn't it ? am I wrong ? I assume SSL reads expect \0 then it st
On 3/17/2011 6:40 AM, ikuzar wrote:
Why do we expect \r\n ? why not \0 ?
That's why you need to implement a protocol.
DS
__
OpenSSL Project http://www.openssl.org
User Support Mailing List
Why do we expect \r\n ? why not \0 ?
2011/3/17
> Hi
>
> does your server send \r\n with hello?
>
> i read byte by byte until i found an \r\n
>
> Regards
> Luiz
>
> > Hello,
> >
> > In my programm, client send "HELLO" message to server.
> >
> > 1)
> >
> ---
Hi
does your server send \r\n with hello?
i read byte by byte until i found an \r\n
Regards
Luiz
> Hello,
>
> In my programm, client send "HELLO" message to server.
>
> 1)
> ---
> SSL_write is encapsulated in MY_sen
On 3/17/2011 5:00 AM, ikuzar wrote:
The problem :
when I print data, I have got :
HELLO��y0�y
0�y��y
i`�0�y
������L���L��-M
etc...
instead of
HELLO.
in MYrecv, when I make L = 5, it works
what should I do to read just the right size so that when I print I get
HELLO, GOODBYE, etc .
Hello,
In my programm, client send "HELLO" message to server.
1)
---
SSL_write is encapsulated in MY_send( ) function like this :
MY_send(MY_cn sd, const char* data, size_t len) {
ret = SSL_write(socki->ssl, d
10 matches
Mail list logo