diff options
author | Begley Brothers Inc <begleybrothers@gmail.com> | 2020-07-09 17:51:07 +1000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2022-03-30 13:52:04 +0800 |
commit | 8b202f86e287aac01aa7e1d7f908062fd1b8f40c (patch) | |
tree | 4d9d974ce9d088804e8eb17c3acc73eadc56d089 /common-runopts.c | |
parent | f4be5a3c8b59758e247de3e3d26838cd5563f7b0 (diff) | |
download | dropbear-8b202f86e287aac01aa7e1d7f908062fd1b8f40c.tar.gz |
Default options comments, ignore localoptions.h
Also trim whitespaces.
Signed-off-by: Begley Brothers Inc <begleybrothers@gmail.com>
Diffstat (limited to 'common-runopts.c')
-rw-r--r-- | common-runopts.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/common-runopts.c b/common-runopts.c index 8473856..37f153c 100644 --- a/common-runopts.c +++ b/common-runopts.c @@ -1,19 +1,19 @@ /* * Dropbear - a SSH2 server - * + * * Copyright (c) 2002,2003 Matt Johnston * All rights reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -35,7 +35,7 @@ runopts opts; /* GLOBAL */ /* returns success or failure, and the keytype in *type. If we want * to restrict the type, type can contain a type to return */ -int readhostkey(const char * filename, sign_key * hostkey, +int readhostkey(const char * filename, sign_key * hostkey, enum signkey_type *type) { int ret = DROPBEAR_FAILURE; @@ -116,4 +116,3 @@ void parse_recv_window(const char* recv_window_arg) { } } - |