[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Richard Levitte levitte at openssl.org
Fri Apr 28 13:00:51 UTC 2017


The branch OpenSSL_1_1_0-stable has been updated
       via  af50d454f9914a7c5864832087ea73caff1b4aae (commit)
      from  4fc3523f9e00c9ffc1a7c674487ac2efd5e6af43 (commit)


- Log -----------------------------------------------------------------
commit af50d454f9914a7c5864832087ea73caff1b4aae
Author: Richard Levitte <levitte at openssl.org>
Date:   Fri Apr 28 09:20:05 2017 +0200

    TLSProxy: When in debug mode, show the exact subprocess commands
    
    When you want to debug a test that goes wrong, it's useful to know
    exactly what subprocess commands are run.
    
    Reviewed-by: Andy Polyakov <appro at openssl.org>
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/3342)
    (cherry picked from commit 46d5e2b42e00ec392bf3326743519bc25136db09)

-----------------------------------------------------------------------

Summary of changes:
 util/TLSProxy/Proxy.pm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/util/TLSProxy/Proxy.pm b/util/TLSProxy/Proxy.pm
index d025075..bdb2cd8 100644
--- a/util/TLSProxy/Proxy.pm
+++ b/util/TLSProxy/Proxy.pm
@@ -159,6 +159,9 @@ sub start
         if ($self->serverflags ne "") {
             $execcmd .= " ".$self->serverflags;
         }
+        if ($self->debug) {
+            print STDERR "Server command: $execcmd\n";
+        }
         exec($execcmd);
     }
     $self->serverpid($pid);
@@ -217,6 +220,9 @@ sub clientstart
             if ($self->clientflags ne "") {
                 $execcmd .= " ".$self->clientflags;
             }
+            if ($self->debug) {
+                print STDERR "Client command: $execcmd\n";
+            }
             exec($execcmd);
         }
     }


More information about the openssl-commits mailing list