[Rt-commit] r9506 - in rt/branches/3.7-RTIR-RELENG:
lib/RT/Interface/Email/Auth
sartak at bestpractical.com
sartak at bestpractical.com
Tue Oct 30 12:39:32 EDT 2007
Author: sartak
Date: Tue Oct 30 12:39:31 2007
New Revision: 9506
Modified:
rt/branches/3.7-RTIR-RELENG/ (props changed)
rt/branches/3.7-RTIR-RELENG/lib/RT/Interface/Email/Auth/GnuPG.pm
Log:
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-RTIR-RELENG/lib/RT/Interface/Email/Auth/GnuPG.pm
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/lib/RT/Interface/Email/Auth/GnuPG.pm (original)
+++ rt/branches/3.7-RTIR-RELENG/lib/RT/Interface/Email/Auth/GnuPG.pm Tue Oct 30 12:39:31 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