diff options
author | Ezra Peisach <epeisach@mit.edu> | 2001-06-18 13:58:11 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2001-06-18 13:58:11 +0000 |
commit | 0b207edfa23b0669fae10c39aa36f27d45c7e72a (patch) | |
tree | 1b40af3c21ac6ecab5b512c93e100ee1a8af6320 /src | |
parent | c62cfd3f33f8b2f975505d01144913544e96e7b5 (diff) | |
download | krb5-0b207edfa23b0669fae10c39aa36f27d45c7e72a.zip krb5-0b207edfa23b0669fae10c39aa36f27d45c7e72a.tar.gz krb5-0b207edfa23b0669fae10c39aa36f27d45c7e72a.tar.bz2 |
* g_pw_in_tkt.c: Include krb5.h so that des_read_password()
prototype is present in des.h. Cast argument to des_read_password.
* getst.c, put_svc_key.c, rd_svc_key.c, save_creds.c, tf_util.c:
Include krb4int.h for prototypes.
* krb4int.h: New file containing private prototypes for krb4
functions not used outside the library. Contains getst() and
tf_save_cred().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13358 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/krb4/ChangeLog | 12 | ||||
-rw-r--r-- | src/lib/krb4/g_pw_in_tkt.c | 3 | ||||
-rw-r--r-- | src/lib/krb4/getst.c | 1 | ||||
-rw-r--r-- | src/lib/krb4/krb4int.h | 8 | ||||
-rw-r--r-- | src/lib/krb4/put_svc_key.c | 1 | ||||
-rw-r--r-- | src/lib/krb4/rd_svc_key.c | 1 | ||||
-rw-r--r-- | src/lib/krb4/save_creds.c | 1 | ||||
-rw-r--r-- | src/lib/krb4/tf_util.c | 1 |
8 files changed, 27 insertions, 1 deletions
diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 9b6c2ca..094e2f8 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,15 @@ +2001-06-18 Ezra Peisach <epeisach@mit.edu> + + * g_pw_in_tkt.c: Include krb5.h so that des_read_password() + prototype is present in des.h. Cast argument to des_read_password. + + * getst.c, put_svc_key.c, rd_svc_key.c, save_creds.c, tf_util.c: + Include krb4int.h for prototypes. + + * krb4int.h: New file containing private prototypes for krb4 + functions not used outside the library. Contains getst() and + tf_save_cred(). + 2001-06-11 Ezra Peisach <epeisach@mit.edu> * sendauth.c (krb_sendauth): Add KRB5_DLLIMP/KRB5_CALLCONV definitions diff --git a/src/lib/krb4/g_pw_in_tkt.c b/src/lib/krb4/g_pw_in_tkt.c index 13f762b..91e24a1 100644 --- a/src/lib/krb4/g_pw_in_tkt.c +++ b/src/lib/krb4/g_pw_in_tkt.c @@ -8,6 +8,7 @@ */ #include "mit-copyright.h" +#include <krb5.h> #include "krb.h" #include "krb_err.h" #include "prot.h" @@ -61,7 +62,7 @@ passwd_to_key(user,instance,realm,passwd,key) if (passwd) string_to_key(passwd, key); else { - des_read_password(key, "Password: ", 0); + des_read_password((des_cblock *)key, "Password: ", 0); } #endif /* NOENCRYPTION */ #endif /* unix */ diff --git a/src/lib/krb4/getst.c b/src/lib/krb4/getst.c index 763f89f..ebcf54a 100644 --- a/src/lib/krb4/getst.c +++ b/src/lib/krb4/getst.c @@ -9,6 +9,7 @@ #include "mit-copyright.h" #include "krb.h" +#include "krb4int.h" #ifdef HAVE_UNISTD_H #include <unistd.h> #endif diff --git a/src/lib/krb4/krb4int.h b/src/lib/krb4/krb4int.h new file mode 100644 index 0000000..bdd3281 --- /dev/null +++ b/src/lib/krb4/krb4int.h @@ -0,0 +1,8 @@ +/* A series of private prototypes that we are not exporting but should + * be available for self consistancy in the library. + */ + + +int getst(int, char *, int); + +int tf_save_cred(char *, char *, char *, C_Block, int , int, KTEXT, long); diff --git a/src/lib/krb4/put_svc_key.c b/src/lib/krb4/put_svc_key.c index f520b17..e2eb24d 100644 --- a/src/lib/krb4/put_svc_key.c +++ b/src/lib/krb4/put_svc_key.c @@ -23,6 +23,7 @@ */ #include "krb.h" +#include "krb4int.h" #include <string.h> #include <stdio.h> diff --git a/src/lib/krb4/rd_svc_key.c b/src/lib/krb4/rd_svc_key.c index 9659b74..15d0f46 100644 --- a/src/lib/krb4/rd_svc_key.c +++ b/src/lib/krb4/rd_svc_key.c @@ -10,6 +10,7 @@ #include "mit-copyright.h" #include "krb.h" +#include "krb4int.h" #include <stdio.h> #include <string.h> diff --git a/src/lib/krb4/save_creds.c b/src/lib/krb4/save_creds.c index 40f7ca5..4f2a0e6 100644 --- a/src/lib/krb4/save_creds.c +++ b/src/lib/krb4/save_creds.c @@ -11,6 +11,7 @@ #include "mit-copyright.h" #include <stdio.h> #include "krb.h" +#include "krb4int.h" /* * This routine takes a ticket and associated info and calls diff --git a/src/lib/krb4/tf_util.c b/src/lib/krb4/tf_util.c index 71706c0..bda4d41 100644 --- a/src/lib/krb4/tf_util.c +++ b/src/lib/krb4/tf_util.c @@ -26,6 +26,7 @@ #include "krb.h" #include "k5-int.h" +#include "krb4int.h" #include <stdio.h> #include <string.h> |