[Linuxtrent] Re: problema con openssl (sign e cifrature di file enormi)

  • From: Roberto Resoli <roberto.resoli@xxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Sun, 25 Jul 2010 10:06:46 +0200

Il 24 luglio 2010 18.35, giovambattista vieri <g.vieri@xxxxxxxxxxxxx>
ha scritto:
...
> Questo e' l'output del secondo comando.
>
> WARNING: can't open config file: /usr/local/ssl/openssl.cnf
> Error reading S/MIME message
> 2786956:error:07069041:memory buffer routines:BUF_MEM_grow_clean:malloc

Sembra proprio che manchi memoria .... (malloc failure)
Prova ad abilitare lo streaming I/O:

da: http://www.openssl.org/docs/apps/smime.html
-stream -indef -noindef

    the -stream and -indef options are equivalent and enable streaming
I/O for encoding operations. This permits single pass processing of
data without the need to hold the entire contents in memory,
potentially supporting very large files. Streaming is automatically
set for S/MIME signing with detached data if the output format is
SMIME it is currently off by default for all other operations.

Nel man ssl della mia versione di openssl ( 0.9.8k ) comunque non ho
trovato traccia dell'opzione

rob
-- 
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: