]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Idiot me! store_host_key() was blindly _appending_ new host keys to
authorSimon Tatham <anakin@pobox.com>
Sat, 17 Jan 2004 13:00:18 +0000 (13:00 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 17 Jan 2004 13:00:18 +0000 (13:00 +0000)
commit276c8335afc21dbc809fb8fedf2c4d80421352b3
tree40d5245a3e189b2362e340b32785e5c8dcf765bd
parent2817a7e1507f93fdfb9783edb2b13e42fec1d5af
Idiot me! store_host_key() was blindly _appending_ new host keys to
the end of the host key file. This is perfectly all right if a host
key never changes, but it's completely useless if you need to
replace an existing entry. This version should do better.

[originally from svn r3719]
unix/uxstore.c