Mercurial > dropbear
diff common-runopts.c @ 1922:70f05f7d4d11
Default options comments, ignore localoptions.h
Also trim whitespaces.
Signed-off-by: Begley Brothers Inc <[email protected]>
author | Begley Brothers Inc <begleybrothers@gmail.com> |
---|---|
date | Thu, 09 Jul 2020 17:51:07 +1000 |
parents | 8b4274d34fe8 |
children | 4528afefe45d |
line wrap: on
line diff
--- a/common-runopts.c Thu Jul 09 17:47:58 2020 +1000 +++ b/common-runopts.c Thu Jul 09 17:51:07 2020 +1000 @@ -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 @@ /* 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 @@ } } -