-/* $OpenBSD: hostfile.c,v 1.88 2021/01/26 00:49:30 djm Exp $ */
+/* $OpenBSD: hostfile.c,v 1.89 2021/01/26 00:51:30 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
#include "hmac.h"
#include "sshbuf.h"
-struct hostkeys {
- struct hostkey_entry *entries;
- u_int num_entries;
-};
-
/* XXX hmac is too easy to dictionary attack; use bcrypt? */
static int
-/* $OpenBSD: hostfile.h,v 1.28 2020/12/20 23:36:51 djm Exp $ */
+/* $OpenBSD: hostfile.h,v 1.29 2021/01/26 00:51:30 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
HostkeyMarker marker;
u_int note; /* caller-specific note/flag */
};
-struct hostkeys;
+struct hostkeys {
+ struct hostkey_entry *entries;
+ u_int num_entries;
+};
struct hostkeys *init_hostkeys(void);
void load_hostkeys(struct hostkeys *, const char *,