[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Fri Apr 28 12:58:56 UTC 2017


The branch master has been updated
       via  46d5e2b42e00ec392bf3326743519bc25136db09 (commit)
      from  f2150cd74f45d49545d0787725f99723642b7c2c (commit)


- Log -----------------------------------------------------------------
commit 46d5e2b42e00ec392bf3326743519bc25136db09
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)

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

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 aaef753..a826cb5 100644
--- a/util/TLSProxy/Proxy.pm
+++ b/util/TLSProxy/Proxy.pm
@@ -171,6 +171,9 @@ sub start
         if ($self->serverflags ne "") {
             $execcmd .= " ".$self->serverflags;
         }
+        if ($self->debug) {
+            print STDERR "Server command: $execcmd\n";
+        }
         exec($execcmd);
     }
     $self->serverpid($pid);
@@ -232,6 +235,9 @@ sub clientstart
             if (defined $self->sessionfile) {
                 $execcmd .= " -ign_eof";
             }
+            if ($self->debug) {
+                print STDERR "Client command: $execcmd\n";
+            }
             exec($execcmd);
         }
     }


More information about the openssl-commits mailing list