diff options
author | 2006-03-19 18:59:09 +0000 | |
---|---|---|
committer | 2006-03-19 18:59:09 +0000 | |
commit | c9cfe3bf8f1d8c0fe17532651f736327915a70d2 (patch) | |
tree | b404339f3b66396d31a44b4a46e55f03c6aba286 /usr.bin/ssh/authfile.c | |
parent | ARGSUSED for signal handlers (diff) | |
download | wireguard-openbsd-c9cfe3bf8f1d8c0fe17532651f736327915a70d2.tar.xz wireguard-openbsd-c9cfe3bf8f1d8c0fe17532651f736327915a70d2.zip |
whoever thought that break after return was a good idea needs to get their head examimed
Diffstat (limited to 'usr.bin/ssh/authfile.c')
-rw-r--r-- | usr.bin/ssh/authfile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.bin/ssh/authfile.c b/usr.bin/ssh/authfile.c index c59a9e0574d..06598489538 100644 --- a/usr.bin/ssh/authfile.c +++ b/usr.bin/ssh/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; } @@ -553,13 +551,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; |