Greater leniency when importing private key files: accept both CRLF
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 7 Jan 2007 14:20:28 +0000 (14:20 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 7 Jan 2007 14:20:28 +0000 (14:20 +0000)
commit6ca3d5c624967e03f407f4ebf59c7a762cec71a5
tree27db8b3f6e069a9267c3913c19b676a9140d1385
parent56f8ea286cc6f0cc37b934c7c77e305f6d631f1a
Greater leniency when importing private key files: accept both CRLF
and LF, and don't object if the final line of the key lacks a
newline. Also, while I'm here, switch to using fgetline() throughout
so as not to have to do nasty buffer-size ad-hockery.

git-svn-id: svn://svn.tartarus.org/sgt/putty@7072 cda61777-01e9-0310-a592-d414129be87e
import.c