[Bug 1157] ssh-keygen doesn't handle DOS line breaks
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Wed Feb 15 20:06:35 EST 2006
    
    
  
http://bugzilla.mindrot.org/show_bug.cgi?id=1157
------- Comment #6 from dtucker at zip.com.au  2006-02-15 20:06 -------
Created an attachment (id=1070)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1070&action=view)
Make ssh-keygen accept CR, LF or CRLF in keys take 2.
Alright, please try this one.  It's not all that elegant because fgets slurps
the whole thing into the buffer when it doesn't see what it considers a newline
so it seeks back for each subsequent line.
The fgets probably wants replacing with a variant of fgetln that accepts all of
CR, LF and CRLF.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
    
    
More information about the openssh-bugs
mailing list