]> asedeno.scripts.mit.edu Git - PuTTY_svn.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)
commit291f53136e33e73cfce5147b72a90ede5deeba51
tree96427cd6578595487fba8395bc17528b18013578
parent4a9d0dc4f5d8e713bf7018ccdd363e9bd34792ef
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.)

git-svn-id: http://svn.tartarus.org/sgt/putty@9926 cda61777-01e9-0310-a592-d414129be87e
sshpubk.c