64 bit OpenSSL API

Simon Josefsson simon at josefsson.org
Sun Nov 21 16:57:52 CET 2010


Jeffrey Walton <noloader at gmail.com> writes:

> On Sun, Nov 21, 2010 at 10:38 AM, Simon Josefsson <simon at josefsson.org> wrote:
>> Jeffrey Walton <noloader at gmail.com> writes:
>>
>>> Hey Guys,
>>>
>>> Were you guys aware of "64bit BIOs and support in OpenSSL",
>>> http://marc.info/?l=openssl-users&m=128621823121551?
>>>
>>> It might make a good topic for Compare/Contrast.
>>
>> GnuTLS doesn't have anything directly comparable to BIO, and there
>> shouldn't be any problems with 64-bit streams with GnuTLS.
> I've been working through client examples at
> http://www.gnu.org/software/gnutls/manual/html_node/Client-examples.html#Client-examples.
> I noticed GnuTLS returned ssize_t's, which made me think of OpenSSL's
> BIO problems.

That is the appropriate type to use for supporting 64-bit (or larger)
objects.

Btw, please keep cc to the mailing list for GnuTLS discussions.

/Simon




More information about the Gnutls-devel mailing list