commit some forgotten changes

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10809 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-01-18 12:58:49 +00:00
parent a574aa640b
commit e262f873e5
3 changed files with 11 additions and 0 deletions

View File

@@ -100,6 +100,8 @@ extern rsaencpwd_printsub();
#endif #endif
int auth_debug_mode = 0; int auth_debug_mode = 0;
int auth_has_failed = 0;
int auth_enable_encrypt = 0;
static const char *Name = "Noname"; static const char *Name = "Noname";
static int Server = 0; static int Server = 0;
static Authenticator *authenticated = 0; static Authenticator *authenticated = 0;
@@ -468,6 +470,7 @@ auth_send(unsigned char *data, int cnt)
if (auth_debug_mode) if (auth_debug_mode)
printf(">>>%s: Sent failure message\r\n", Name); printf(">>>%s: Sent failure message\r\n", Name);
auth_finished(0, AUTH_REJECT); auth_finished(0, AUTH_REJECT);
auth_has_failed = 1;
#ifdef KANNAN #ifdef KANNAN
/* /*
* We requested strong authentication, however no mechanisms worked. * We requested strong authentication, however no mechanisms worked.

View File

@@ -93,6 +93,7 @@ void encrypt_request_start(unsigned char*, int);
void encrypt_send_end(void); void encrypt_send_end(void);
void encrypt_send_keyid(int, unsigned char*, int, int); void encrypt_send_keyid(int, unsigned char*, int, int);
void encrypt_send_request_end(void); void encrypt_send_request_end(void);
int encrypt_is_encrypting(void);
void encrypt_send_request_start(void); void encrypt_send_request_start(void);
void encrypt_send_support(void); void encrypt_send_support(void);
void encrypt_session_key(Session_Key*, int); void encrypt_session_key(Session_Key*, int);

View File

@@ -952,6 +952,13 @@ encrypt_delay(void)
return 0; return 0;
} }
int encrypt_is_encrypting()
{
if (encrypt_output && decrypt_input)
return 1;
return 0;
}
void void
encrypt_debug(int mode) encrypt_debug(int mode)
{ {