summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth2.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-02-22 21:59:45 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-02-22 21:59:45 +0000
commitc53bea2d689b27f3ff0de5586bf6463b04abb457 (patch)
tree7a884e1364a1d8acadc4b8752286292396a344d8 /usr.bin/ssh/auth2.c
parentdea01b6e7f0865d98a3de5f0818d2d09b8987f0f (diff)
use pwcopy in ssh.c, too
Diffstat (limited to 'usr.bin/ssh/auth2.c')
-rw-r--r--usr.bin/ssh/auth2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index a9c7cb3bd59..380c607b54f 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/auth2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.42 2001/02/13 22:49:40 markus Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.43 2001/02/22 21:59:44 markus Exp $");
#include <openssl/evp.h>
@@ -47,6 +47,7 @@ RCSID("$OpenBSD: auth2.c,v 1.42 2001/02/13 22:49:40 markus Exp $");
#include "pathnames.h"
#include "uidswap.h"
#include "auth-options.h"
+#include "misc.h"
/* import */
extern ServerOptions options;
@@ -71,7 +72,6 @@ void protocol_error(int type, int plen, void *ctxt);
/* helper */
Authmethod *authmethod_lookup(const char *name);
-struct passwd *pwcopy(struct passwd *pw);
int user_key_allowed(struct passwd *pw, Key *key);
char *authmethods_get(void);