Re: BIO (memory mapped file)

2013-02-11 Thread Jeffrey Walton
On Mon, Feb 11, 2013 at 5:15 PM, Dave Thompson wrote: >> From: owner-openssl-us...@openssl.org On Behalf Of Jeffrey Walton >> Sent: Monday, 11 February, 2013 01:12 > >> I'm trying to memory map a file. Does OpenSSL BIO's allow this? >> >> I seem to be failing on BIO_read_filename with a `ret` of 0

RE: BIO (memory mapped file)

2013-02-11 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Jeffrey Walton > Sent: Monday, 11 February, 2013 01:12 > I'm trying to memory map a file. Does OpenSSL BIO's allow this? > > I seem to be failing on BIO_read_filename with a `ret` of 0. The docs > state I should expect `ret` of 1. When I look f

BIO (memory mapped file)

2013-02-10 Thread Jeffrey Walton
Hi All, I'm trying to memory map a file. Does OpenSSL BIO's allow this? I seem to be failing on BIO_read_filename with a `ret` of 0. The docs state I should expect `ret` of 1. When I look for the problem, I'm getting an error code of 0 (`err`, success). I ask because the doc's appear to be incor