summaryrefslogtreecommitdiff
path: root/hostfile.c
diff options
context:
space:
mode:
authordtucker <dtucker>2005-03-14 12:08:12 +0000
committerdtucker <dtucker>2005-03-14 12:08:12 +0000
commit08507217c4569818c712b66fb441475a1a7a4ab0 (patch)
treeb8f1e3d0a7e7566dfbc048e892d5dfc15346cae8 /hostfile.c
parent0e6ab7ea4c4d927fc0d84d980ea3c7e1dca5c601 (diff)
downloadopenssh-08507217c4569818c712b66fb441475a1a7a4ab0.tar.gz
- deraadt@cvs.openbsd.org 2005/03/10 22:01:05
[misc.c ssh-keygen.c servconf.c clientloop.c auth-options.c ssh-add.c monitor.c sftp-client.c bufaux.h hostfile.c ssh.c sshconnect.c channels.c readconf.c bufaux.c sftp.c] spacing
Diffstat (limited to 'hostfile.c')
-rw-r--r--hostfile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hostfile.c b/hostfile.c
index 2e1c8bcd..bf2a31c9 100644
--- a/hostfile.c
+++ b/hostfile.c
@@ -36,7 +36,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: hostfile.c,v 1.33 2005/03/01 10:40:26 djm Exp $");
+RCSID("$OpenBSD: hostfile.c,v 1.34 2005/03/10 22:01:05 deraadt Exp $");
#include <resolv.h>
#include <openssl/hmac.h>
@@ -92,7 +92,7 @@ extract_salt(const char *s, u_int l, char *salt, size_t salt_len)
salt_len, ret);
return (-1);
}
-
+
return (0);
}
@@ -123,7 +123,7 @@ host_hash(const char *host, const char *name_from_hostfile, u_int src_len)
HMAC_Final(&mac_ctx, result, NULL);
HMAC_cleanup(&mac_ctx);
- if (__b64_ntop(salt, len, uu_salt, sizeof(uu_salt)) == -1 ||
+ if (__b64_ntop(salt, len, uu_salt, sizeof(uu_salt)) == -1 ||
__b64_ntop(result, len, uu_result, sizeof(uu_result)) == -1)
fatal("host_hash: __b64_ntop failed");
@@ -310,7 +310,7 @@ lookup_key_in_hostfile_by_type(const char *filename, const char *host,
*/
int
-add_host_to_hostfile(const char *filename, const char *host, const Key *key,
+add_host_to_hostfile(const char *filename, const char *host, const Key *key,
int store_hash)
{
FILE *f;