summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-10-04 21:52:49 +0000
committerTheodore Tso <tytso@mit.edu>1994-10-04 21:52:49 +0000
commit456be939f2ac5e9e65b3c1e9f00754c922ec0574 (patch)
treeb6030e0567c8a525d31c9d01ee23d2bb054fd42b /src/lib
parent44759ecffdb6f9d2a31bfd56e988a1282155171c (diff)
Add widen.h and narrow.h around declaration so that argument types are
widened. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4453 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/krb/ChangeLog7
-rw-r--r--src/lib/krb5/krb/in_tkt_pwd.c2
-rw-r--r--src/lib/krb5/krb/in_tkt_sky.c2
3 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog
index 4ef90b169..b56368a12 100644
--- a/src/lib/krb5/krb/ChangeLog
+++ b/src/lib/krb5/krb/ChangeLog
@@ -1,3 +1,10 @@
+Tue Oct 4 16:29:19 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * in_tkt_sky.c (skey_keyproc):
+ * in_tkt_pwd.c (pwd_keyproc): Add widen.h and narrow.h includes
+ around pwd_keyproc, so that the keyproc input arguments
+ are appropriately widened.
+
Fri Sep 30 21:58:15 1994 Theodore Y. Ts'o (tytso@dcl)
* preauth.c (preauth_systems): Add placeholder for magic number
diff --git a/src/lib/krb5/krb/in_tkt_pwd.c b/src/lib/krb5/krb/in_tkt_pwd.c
index 7788df0b9..a0ab8172c 100644
--- a/src/lib/krb5/krb/in_tkt_pwd.c
+++ b/src/lib/krb5/krb/in_tkt_pwd.c
@@ -40,6 +40,7 @@ extern char *krb5_default_pwd_prompt1;
* key-producing procedure for use by krb5_get_in_tkt_with_password.
*/
+#include <krb5/widen.h>
static krb5_error_code
pwd_keyproc(DECLARG(const krb5_keytype, type),
DECLARG(krb5_keyblock **, key),
@@ -49,6 +50,7 @@ OLDDECLARG(const krb5_keytype, type)
OLDDECLARG(krb5_keyblock **, key)
OLDDECLARG(krb5_const_pointer, keyseed)
OLDDECLARG(krb5_pa_data **,padata)
+#include <krb5/narrow.h>
{
krb5_data salt;
krb5_error_code retval;
diff --git a/src/lib/krb5/krb/in_tkt_sky.c b/src/lib/krb5/krb/in_tkt_sky.c
index 712400f74..daae3774e 100644
--- a/src/lib/krb5/krb/in_tkt_sky.c
+++ b/src/lib/krb5/krb/in_tkt_sky.c
@@ -40,6 +40,7 @@ struct skey_keyproc_arg {
* "keyseed" is actually a krb5_keyblock *, or NULL if we should fetch
* from system area.
*/
+#include <krb5/widen.h>
static krb5_error_code
skey_keyproc(DECLARG(const krb5_keytype, type),
DECLARG(krb5_keyblock **, key),
@@ -49,6 +50,7 @@ OLDDECLARG(const krb5_keytype, type)
OLDDECLARG(krb5_keyblock **, key)
OLDDECLARG(krb5_const_pointer, keyseed)
OLDDECLARG(krb5_pa_data **,padata)
+#include <krb5/narrow.h>
{
krb5_keyblock *realkey;
const struct skey_keyproc_arg *arg;