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)
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 94f43a6c2..d82b40683 100644
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.c,v 1.136 2019/01/19 21:31:32 djm Exp $ */ 1/* $OpenBSD: auth.c,v 1.137 2019/01/19 21:37:48 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -572,8 +572,9 @@ getpwnamallow(const char *user)
572#endif 572#endif
573#endif 573#endif
574 struct passwd *pw; 574 struct passwd *pw;
575 struct connection_info *ci = get_connection_info(1, options.use_dns); 575 struct connection_info *ci;
576 576
577 ci = get_connection_info(ssh, 1, options.use_dns);
577 ci->user = user; 578 ci->user = user;
578 parse_server_match_config(&options, ci); 579 parse_server_match_config(&options, ci);
579 log_change_level(options.log_level); 580 log_change_level(options.log_level);