use new DES_ api

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12761 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-09-03 11:48:53 +00:00
parent 4a7a8019a7
commit b6b6ef861a
2 changed files with 3 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ char valid_opts[] = "Bd:hklnS:u:UL:y"
static void doit(struct sockaddr*, int); static void doit(struct sockaddr*, int);
#ifdef ENCRYPTION #ifdef ENCRYPTION
extern int des_check_key; extern int DES_check_key;
#endif #endif
int int
@@ -157,7 +157,7 @@ main(int argc, char **argv)
int tos = -1; int tos = -1;
#endif #endif
#ifdef ENCRYPTION #ifdef ENCRYPTION
des_check_key = 1; /* Kludge for Mac NCSA telnet 2.6 /bg */ DES_check_key = 1; /* Kludge for Mac NCSA telnet 2.6 /bg */
#endif #endif
pfrontp = pbackp = ptyobuf; pfrontp = pbackp = ptyobuf;
netip = netibuf; netip = netibuf;

View File

@@ -59,7 +59,7 @@ int mit_prop_dump(void*, const char*);
struct v4_principal { struct v4_principal {
char name[64]; char name[64];
char instance[64]; char instance[64];
des_cblock key; DES_cblock key;
int kvno; int kvno;
int mkvno; int mkvno;
time_t exp_date; time_t exp_date;