simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Thu Jan 3 23:56:44 GMT 2019


TL;DR:
  188e2525 Move defn of PLATFORM_HAS_SMEMCLR into defs.h.
  40e18d98 cryptsuite: add another test I missed.

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-03 23:56:44

commit 188e2525c77f045381d0c97ca77ac937a05047e4
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=188e2525c77f045381d0c97ca77ac937a05047e4;hp=e1627db3e528a457102dc5a35c530edbad6f4ea4
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Jan 3 23:28:53 2019 +0000

    Move defn of PLATFORM_HAS_SMEMCLR into defs.h.
    
    After I moved parts of misc.c into utils.c, we started getting two
    versions of smemclr in the Windows builds, because utils.c didn't know
    to omit its one, having not included the main putty.h.
    
    But it was deliberate that utils.c didn't include putty.h, because I
    wanted it (along with the rest of testcrypt in particular) to be
    portable to unusual platforms without having to port the whole of the
    code base.
    
    So I've moved into the ubiquitous defs.h just the one decision about
    whether we're on a platform that will supersede utils.c's definition
    of smemclr.
    
    (Also, in the process of moving it, I've removed the clause that
    disabled the Windows smemclr in winelib mode, because it looks as if
    the claim that winelib doesn't have SecureZeroMemory is now out of
    date.)

 defs.h             | 28 ++++++++++++++++++++++++++++
 windows/winstuff.h |  8 --------
 2 files changed, 28 insertions(+), 8 deletions(-)

commit 40e18d98edfa1660cd77aa1b32ed2270e0a493e2
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=40e18d98edfa1660cd77aa1b32ed2270e0a493e2;hp=188e2525c77f045381d0c97ca77ac937a05047e4
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Jan 3 23:42:50 2019 +0000

    cryptsuite: add another test I missed.
    
    I just found a file lying around in a different source directory that
    contained a test case I'd had trouble with last week, so now I've
    recovered it, it ought to go in the test suite as a regression test.

 test/cryptsuite.py | 8 ++++++++
 1 file changed, 8 insertions(+)



More information about the tartarus-commits mailing list