From 3305f5591f7a1b17565a1f13683d0b20287130c3 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sun, 26 Mar 2006 14:00:31 +1100 Subject: - deraadt@cvs.openbsd.org 2006/03/19 18:59:09 [authfile.c] whoever thought that break after return was a good idea needs to get their head examimed --- authfile.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'authfile.c') diff --git a/authfile.c b/authfile.c index d529c8340..55c66d1e3 100644 --- a/authfile.c +++ b/authfile.c @@ -213,12 +213,10 @@ key_save_private(Key *key, const char *filename, const char *passphrase, case KEY_RSA1: return key_save_private_rsa1(key, filename, passphrase, comment); - break; case KEY_DSA: case KEY_RSA: return key_save_private_pem(key, filename, passphrase, comment); - break; default: break; } @@ -556,13 +554,11 @@ key_load_private_type(int type, const char *filename, const char *passphrase, return key_load_private_rsa1(fd, filename, passphrase, commentp); /* closes fd */ - break; case KEY_DSA: case KEY_RSA: case KEY_UNSPEC: return key_load_private_pem(fd, type, passphrase, commentp); /* closes fd */ - break; default: close(fd); break; -- cgit v1.2.3