> i try to make a dgst of a 40Gb file, but when the openssl binary try to > fopen the file, it's fail .. > > i think the problem was the fopen, maybe it's dont use the open (2) with > the option O_LARGEFILE.. > > can you fix it ?
Well, in certain sense it's by design. At the very least we try to adhere to ANSI as much as possible and ANSI stdio doesn't cover large file support on 32-bit platforms. There is transitional large file API, which can be engaged by defining certain macros at compile time. *But* it's unlikely to happen in 0.9.7 context or at least not in upcoming 0.9.7f context. It's not a question of triviality, it's just that we're not prepared to address possible cross-platform short-term problems that might emerge. As temporary workaround you can use 'openssl dgst -rmd160 < /tmp/very_large_file'. Well, you still have to make sure your shell is capable of opening large files for redirection (most notably elder versions of tcsh fail to). To summarize. Issue will be addressed in 0.9.8, *possibly* in 0.9.7g if broader interest is shown. Till then stick to workaround. A. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
