Hi,

If want to set the size of datagram, these functions

            SSL_set_options(con, SSL_OP_NO_QUERY_MTU);
            SSL_set_mtu(con, mtu);
can be used?

2008/7/8 Anri Lau <[EMAIL PROTECTED]>:

> Hi Dave/All
>
> Thank you Dave,  I guess I make a misunderstanding!  BTW, the maximum size
> of record is specified in which standard document? And can the DTLS datagram
> size be set by a straight-forward interface of openssl?
>
> 2008/7/8 David Schwartz <[EMAIL PROTECTED]>:
>
>
>>
>> > Hi All,
>>
>> > I tried to found out a interface which can be used to set the
>> > SSL record size as a specified number, but I failed.
>> > e.g. I hope the TLS record size shall be equal to 512 bytes,
>> > how should i do?
>>
>> The SSL record size will vary with each record depending on what it
>> contains. If your cipher has a block size of 8 bytes and only 8 bytes of
>> data need to be sent, how is the implementation supposed to make a
>> 512-byte
>> record out of that?
>>
>> If you mean the maximum record size, that's specified in the standard. If
>> you change that, it's not TLS anymore. Are you talking about DTLS datagram
>> size? Or what?
>>
>> DS
>>
>>
>> ______________________________________________________________________
>> OpenSSL Project                                 http://www.openssl.org
>> User Support Mailing List                    [email protected]
>> Automated List Manager                           [EMAIL PROTECTED]
>>
>
>
>
> --
> Best regards to you and your family
>



-- 
Best regards to you and your family

Reply via email to