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 incorrect on the return type of BIO_read_filename. When I try and use an `int`, I get a size warning (long instead of int). So I suspect the docs may be wrong. http://www.openssl.org/docs/crypto/BIO_s_file.html. Jeff bio = BIO_new(BIO_s_mem()); // BIO is not NULL ret = BIO_read_filename(bio, "filename.pem"); err = ERR_get_error(); // ret is 0, err is 0 ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org