simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Jan 6 22:01:13 GMT 2019


TL;DR:
  f5576b26 testcrypt: add an -o option.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2019-01-06 22:01:13

commit f5576b26c3a593a72f333f42e69f38129d7c13b2
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=f5576b26c3a593a72f333f42e69f38129d7c13b2;hp=6fc50d402e74dcf2de71a64785ddc4d79856127e
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Jan 6 21:44:57 2019 +0000

    testcrypt: add an -o option.
    
    This enables me to control where testcrypt both reads its input and
    writes its output. That in turn makes it convenient to run testcrypt
    itself in a separate Unix terminal window from its client Python, by
    making two named pipe files (say, 'i' and 'o'), running the client
    with PUTTY_TESTCRYPT="cat o & cat > i" in its environment, and in
    another window, running 'testcrypt -o o i'.
    
    And that in turn makes it easy to attach gdb to testcrypt, so I can
    easily debug its handling of whatever request the client sent.

 testcrypt.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 51 insertions(+), 10 deletions(-)



More information about the tartarus-commits mailing list