summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-01-19 21:37:48 +0000
committerDamien Miller <djm@mindrot.org>2019-01-20 09:02:44 +1100
commit172a592a53ebe8649c4ac0d7946e6c08eb151af6 (patch)
treef7279c9f91927cc1c8517ebc61cccba00a29e4bb /auth.c
parent8cc7a679d29cf6ecccfa08191e688c7f81ef95c2 (diff)
downloadopenssh-git-172a592a53ebe8649c4ac0d7946e6c08eb151af6.tar.gz
upstream: convert servconf.c to new packet API
with & ok markus@ OpenBSD-Commit-ID: 126553aecca302c9e02fd77e333b9cb217e623b4
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth.c b/auth.c
index 94f43a6c..d82b4068 100644
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.136 2019/01/19 21:31:32 djm Exp $ */
+/* $OpenBSD: auth.c,v 1.137 2019/01/19 21:37:48 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -572,8 +572,9 @@ getpwnamallow(const char *user)
#endif
#endif
struct passwd *pw;
- struct connection_info *ci = get_connection_info(1, options.use_dns);
+ struct connection_info *ci;
+ ci = get_connection_info(ssh, 1, options.use_dns);
ci->user = user;
parse_server_match_config(&options, ci);
log_change_level(options.log_level);