diff options
author | 2003-09-23 20:17:11 +0000 | |
---|---|---|
committer | 2003-09-23 20:17:11 +0000 | |
commit | b8b8936d994927e3a0afdbb493b901039038a5d1 (patch) | |
tree | cb294d035132ecd2afeb1ba6a2bf6281efd34944 /usr.bin/ssh/auth.c | |
parent | simplify by using getifaddrs. cedric@ ok (diff) | |
download | wireguard-openbsd-b8b8936d994927e3a0afdbb493b901039038a5d1.tar.xz wireguard-openbsd-b8b8936d994927e3a0afdbb493b901039038a5d1.zip |
replace fatal_cleanup() and linked list of fatal callbacks with static
cleanup_exit() function. re-refine cleanup_exit() where appropriate,
allocate sshd's authctxt eary to allow simpler cleanup in sshd.
tested by many, ok deraadt@
Diffstat (limited to 'usr.bin/ssh/auth.c')
-rw-r--r-- | usr.bin/ssh/auth.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c index 4b66fa09ae3..6a62e542a67 100644 --- a/usr.bin/ssh/auth.c +++ b/usr.bin/ssh/auth.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth.c,v 1.49 2003/08/26 09:58:43 markus Exp $"); +RCSID("$OpenBSD: auth.c,v 1.50 2003/09/23 20:17:11 markus Exp $"); #include <libgen.h> @@ -153,14 +153,6 @@ allowed_user(struct passwd * pw) return 1; } -Authctxt * -authctxt_new(void) -{ - Authctxt *authctxt = xmalloc(sizeof(*authctxt)); - memset(authctxt, 0, sizeof(*authctxt)); - return authctxt; -} - void auth_log(Authctxt *authctxt, int authenticated, char *method, char *info) { |