Idiot me! store_host_key() was blindly _appending_ new host keys to
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 17 Jan 2004 13:00:18 +0000 (13:00 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 17 Jan 2004 13:00:18 +0000 (13:00 +0000)
commitbe57bcef59397cfc1264736f14776e13e321a66c
tree40d5245a3e189b2362e340b32785e5c8dcf765bd
parent4dee460f19582a5707e42eb1aa2025f29c7b9d8c
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@3719 cda61777-01e9-0310-a592-d414129be87e
unix/uxstore.c