[servconf.c]
     Add comment documenting what should be after the preauth check.  ok djm
This commit is contained in:
Damien Miller 2011-05-20 19:03:49 +10:00
parent 5d74e58e62
commit c2411909c7
2 changed files with 8 additions and 1 deletions

View File

@ -20,6 +20,9 @@
the options TrustedUserCAKeys, RevokedKeysFile, AuthorizedKeysFile
and AuthorizedPrincipalsFile were not being correctly applied in
Match blocks, despite being overridable there; ok dtucker@
- dtucker@cvs.openbsd.org 2011/05/20 02:00:19
[servconf.c]
Add comment documenting what should be after the preauth check. ok djm
20110515
- (djm) OpenBSD CVS Sync

View File

@ -1,4 +1,4 @@
/* $OpenBSD: servconf.c,v 1.216 2011/05/20 00:55:02 djm Exp $ */
/* $OpenBSD: servconf.c,v 1.217 2011/05/20 02:00:19 dtucker Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
@ -1505,6 +1505,10 @@ copy_set_server_options(ServerOptions *dst, ServerOptions *src, int preauth)
M_CP_STROPT(authorized_keys_file);
M_CP_STROPT(authorized_principals_file);
/*
* The only things that should be below this point are string options
* which are only used after authentication.
*/
if (preauth)
return;
M_CP_STROPT(adm_forced_command);