There is line with OpenCA::OpenSSL::SMIME->new. You have to enter the
parameter DEBUG like follows:
DEBUG => $self->{DEBUG},
Hi Michael,
thx for your response, but I'm a little confused. I did as you asked and changed the file /usr/local/openca/modules/perl5/OpenCA/Token/OpenSSL.pm :
from: my $self = { DEBUG => 0, debug_fd => $STDERR, ## debug_msg => () };
to: my $self = { DEBUG => $self->{DEBUG}, debug_fd => $STDERR, ## debug_msg => () };
This is the wrong position! Please look for a line with a constructor for OpenCA::OpenSSL::SMIME. The complete line is like follows:
my $smime = OpenCA::OpenSSL::SMIME->new(
There you have to add the code for DEBUG. The fixed code block looks like this:
## decryption
my $smime = OpenCA::OpenSSL::SMIME->new(
INFILE => $infile,
SHELL => $self,
ENGINE => $engine,
GETTEXT => $self->{gettext},
TMPDIR => $self->{tmpDir},
DEBUG => $self->{DEBUG}
);Please don't let you confuse by the comment #decryption. It is old and wrong but easy to search for you :)
Michael -- ------------------------------------------------------------------- Michael Bell Email: [EMAIL PROTECTED] ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): [EMAIL PROTECTED] Germany http://www.openca.org
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users
