[exim-cvs] Testsuite & OpenSSL debug: regularise debug outpu…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] Testsuite & OpenSSL debug: regularise debug output, and fix test munging
Gitweb: https://git.exim.org/exim.git/commitdiff/7e8793815bb43f97a022c6b71850206dbbd5d378
Commit:     7e8793815bb43f97a022c6b71850206dbbd5d378
Parent:     fe192666f5de206b57cbbe07a4d90fd4868ea90b
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Oct 10 18:18:01 2020 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Oct 10 18:18:01 2020 +0100


    Testsuite & OpenSSL debug: regularise debug output, and fix test munging
---
 src/src/tls-openssl.c | 4 ++--
 test/runtest          | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index 050b36c..700b01d 100644
--- a/src/src/tls-openssl.c
+++ b/src/src/tls-openssl.c
@@ -704,12 +704,12 @@ if (Ustrcmp(exp_curve, "auto") == 0)
 #else
 # if defined SSL_CTRL_SET_ECDH_AUTO
   DEBUG(D_tls) debug_printf(
-    "ECDH OpenSSL 1.0.2+ temp key parameter settings: autoselection\n");
+    "ECDH OpenSSL 1.0.2+: temp key parameter settings: autoselection\n");
   SSL_CTX_set_ecdh_auto(sctx, 1);
   return TRUE;
 # else
   DEBUG(D_tls) debug_printf(
-    "ECDH OpenSSL 1.1.0+ temp key parameter settings: default selection\n");
+    "ECDH OpenSSL 1.1.0+: temp key parameter settings: default selection\n");
   return TRUE;
 # endif
 #endif
diff --git a/test/runtest b/test/runtest
index a6ae284..cd4b7a2 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1074,8 +1074,8 @@ RESET_AFTER_EXTRA_LINE_READ:
     # only OpenSSL speaks of these
     next if /^TLS: preloading (DH params|ECDH curve|CA bundle) for server/;
     next if /^Diffie-Hellman initialized from default/;
-    next if /^ECDH OpenSSL [< ]?[\d.+]+ temp key parameter settings:/;
-    next if /^ECDH: .'*prime256v1'/;
+    next if /^ECDH OpenSSL (< )?[\d.+]+: temp key parameter settings:/;
+    next if /^ECDH: .*'prime256v1'/;
     next if /^tls_verify_certificates: system$/;
     next if /^tls_set_watch: .*\/cert.pem/;