Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@899 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska Hoegskolan (Royal Institute
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska H<EFBFBD>gskolan (Royal Institute
|
||||
* of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -17,7 +17,7 @@
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the Kungliga Tekniska
|
||||
* Hoegskolan and its contributors.
|
||||
* H<EFBFBD>gskolan and its contributors.
|
||||
*
|
||||
* 4. Neither the name of the Institute nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska Hoegskolan (Royal Institute
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska H<EFBFBD>gskolan (Royal Institute
|
||||
* of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -17,7 +17,7 @@
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the Kungliga Tekniska
|
||||
* Hoegskolan and its contributors.
|
||||
* H<EFBFBD>gskolan and its contributors.
|
||||
*
|
||||
* 4. Neither the name of the Institute nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska Hoegskolan (Royal Institute
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska H<EFBFBD>gskolan (Royal Institute
|
||||
* of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -17,7 +17,7 @@
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the Kungliga Tekniska
|
||||
* Hoegskolan and its contributors.
|
||||
* H<EFBFBD>gskolan and its contributors.
|
||||
*
|
||||
* 4. Neither the name of the Institute nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska Hoegskolan (Royal Institute
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska H<EFBFBD>gskolan (Royal Institute
|
||||
* of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -17,7 +17,7 @@
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the Kungliga Tekniska
|
||||
* Hoegskolan and its contributors.
|
||||
* H<EFBFBD>gskolan and its contributors.
|
||||
*
|
||||
* 4. Neither the name of the Institute nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska Hoegskolan (Royal Institute
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska H<EFBFBD>gskolan (Royal Institute
|
||||
* of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -17,7 +17,7 @@
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the Kungliga Tekniska
|
||||
* Hoegskolan and its contributors.
|
||||
* H<EFBFBD>gskolan and its contributors.
|
||||
*
|
||||
* 4. Neither the name of the Institute nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska Hoegskolan (Royal Institute
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska H<EFBFBD>gskolan (Royal Institute
|
||||
* of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -17,7 +17,7 @@
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the Kungliga Tekniska
|
||||
* Hoegskolan and its contributors.
|
||||
* H<EFBFBD>gskolan and its contributors.
|
||||
*
|
||||
* 4. Neither the name of the Institute nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
|
@@ -118,7 +118,7 @@ struct IOSB {
|
||||
short iosb$w_value;
|
||||
short iosb$w_count;
|
||||
long iosb$l_info;
|
||||
};
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef NX509_SIG
|
||||
@@ -149,10 +149,10 @@ static void (*savsig[NX509_SIG])();
|
||||
static jmp_buf save;
|
||||
|
||||
int des_read_password(key, prompt, verify)
|
||||
des_cblock (*key);
|
||||
char *prompt;
|
||||
int verify;
|
||||
{
|
||||
des_cblock (*key);
|
||||
char *prompt;
|
||||
int verify;
|
||||
{
|
||||
int ok;
|
||||
char buf[BUFSIZ],buff[BUFSIZ];
|
||||
|
||||
@@ -161,14 +161,14 @@ int verify;
|
||||
memset(buf,0,BUFSIZ);
|
||||
memset(buff,0,BUFSIZ);
|
||||
return(ok);
|
||||
}
|
||||
}
|
||||
|
||||
int des_read_2passwords(key1, key2, prompt, verify)
|
||||
des_cblock (*key1);
|
||||
des_cblock (*key2);
|
||||
char *prompt;
|
||||
int verify;
|
||||
{
|
||||
des_cblock (*key1);
|
||||
des_cblock (*key2);
|
||||
char *prompt;
|
||||
int verify;
|
||||
{
|
||||
int ok;
|
||||
char buf[BUFSIZ],buff[BUFSIZ];
|
||||
|
||||
@@ -177,41 +177,41 @@ int verify;
|
||||
memset(buf,0,BUFSIZ);
|
||||
memset(buff,0,BUFSIZ);
|
||||
return(ok);
|
||||
}
|
||||
}
|
||||
|
||||
int des_read_pw_string(buf, length, prompt, verify)
|
||||
char *buf;
|
||||
int length;
|
||||
char *prompt;
|
||||
int verify;
|
||||
{
|
||||
char *buf;
|
||||
int length;
|
||||
char *prompt;
|
||||
int verify;
|
||||
{
|
||||
char buff[BUFSIZ];
|
||||
int ret;
|
||||
|
||||
ret=read_pw(buf,buff,(length>BUFSIZ)?BUFSIZ:length,prompt,verify);
|
||||
memset(buff,0,BUFSIZ);
|
||||
return(ret);
|
||||
}
|
||||
}
|
||||
|
||||
static void read_till_nl(in)
|
||||
FILE *in;
|
||||
{
|
||||
FILE *in;
|
||||
{
|
||||
#define SIZE 4
|
||||
char buf[SIZE+1];
|
||||
|
||||
do {
|
||||
fgets(buf,SIZE,in);
|
||||
} while (strchr(buf,'\n') == NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/* return 0 if ok, 1 (or -1) otherwise */
|
||||
static int read_pw(buf, buff, size, prompt, verify)
|
||||
char *buf;
|
||||
char *buff;
|
||||
int size;
|
||||
char *prompt;
|
||||
int verify;
|
||||
{
|
||||
char *buf;
|
||||
char *buff;
|
||||
int size;
|
||||
char *prompt;
|
||||
int verify;
|
||||
{
|
||||
#ifdef WIN32 /* Visual C++ 4.0 (Windows95/NT) */
|
||||
return pwd_dialog(buf, size);
|
||||
#else /* !WIN32 */
|
||||
@@ -332,42 +332,42 @@ error:
|
||||
#endif
|
||||
return(!ok);
|
||||
#endif /* !WIN32 */
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef WIN32 /* Visual C++ 4.0 (Windows95/NT) */
|
||||
static void pushsig()
|
||||
{
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i=1; i<NX509_SIG; i++)
|
||||
savsig[i]=signal(i,recsig);
|
||||
}
|
||||
}
|
||||
|
||||
static void popsig()
|
||||
{
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i=1; i<NX509_SIG; i++)
|
||||
signal(i,savsig[i]);
|
||||
}
|
||||
}
|
||||
|
||||
static void recsig(i)
|
||||
int i;
|
||||
{
|
||||
int i;
|
||||
{
|
||||
longjmp(save,1);
|
||||
#ifdef LINT
|
||||
i=i;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* !WIN32 */
|
||||
|
||||
#ifdef MSDOS
|
||||
static int noecho_fgets(buf,size,tty)
|
||||
char *buf;
|
||||
int size;
|
||||
FILE *tty;
|
||||
{
|
||||
char *buf;
|
||||
int size;
|
||||
FILE *tty;
|
||||
{
|
||||
int i,n;
|
||||
char *p;
|
||||
|
||||
@@ -390,5 +390,5 @@ FILE *tty;
|
||||
}
|
||||
}
|
||||
return(strlen(buf));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska Hoegskolan (Royal Institute
|
||||
* Copyright (c) 1995, 1996 Kungliga Tekniska H<EFBFBD>gskolan (Royal Institute
|
||||
* of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -17,7 +17,7 @@
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the Kungliga Tekniska
|
||||
* Hoegskolan and its contributors.
|
||||
* H<EFBFBD>gskolan and its contributors.
|
||||
*
|
||||
* 4. Neither the name of the Institute nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
|
Reference in New Issue
Block a user