On 03/07/15 22:33, Dr. Stephen Henson wrote:
On Sat, Mar 07, 2015, dE wrote:
Suppose, I write a small amount of data with SSL_write. Will openssl
accumulate these writes to make a single big fragment and then send
it, or will it send it the moment it receives the data, as a single
fragment?
No
On Sat, Mar 07, 2015, dE wrote:
>
> Suppose, I write a small amount of data with SSL_write. Will openssl
> accumulate these writes to make a single big fragment and then send
> it, or will it send it the moment it receives the data, as a single
> fragment?
No it tries to send the data with each
On 03/07/15 19:43, Salz, Rich wrote:
As far as I know SSL_read will only return data from 1 record.
But there is no requirement that each write translates into one record.
___
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/l
On 03/07/15 18:46, Kurt Roeckx wrote:
On Sat, Mar 07, 2015 at 11:47:12AM +, Salz, Rich wrote:
So this is preserving message boundaries. How do I get the complete
message just like with TCP?
No, it just happened that way. TLS does not preserve message boundaries.
As far as I know SSL_read
> As far as I know SSL_read will only return data from 1 record.
But there is no requirement that each write translates into one record.
___
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
On Sat, Mar 07, 2015 at 11:47:12AM +, Salz, Rich wrote:
>
> > So this is preserving message boundaries. How do I get the complete
> > message just like with TCP?
>
> No, it just happened that way. TLS does not preserve message boundaries.
As far as I know SSL_read will only return data from
> So this is preserving message boundaries. How do I get the complete
> message just like with TCP?
No, it just happened that way. TLS does not preserve message boundaries.
___
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/
On 6 March 2015 at 14:05, Christian Georg <
christian.ge...@cologne-intelligence.de> wrote:
> The tricky part are the supported cipher suites. When using the -www
> option I can return a website to the client showing the cipher suites that
> provide a match, which gets pretty close to what I want
It appears that SSL_read does not work like a stream protocol.
This is the server part of the program --
char c[] = "Hello";
SSL_write (sslconnection, &c[0], 1);
SSL_write (sslconnection, &c[1], 1);
SSL_write (sslconnection, &c[2], 1);
SSL_write (sslconnection, &c[3], 1);
SSL_write (sslconnectio