[Rt-commit] r9597 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Tue Nov 6 07:11:03 EST 2007
Author: ruz
Date: Tue Nov 6 07:11:01 2007
New Revision: 9597
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email/Auth/GnuPG.pm
Log:
r9507 at cubic-pc (orig r9506): sartak | 2007-10-30 19:39:31 +0300
r44429 at onn: sartak | 2007-10-30 12:39:08 -0400
Use the 0 return value on decryption error, not -2
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email/Auth/GnuPG.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email/Auth/GnuPG.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email/Auth/GnuPG.pm Tue Nov 6 07:11:01 2007
@@ -95,7 +95,7 @@
unless ( $status ) {
$RT::Logger->error("Had a problem during decrypting and verifying");
my $reject = HandleErrors( Message => $args{'Message'}, Result => \@res );
- return (-2, 'rejected because of problems during decrypting and verifying')
+ return (0, 'rejected because of problems during decrypting and verifying')
if $reject;
}
More information about the Rt-commit
mailing list