summaryrefslogtreecommitdiffhomepage
path: root/auth.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-08-26 14:09:22 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-08-26 14:09:22 +0000
commit4b1f9e50f27d8bcd36479cb837fdb9711fc41951 (patch)
treeb0cbb9d0796dd6c64513a38df3806e213547cc29 /auth.h
parent0b500104362142bac828ae62ac15ff15211288f8 (diff)
- set $SSH_ORIGINAL_COMMAND if a command is forced, and log it
if LOG_COMMANDS is set --HG-- extra : convert_revision : d9e8aa0ecbe7607285fa4f96f0d6f9b1523719d8
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/auth.h b/auth.h
index 115000a..7ebf9ae 100644
--- a/auth.h
+++ b/auth.h
@@ -99,7 +99,6 @@ void cli_auth_pubkey_cleanup();
* relatively little extraneous bits when used for the client rather than the
* server */
struct AuthState {
-
char *username; /* This is the username the client presents to check. It
is updated each run through, used for auth checking */
unsigned char authtypes; /* Flags indicating which auth types are still
@@ -122,7 +121,6 @@ struct AuthState {
#ifdef ENABLE_SVR_PUBKEY_OPTIONS
struct PubKeyOptions* pubkey_options;
#endif
-
};
#ifdef ENABLE_SVR_PUBKEY_OPTIONS
@@ -135,7 +133,7 @@ struct PubKeyOptions {
int no_pty_flag;
/* "command=" option. */
unsigned char * forced_command;
-
+ unsigned char * original_command;
};
#endif