summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/auth.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-03-20 17:10:19 +0000
committerderaadt <deraadt@openbsd.org>2006-03-20 17:10:19 +0000
commit578facecb613f49fafa1f0476abf395e55274f7e (patch)
treeedd3dd3bef978af90c7ab68680d1fdddb88993c4 /usr.bin/ssh/auth.c
parentWhen being verbose while deleting ike rules (-dv), print deletions instead of (diff)
downloadwireguard-openbsd-578facecb613f49fafa1f0476abf395e55274f7e.tar.xz
wireguard-openbsd-578facecb613f49fafa1f0476abf395e55274f7e.zip
in a switch (), break after return or goto is stupid
Diffstat (limited to 'usr.bin/ssh/auth.c')
-rw-r--r--usr.bin/ssh/auth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c
index 14aa65108a2..da28d388a70 100644
--- a/usr.bin/ssh/auth.c
+++ b/usr.bin/ssh/auth.c
@@ -196,7 +196,6 @@ auth_root_allowed(char *method)
switch (options.permit_root_login) {
case PERMIT_YES:
return 1;
- break;
case PERMIT_NO_PASSWD:
if (strcmp(method, "password") != 0)
return 1;