Daniel-Constantin Mierla
2021-05-26 06:30:59 UTC
Content preview: Module: kamailio Branch: 5.4 Commit: 078c6f861fc52c28546dae5ce335002e5d5df99f
URL: https://github.com/kamailio/kamailio/commit/078c6f861fc52c28546dae5ce335002e5d5df99f
Author: Daniel-Constantin Mierla <***@gmail.com> Committer: Daniel-Constantin
Mierla <***@gmail.com> Date: 2021-05-26T08:26:26+02:00
Content analysis details: (-2.4 points, 5.5 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (miconda[at]gmail.com)
0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is
CUSTOM_MED
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
mail domains are different
0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
EnvelopeFrom freemail headers are
different
-1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list
manager
Module: kamailio
Branch: 5.4
Commit: 078c6f861fc52c28546dae5ce335002e5d5df99f
URL: https://github.com/kamailio/kamailio/commit/078c6f861fc52c28546dae5ce335002e5d5df99f
Author: Daniel-Constantin Mierla <***@gmail.com>
Committer: Daniel-Constantin Mierla <***@gmail.com>
Date: 2021-05-26T08:26:26+02:00
tls: declare variable based on SSL_CTX_set_ecdh_auto
- fix unused variable warning introduced in previous commit
(cherry picked from commit 41b5e9473d79409712d46fdbb5a0b943ab880aa7)
(cherry picked from commit 52c7d2f4d6704c7ea232808110fc09c17c90c4db)
---
Modified: src/modules/tls/tls_domain.c
---
Diff: https://github.com/kamailio/kamailio/commit/078c6f861fc52c28546dae5ce335002e5d5df99f.diff
Patch: https://github.com/kamailio/kamailio/commit/078c6f861fc52c28546dae5ce335002e5d5df99f.patch
---
diff --git a/src/modules/tls/tls_domain.c b/src/modules/tls/tls_domain.c
index 22897075c7..7ad847d2e4 100644
--- a/src/modules/tls/tls_domain.c
+++ b/src/modules/tls/tls_domain.c
@@ -63,7 +63,9 @@ extern EVP_PKEY * tls_engine_private_key(const char* key_id);
#if !defined(OPENSSL_NO_ECDH) && !defined(OPENSSL_VERSION_1_1)
static void setup_ecdh(SSL_CTX *ctx)
{
+#if !defined(SSL_CTX_set_ecdh_auto)
EC_KEY *ecdh;
+#endif
if (SSLeay() < 0x1000005fL) {
return;
URL: https://github.com/kamailio/kamailio/commit/078c6f861fc52c28546dae5ce335002e5d5df99f
Author: Daniel-Constantin Mierla <***@gmail.com> Committer: Daniel-Constantin
Mierla <***@gmail.com> Date: 2021-05-26T08:26:26+02:00
Content analysis details: (-2.4 points, 5.5 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (miconda[at]gmail.com)
0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is
CUSTOM_MED
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
mail domains are different
0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
EnvelopeFrom freemail headers are
different
-1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list
manager
Module: kamailio
Branch: 5.4
Commit: 078c6f861fc52c28546dae5ce335002e5d5df99f
URL: https://github.com/kamailio/kamailio/commit/078c6f861fc52c28546dae5ce335002e5d5df99f
Author: Daniel-Constantin Mierla <***@gmail.com>
Committer: Daniel-Constantin Mierla <***@gmail.com>
Date: 2021-05-26T08:26:26+02:00
tls: declare variable based on SSL_CTX_set_ecdh_auto
- fix unused variable warning introduced in previous commit
(cherry picked from commit 41b5e9473d79409712d46fdbb5a0b943ab880aa7)
(cherry picked from commit 52c7d2f4d6704c7ea232808110fc09c17c90c4db)
---
Modified: src/modules/tls/tls_domain.c
---
Diff: https://github.com/kamailio/kamailio/commit/078c6f861fc52c28546dae5ce335002e5d5df99f.diff
Patch: https://github.com/kamailio/kamailio/commit/078c6f861fc52c28546dae5ce335002e5d5df99f.patch
---
diff --git a/src/modules/tls/tls_domain.c b/src/modules/tls/tls_domain.c
index 22897075c7..7ad847d2e4 100644
--- a/src/modules/tls/tls_domain.c
+++ b/src/modules/tls/tls_domain.c
@@ -63,7 +63,9 @@ extern EVP_PKEY * tls_engine_private_key(const char* key_id);
#if !defined(OPENSSL_NO_ECDH) && !defined(OPENSSL_VERSION_1_1)
static void setup_ecdh(SSL_CTX *ctx)
{
+#if !defined(SSL_CTX_set_ecdh_auto)
EC_KEY *ecdh;
+#endif
if (SSLeay() < 0x1000005fL) {
return;