small fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1654 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -58,7 +58,6 @@
|
|||||||
#ifdef AUTHENTICATION
|
#ifdef AUTHENTICATION
|
||||||
Authenticator *findauthenticator (int, int);
|
Authenticator *findauthenticator (int, int);
|
||||||
|
|
||||||
int auth_cmd (int, char **);
|
|
||||||
int auth_wait (char *);
|
int auth_wait (char *);
|
||||||
void auth_disable_name (char *);
|
void auth_disable_name (char *);
|
||||||
void auth_finished (Authenticator *, int);
|
void auth_finished (Authenticator *, int);
|
||||||
@@ -71,7 +70,16 @@ void auth_request (void);
|
|||||||
void auth_send (unsigned char *, int);
|
void auth_send (unsigned char *, int);
|
||||||
void auth_send_retry (void);
|
void auth_send_retry (void);
|
||||||
void auth_printsub(unsigned char*, int, unsigned char*, int);
|
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
|
#ifdef UNSAFE
|
||||||
int unsafe_init (Authenticator *, int);
|
int unsafe_init (Authenticator *, int);
|
||||||
|
@@ -105,7 +105,6 @@ void encrypt_wait(void);
|
|||||||
#ifdef TELENTD
|
#ifdef TELENTD
|
||||||
void encrypt_wait (void);
|
void encrypt_wait (void);
|
||||||
#else
|
#else
|
||||||
int encrypt_cmd (int, char **);
|
|
||||||
void encrypt_display (void);
|
void encrypt_display (void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -59,6 +59,7 @@
|
|||||||
#define __MISC_PROTO__
|
#define __MISC_PROTO__
|
||||||
|
|
||||||
void auth_encrypt_init (char *, char *, char *, int);
|
void auth_encrypt_init (char *, char *, char *, int);
|
||||||
|
void auth_encrypt_user(char *name);
|
||||||
void auth_encrypt_connect (int);
|
void auth_encrypt_connect (int);
|
||||||
void printd (unsigned char *, int);
|
void printd (unsigned char *, int);
|
||||||
|
|
||||||
|
@@ -39,6 +39,8 @@
|
|||||||
RCSID("$Id$");
|
RCSID("$Id$");
|
||||||
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
#include <string.h>
|
||||||
|
#include <roken.h>
|
||||||
|
|
||||||
char *RemoteHostName;
|
char *RemoteHostName;
|
||||||
char *LocalHostName;
|
char *LocalHostName;
|
||||||
@@ -65,8 +67,6 @@ auth_encrypt_init(char *local, char *remote, char *name, int server)
|
|||||||
void
|
void
|
||||||
auth_encrypt_user(char *name)
|
auth_encrypt_user(char *name)
|
||||||
{
|
{
|
||||||
extern char *strdup(const char *);
|
|
||||||
|
|
||||||
if (UserNameRequested)
|
if (UserNameRequested)
|
||||||
free(UserNameRequested);
|
free(UserNameRequested);
|
||||||
UserNameRequested = name ? strdup(name) : 0;
|
UserNameRequested = name ? strdup(name) : 0;
|
||||||
|
Reference in New Issue
Block a user