simon-git: putty (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sat May 2 15:29:14 BST 2015


TL;DR:
  6b30316 Use find_pubkey_alg in openssh_read_new().

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-05-02 15:29:14

commit 6b303169225f9e3ce62dd90445be61865af9b104
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=6b303169225f9e3ce62dd90445be61865af9b104;hp=7cfa9f46270c4fa4e2b05b7a90ebd6a89d0ba460
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat May 2 15:11:41 2015 +0100

    Use find_pubkey_alg in openssh_read_new().
    
    This is better than listing all the algorithm names in yet another
    place that will then need updating when a new key format is added.
    However, that also means I need to find a new place to put the
    'npieces' value I was previously setting up differently per key type;
    since that's a fundamental property of the key format, I've moved it
    to a constant field in the ssh_signkey structure, and filled that
    field in for all the existing key types with the values from the
    replaced code in openssh_read_new().

 import.c |   34 ++++++++++++----------------------
 ssh.h    |    9 +++++++++
 sshdss.c |    1 +
 sshecc.c |    3 +++
 sshrsa.c |    1 +
 5 files changed, 26 insertions(+), 22 deletions(-)



More information about the tartarus-commits mailing list