Re: FWD: Enhancement Request: 64bit BIO API

2010-10-23 Thread Darryl Miles
Jeff Saremi wrote: That's right. Not only the actual implementation but more the API do not support 64bit values being passed around. jeff That's right. Not only the actual implementation but more the API do not support 64bit values being passed around, even on systems where the native

Re: FWD: Enhancement Request: 64bit BIO API

2010-10-23 Thread Thor Lancelot Simon
On Sat, Oct 23, 2010 at 08:40:55AM +0100, Darryl Miles wrote: * Create a new API call (that is a real function, not a macro) that: ** implements BIO_tell64() that returns loff_t type. Maybe someone can confirm my expectation that the loff_t will ALWAYS be (at least) 64bit wide on

Re: FWD: Enhancement Request: 64bit BIO API

2010-10-22 Thread Andy Polyakov
The specific concern is that (e.g.) the BIO seek and tell operations use long for parameters, which on some 64-bit systems is still 32 bits. They need to use size_t or a specific 64-bit type. No. size_t is wrong; it may be 32 bits on platforms where file offsets can be 64 bits.

RE: FWD: Enhancement Request: 64bit BIO API

2010-10-22 Thread Jeff Saremi
:19 PM To: openssl-dev@openssl.org Subject: Re: FWD: Enhancement Request: 64bit BIO API [...] Are we talking about file BIO? It should be 64-bit on 64-bit [Unix] platforms. Should be refers to the fact that I've looked at it some point and reckoned that it is and as far as 32-bit platforms

Re: FWD: Enhancement Request: 64bit BIO API

2010-10-22 Thread Thor Lancelot Simon
On Fri, Oct 22, 2010 at 10:40:01AM +0200, Andy Polyakov wrote: You've got to appreciate the irony. Even though systems are referred to as some, we can as well stop pretending that we are not talking about Win64. And on Win64 off_t is ... 32 bits. But even in real POSIX environment off_t is

Re: FWD: Enhancement Request: 64bit BIO API

2010-10-21 Thread Andy Polyakov
In another hi-jacked thread I think it was determined that the current OpenSSL BIO API does not support 64bit operations. Could you provide a reference? This post is to request that such support be added to OpenSSL. With the 32bit operating systems disappearing fast on desktops and

RE: FWD: Enhancement Request: 64bit BIO API

2010-10-21 Thread Erik Tkal
-Original Message- From: owner-openssl-...@openssl.org [mailto:owner-openssl-...@openssl.org] On Behalf Of Andy Polyakov Sent: Thursday, October 21, 2010 1:19 PM To: openssl-dev@openssl.org Subject: Re: FWD: Enhancement Request: 64bit BIO API [...] Are we talking about file BIO? It should

Re: FWD: Enhancement Request: 64bit BIO API

2010-10-21 Thread Thor Lancelot Simon
On Thu, Oct 21, 2010 at 01:29:55PM -0400, Erik Tkal wrote: Hi Andy, The specific concern is that (e.g.) the BIO seek and tell operations use long for parameters, which on some 64-bit systems is still 32 bits. They need to use size_t or a specific 64-bit type. No. size_t is wrong; it may

FWD: Enhancement Request: 64bit BIO API

2010-10-20 Thread Jeff Saremi
In case this is the right forum for this post. Original Message Date: 2010-10-12 18:07:53 From: Jeff Saremi jsar...@morega.com To: openssl-us...@openssl.org Subject:Enhancement Request: 64bit BIO API In another hi-jacked thread I think it was determined that the current