summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 14:03:21 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 14:03:21 +1100
commit6d39bcf898f2cf296333590330a2d945f2f123a4 (patch)
treecddce89df899158f92f0e9a88810ee3cf93fac6f
parentbbaad7772a1d6f2c1d997e7bb15a92c5128d3863 (diff)
- deraadt@cvs.openbsd.org 2006/03/20 17:17:23
[ssh-rsa.c] in a switch (), break after return or goto is stupid
-rw-r--r--ChangeLog5
-rw-r--r--ssh-rsa.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0fa66c96e..efe73053f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -71,6 +71,9 @@
71 - deraadt@cvs.openbsd.org 2006/03/20 17:13:16 71 - deraadt@cvs.openbsd.org 2006/03/20 17:13:16
72 [key.c] 72 [key.c]
73 djm did a typo 73 djm did a typo
74 - deraadt@cvs.openbsd.org 2006/03/20 17:17:23
75 [ssh-rsa.c]
76 in a switch (), break after return or goto is stupid
74 77
7520060325 7820060325
76 - OpenBSD CVS Sync 79 - OpenBSD CVS Sync
@@ -4328,4 +4331,4 @@
4328 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 4331 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
4329 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 4332 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
4330 4333
4331$Id: ChangeLog,v 1.4261 2006/03/26 03:03:03 djm Exp $ 4334$Id: ChangeLog,v 1.4262 2006/03/26 03:03:21 djm Exp $
diff --git a/ssh-rsa.c b/ssh-rsa.c
index 48607c4fb..1520d7e1d 100644
--- a/ssh-rsa.c
+++ b/ssh-rsa.c
@@ -219,7 +219,6 @@ openssh_RSA_verify(int type, u_char *hash, u_int hashlen,
219 break; 219 break;
220 default: 220 default:
221 goto done; 221 goto done;
222 break;
223 } 222 }
224 if (hashlen != hlen) { 223 if (hashlen != hlen) {
225 error("bad hashlen"); 224 error("bad hashlen");