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

Contents of /rpms/qpsmtpd/sme8/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 Nov 14 20:50:20 2010 UTC (13 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: qpsmtpd-0_84-3_el5_sme, qpsmtpd-0_84-6_el5_sme, qpsmtpd-0_84-2_el5_sme, qpsmtpd-0_84-5_el5_sme, qpsmtpd-0_84-8_el5_sme, qpsmtpd-0_84-9_el5_sme, qpsmtpd-0_84-4_el5_sme, qpsmtpd-0_84-7_el5_sme, HEAD
* Sun Nov 14 2010 <slords@mail.com> 0.84-2.sme
- Sync with upstream git repo.
- Fix require_resolvable_fromhost doesn't work [SME: 6369]
- Fix TLS security defaults [SME: 6366]
- Fix fatal errors when mail has no headers [SME: 6345]

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