Althougth no such a big files, we also create big PKCS7 files (tens of Mbytes) using detached PKCS7.I donīt know exactly if this is supported by OpenSSL now, but there is a "detached" attribute for files in PKCS7 routines, and working in PKCS7_verify(),PKCS7_init(),PKCS7_data() you can do it.You have to change memory BIOs (yes,all the data is handled in memory) by file BIOs.
 
Pablo J. Royo
 
----- Original Message -----
Sent: Tuesday, May 14, 2002 3:28 PM
Subject: Large files with smime

Hi everyone,
Openssl smime is not able to handle big files ( We tried with a 500MB file). It doesn't report any error message.
 
On stepping through the source, we found that it's failing in OPENSSL_malloc.
 
However openssl enc works fine with files larger than 2 GB.
 
There is a bug in one of those pkcs7_ routines. Is there a workaround for this problem?
 
We are using Openssl 0.9.6c 21 Dec 2001 version.
 
Any help is greatly appreciated.
 
Thanks and regards,
Girish

Reply via email to