simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed Mar 20 13:30:57 GMT 2019


TL;DR:
  6ce6fe57 Use the SELECT_* enum for a few more uxsel flags.
  582284fa Fix generation of one-bit-short RSA keys.
  f6d1fef2 Handle <limits.h> not defining PIPE_BUF.

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-03-20 13:30:57

commit 6ce6fe57127d39730694684a6ed6026b051d552e
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=6ce6fe57127d39730694684a6ed6026b051d552e;hp=867e69187456b7b8a0c8d993d7d9c4963e15b0ca
Author: Colin Watson <cjwatson at debian.org>
Date:   Wed Mar 20 10:50:44 2019 +0000

    Use the SELECT_* enum for a few more uxsel flags.
    
    This cleans up some spots that were missed in 47202c4e16.

 unix/gtkcomm.c | 12 ++++++------
 unix/uxser.c   |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

commit 582284fa6c27dc30484789a803ab968beea2a5a3
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=582284fa6c27dc30484789a803ab968beea2a5a3;hp=6ce6fe57127d39730694684a6ed6026b051d552e
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Mar 20 11:50:45 2019 +0000

    Fix generation of one-bit-short RSA keys.
    
    I carefully tested commit 801ab68ea's rewrite of invent_firstbits in
    every way I could think of to ensure that I really was generating two
    values whose product was at least 'minproduct'. But unfortunately the
    value of 'minproduct' itself was off by a factor of two, which made
    the entire system pointless!

 sshprime.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit f6d1fef2d7177863b018fa2210a7869375256029
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=f6d1fef2d7177863b018fa2210a7869375256029;hp=582284fa6c27dc30484789a803ab968beea2a5a3
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Mar 20 13:09:34 2019 +0000

    Handle <limits.h> not defining PIPE_BUF.
    
    According to POSIX, this can legally not be defined 'where the [...]
    value is equal to or greater than the stated minimum, but where the
    value can vary depending on the file to which it is applied'. So if
    limits.h hasn't defined PIPE_BUF, we define it ourself to the stated
    minimum, to wit, _POSIX_PIPE_BUF.
    
    Apparently it is actually undefined by <limits.h> on GNU/Hurd: Debian
    has been carrying this patch downstream for that reason.

 unix/uxshare.c | 3 +++
 1 file changed, 3 insertions(+)



More information about the tartarus-commits mailing list