*/
#include "includes.h"
-RCSID("$OpenBSD: auth-options.c,v 1.24 2002/05/13 20:44:58 markus Exp $");
+RCSID("$OpenBSD: auth-options.c,v 1.26 2002/07/30 17:03:55 markus Exp $");
-#include "packet.h"
#include "xmalloc.h"
#include "match.h"
#include "log.h"
#include "channels.h"
#include "auth-options.h"
#include "servconf.h"
-#include "bufaux.h"
#include "misc.h"
#include "monitor_wrap.h"
#include "auth.h"
goto next_option;
}
cp = "environment=\"";
- if (strncasecmp(opts, cp, strlen(cp)) == 0) {
+ if (options.permit_user_env &&
+ strncasecmp(opts, cp, strlen(cp)) == 0) {
char *s;
struct envstring *new_envstring;