|
|
@ -2,8 +2,8 @@ |
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Filename: package/.../libdkim/fix-warnings.patch
|
|
|
|
# Filename: package/.../libdkim/fix_warnings.patch
|
|
|
|
# Copyright (C) 2009 The OpenSDE Project
|
|
|
|
# Copyright (C) 2013 The OpenSDE Project
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -291,17 +291,6 @@ diff -ru libdkim-1.0.19.orig/src/dkimverify.cpp libdkim-1.0.19/src/dkimverify.cp |
|
|
|
{
|
|
|
|
{
|
|
|
|
if (values[j] != NULL && values[j] < values[0])
|
|
|
|
if (values[j] != NULL && values[j] < values[0])
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@@ -1411,8 +1411,8 @@
|
|
|
|
|
|
|
|
return DKIM_POLICY_DNS_PERM_FAILURE;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- unsigned pos = sDomain.find('.');
|
|
|
|
|
|
|
|
- if (pos == -1 || sDomain.find('.', pos+1) == -1)
|
|
|
|
|
|
|
|
+ string::size_type pos = sDomain.find('.');
|
|
|
|
|
|
|
|
+ if (pos == string::npos || sDomain.find('.', pos+1) == string::npos)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
// SSP not found but the domain exists, it's non-suspicious
|
|
|
|
|
|
|
|
iSSP = DKIM_SSP_UNKNOWN;
|
|
|
|
|
|
|
|
diff -ru libdkim-1.0.19.orig/src/libdkimtest.cpp libdkim-1.0.19/src/libdkimtest.cpp
|
|
|
|
diff -ru libdkim-1.0.19.orig/src/libdkimtest.cpp libdkim-1.0.19/src/libdkimtest.cpp
|
|
|
|
--- ./libdkimtest.cpp 2008-05-12 20:08:54.000000000 +1000
|
|
|
|
--- ./libdkimtest.cpp 2008-05-12 20:08:54.000000000 +1000
|
|
|
|
+++ ./libdkimtest.cpp 2009-04-15 19:38:08.000000000 +1000
|
|
|
|
+++ ./libdkimtest.cpp 2009-04-15 19:38:08.000000000 +1000
|