small fixes

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1654 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-05-04 04:08:06 +00:00
parent 5b8c4c88b0
commit f58a7aaa32
4 changed files with 13 additions and 5 deletions

View File

@@ -58,7 +58,6 @@
#ifdef AUTHENTICATION
Authenticator *findauthenticator (int, int);
int auth_cmd (int, char **);
int auth_wait (char *);
void auth_disable_name (char *);
void auth_finished (Authenticator *, int);
@@ -71,7 +70,16 @@ void auth_request (void);
void auth_send (unsigned char *, int);
void auth_send_retry (void);
void auth_printsub(unsigned char*, int, unsigned char*, int);
int getauthmask(char *type, int *maskp);
int auth_enable(char *type);
int auth_disable(char *type);
int auth_onoff(char *type, int on);
int auth_togdebug(int on);
int auth_status(void);
int auth_sendname(unsigned char *cp, int len);
void auth_debug(int mode);
void auth_gen_printsub(unsigned char *data, int cnt,
unsigned char *buf, int buflen);
#ifdef UNSAFE
int unsafe_init (Authenticator *, int);

View File

@@ -105,7 +105,6 @@ void encrypt_wait(void);
#ifdef TELENTD
void encrypt_wait (void);
#else
int encrypt_cmd (int, char **);
void encrypt_display (void);
#endif

View File

@@ -59,6 +59,7 @@
#define __MISC_PROTO__
void auth_encrypt_init (char *, char *, char *, int);
void auth_encrypt_user(char *name);
void auth_encrypt_connect (int);
void printd (unsigned char *, int);

View File

@@ -39,6 +39,8 @@
RCSID("$Id$");
#include "misc.h"
#include <string.h>
#include <roken.h>
char *RemoteHostName;
char *LocalHostName;
@@ -65,8 +67,6 @@ auth_encrypt_init(char *local, char *remote, char *name, int server)
void
auth_encrypt_user(char *name)
{
extern char *strdup(const char *);
if (UserNameRequested)
free(UserNameRequested);
UserNameRequested = name ? strdup(name) : 0;