/[smeserver]/rpms/qpsmtpd/sme9/0006-added-definedness-test-to-local_port-as-it-was-emitt.patch
ViewVC logotype

Contents of /rpms/qpsmtpd/sme9/0006-added-definedness-test-to-local_port-as-it-was-emitt.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Feb 2 00:59:44 2013 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: qpsmtpd-0_84-14_el6_sme, qpsmtpd-0_84-16_el6_sme, qpsmtpd-0_84-12_el6_sme, qpsmtpd-0_96-7_el6_sme, qpsmtpd-0_96-2_el6_sme, qpsmtpd-0_84-13_el6_sme, qpsmtpd-0_84-6_el6_sme, qpsmtpd-0_84-18_el6_sme, qpsmtpd-0_84-9_el6_sme, qpsmtpd-0_84-4_el6_sme, qpsmtpd-0_96-11_el6_sme, qpsmtpd-0_84-15_el6_sme, qpsmtpd-0_96-4_el6_sme, qpsmtpd-0_96-3_el6_sme, qpsmtpd-0_96-10_el6_sme, qpsmtpd-0_84-17_el6_sme, qpsmtpd-0_84-7_el6_sme, qpsmtpd-0_96-5_el6_sme, qpsmtpd-0_84-10_el6_sme, qpsmtpd-0_84-8_el6_sme, qpsmtpd-0_96-1_el6_sme, qpsmtpd-0_84-5_el6_sme, qpsmtpd-0_96-6_el6_sme, qpsmtpd-0_96-8_el6_sme, qpsmtpd-0_84-11_el6_sme, qpsmtpd-0_96-9_el6_sme, HEAD
* Fri Feb 1 2013 Shad L. Lords <slords@mail.com> 0.84-4.sme
- Update spec so building on rhel6 works [SME: 7263]

1 From e8cb1c3e94c9effc596aafb0442434d07098fc5d Mon Sep 17 00:00:00 2001
2 From: Matt Simerson <matt@tnpi.net>
3 Date: Tue, 4 May 2010 01:04:38 -0400
4 Subject: added definedness test to $local_port as it was emitting errors to to not being defined. My previous commit to TcpServer.pm fixed that problem.
5
6 Signed-off-by: Robert <rspier@pobox.com>
7 ---
8 plugins/tls | 2 +-
9 1 files changed, 1 insertions(+), 1 deletions(-)
10
11 diff --git a/plugins/tls b/plugins/tls
12 index b690eb6..37fbc9a 100644
13 --- a/plugins/tls
14 +++ b/plugins/tls
15 @@ -143,7 +143,7 @@ sub hook_connect {
16 my ($self, $transaction) = @_;
17
18 my $local_port = $self->qp->connection->local_port;
19 - return DECLINED unless $local_port == 465; # SMTPS
20 + return DECLINED unless defined $local_port && $local_port == 465; # SMTPS
21
22 unless ( _convert_to_ssl($self) ) {
23 return (DENY_DISCONNECT, "Cannot establish SSL session");
24 --
25 1.7.2.2
26

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed