]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Remove a redundant while-loop condition when reading RFC822-style
authorSimon Tatham <anakin@pobox.com>
Sun, 14 Jul 2013 10:46:55 +0000 (10:46 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 14 Jul 2013 10:46:55 +0000 (10:46 +0000)
commit16d62f6d94a449d04120ae35eb42796fe5b8bc57
tree96427cd6578595487fba8395bc17528b18013578
parent3692a585f72a2899b979fcd24f4c6d95363df41c
Remove a redundant while-loop condition when reading RFC822-style
header text from a PuTTY key file.

(It's silly to have both while (len > 0) at the top of the loop _and_
an if (len == 0) return in the middle, and in fact the former was the
erroneous one since it would have prohibited a 39-character header,
which I intended to be permitted.)

[originally from svn r9926]
sshpubk.c