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

Contents of /rpms/qpsmtpd/sme10/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)
Sun Feb 7 20:49:54 2016 UTC (8 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: qpsmtpd-0_96-19_el7_sme, qpsmtpd-0_96-12_el7_sme, qpsmtpd-0_96-11_el7_sme, qpsmtpd-0_96-16_el7_sme, qpsmtpd-0_96-13_el7_sme, qpsmtpd-0_96-6_el7_sme, qpsmtpd-0_96-18_el7_sme, qpsmtpd-0_96-23_el7_sme, qpsmtpd-0_96-20_el7_sme, qpsmtpd-0_84-20_el7_sme, qpsmtpd-0_96-17_el7_sme, qpsmtpd-0_96-8_el7_sme, qpsmtpd-0_96-5_el7_sme, qpsmtpd-0_96-2_el7_sme, qpsmtpd-0_96-21_el7_sme, qpsmtpd-0_96-22_el7_sme, qpsmtpd-0_96-14_el7_sme, qpsmtpd-0_96-15_el7_sme, qpsmtpd-0_96-9_el7_sme, qpsmtpd-0_96-4_el7_sme, qpsmtpd-0_96-1_el7_sme, qpsmtpd-0_96-3_el7_sme, qpsmtpd-0_84-18_el7_sme, qpsmtpd-0_96-10_el7_sme, qpsmtpd-0_84-19_el7_sme, HEAD
* Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 0.84-18.sme
- Build new rpm for sme10

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