]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Remove the list of key algorithms in pageant.c.
authorSimon Tatham <anakin@pobox.com>
Thu, 7 May 2015 18:57:46 +0000 (19:57 +0100)
committerSimon Tatham <anakin@pobox.com>
Thu, 7 May 2015 18:59:07 +0000 (19:59 +0100)
commit1f4dc6faa7e371cc2c43464006c1b46fecb8987d
tree0f9102281e10990d5d630d1216f84399a5196aeb
parent47c9a6ef0bda6bed52f1c37ff4f8ef98734d349a
Remove the list of key algorithms in pageant.c.

The only reason those couldn't be replaced with a call to the
centralised find_pubkey_alg is because that function takes a zero-
terminated string and instead we had a (length,pointer) string. Easily
fixed; there's now a find_pubkey_alg_len(), and we call that.

This also fixes a string-matching bug in which the sense of memcmp was
reversed by mistake for ECDSA keys!
pageant.c
ssh.h
sshpubk.c