Re: [openssl-users] SSL_read preserving message boundaries.

2015-03-07 Thread dE
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

Re: [openssl-users] SSL_read preserving message boundaries.

2015-03-07 Thread Dr. Stephen Henson
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

Re: [openssl-users] SSL_read preserving message boundaries.

2015-03-07 Thread dE
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

Re: [openssl-users] SSL_read preserving message boundaries.

2015-03-07 Thread dE
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

Re: [openssl-users] SSL_read preserving message boundaries.

2015-03-07 Thread Salz, Rich
> 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

Re: [openssl-users] SSL_read preserving message boundaries.

2015-03-07 Thread Kurt Roeckx
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

Re: [openssl-users] SSL_read preserving message boundaries.

2015-03-07 Thread Salz, Rich
> 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/

Re: [openssl-users] Getting info on the ciphers supported by a client

2015-03-07 Thread Richard Moore
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

[openssl-users] SSL_read preserving message boundaries.

2015-03-07 Thread dE
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