RE: 64bit BIOs and support in OpenSSL

2010-10-07 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Darryl Miles > Sent: Wednesday, 06 October, 2010 20:45 Very minor nits, but since we're being pedantic: > > The rules that you can trust are: > > The ones mandated by the C language. > > [From memory] > sizeof(char) == 1 (aka 8 bits) Yes a

Re: 64bit BIOs and support in OpenSSL

2010-10-07 Thread Jakob Bohm
On 07-10-2010 08:28, Jeffrey Walton wrote: On Wed, Oct 6, 2010 at 8:45 PM, Darryl Miles wrote: [SNIP] Oh, and stdint.h is not available with all compilers! Isn't this an ANSI requirement, ah well, poor compiler users what standards do they conform to then ? Like the safer string functio

Re: 64bit BIOs and support in OpenSSL

2010-10-07 Thread Ger Hobbelt
First off: 64-bit filesys support would require a (minor?) API change; there's been a similar size_t move in the past (partly rolled back IIRC) and several 'int' or 'long' arguments should be turned into off_t types indeed, irrespective of the typedef used to define that type. Several systems have

Re: 64bit BIOs and support in OpenSSL

2010-10-06 Thread Jeffrey Walton
On Wed, Oct 6, 2010 at 8:45 PM, Darryl Miles wrote: >>> >>> [SNIP] > >> Oh, and stdint.h is not available with all compilers! > > Isn't this an ANSI requirement, ah well, poor compiler users what standards > do they conform to then ? Like the safer string functions (strcpy_s and friends) and TR 24

Re: 64bit BIOs and support in OpenSSL

2010-10-06 Thread Darryl Miles
Jakob Bohm wrote: On 04-10-2010 21:10, Victor Duchovni wrote: On Mon, Oct 04, 2010 at 10:37:55AM -0400, Jeff Saremi wrote: Does BIO support 64 bit IO (large files)? If so would the rest of OpenSSL (such as the ssl itself) support those BIOs? I configured the build with 64bit support and didn't

Re: 64bit BIOs and support in OpenSSL

2010-10-06 Thread Jeff Saremi
Are there any plans to change this? Getting streams larger than 4GB is not very unusual these days anymore. > On Mon, Oct 04, 2010 at 10:37:55AM -0400, Jeff Saremi wrote: > > > Does BIO support 64 bit IO (large files)? If so would the rest of > > OpenSSL (such as the ssl itself) support those

Re: 64bit BIOs and support in OpenSSL

2010-10-05 Thread Jakob Bohm
On 04-10-2010 21:10, Victor Duchovni wrote: On Mon, Oct 04, 2010 at 10:37:55AM -0400, Jeff Saremi wrote: Does BIO support 64 bit IO (large files)? If so would the rest of OpenSSL (such as the ssl itself) support those BIOs? I configured the build with 64bit support and didn't see any noticeab

Re: 64bit BIOs and support in OpenSSL

2010-10-04 Thread Victor Duchovni
On Mon, Oct 04, 2010 at 10:37:55AM -0400, Jeff Saremi wrote: > Does BIO support 64 bit IO (large files)? If so would the rest of > OpenSSL (such as the ssl itself) support those BIOs? > I configured the build with 64bit support and didn't see any noticeable > changes. > Specifically, I'd like to

64bit BIOs and support in OpenSSL

2010-10-04 Thread Jeff Saremi
Does BIO support 64 bit IO (large files)? If so would the rest of OpenSSL (such as the ssl itself) support those BIOs? I configured the build with 64bit support and didn't see any noticeable changes. Specifically, I'd like to know if BIO_tell() is able to return a 64bit value?