diff options
author | Tom Yu <tlyu@mit.edu> | 2000-10-24 00:14:18 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2000-10-24 00:14:18 +0000 |
commit | 97afcf69e1c90195a2a3b8f38a8e18808a3b985a (patch) | |
tree | ced6e771c4fbce463bf25b0096435f822f6dda0c /src/lib/krb4/rd_priv.c | |
parent | c83059560ba1fc429146fef0ec547c7cc9edcfb2 (diff) | |
download | krb5-97afcf69e1c90195a2a3b8f38a8e18808a3b985a.zip krb5-97afcf69e1c90195a2a3b8f38a8e18808a3b985a.tar.gz krb5-97afcf69e1c90195a2a3b8f38a8e18808a3b985a.tar.bz2 |
* mk_auth.c (krb_check_auth): Modify call to rd_priv() by kludging
a cast of session key to C_Block *, since CNS is inconsistent in
this area as well.
* mk_priv.c (krb_mk_priv): Align with CNS by taking C_Block *.
* mk_safe.c (krb_mk_safe): Align with CNS by taking C_Block *.
* rd_priv.c (krb_rd_priv): Align with CNS by taking C_Block *.
* rd_safe.c (krb_rd_safe): Align with CNS by taking C_Block *.
* recvauth.c (krb_recvauth): Update call to mk_priv() to have the
correct type.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12805 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb4/rd_priv.c')
-rw-r--r-- | src/lib/krb4/rd_priv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/krb4/rd_priv.c b/src/lib/krb4/rd_priv.c index 44add9a..9a2bb26 100644 --- a/src/lib/krb4/rd_priv.c +++ b/src/lib/krb4/rd_priv.c @@ -70,7 +70,7 @@ krb_rd_priv(in,in_length,schedule,key,sender,receiver,m_data) u_char *in; /* pointer to the msg received */ unsigned KRB4_32 in_length; /* length of "in" msg */ Key_schedule schedule; /* precomputed key schedule */ - C_Block key; /* encryption key for seed and ivec */ + C_Block FAR *key; /* encryption key for seed and ivec */ struct sockaddr_in *sender; struct sockaddr_in *receiver; MSG_DAT *m_data; /*various input/output data from msg */ @@ -114,7 +114,7 @@ krb_rd_priv(in,in_length,schedule,key,sender,receiver,m_data) #ifndef NOENCRYPTION /* pcbc decrypt, use key as ivec */ pcbc_encrypt((C_Block *)q, (C_Block *)q, (long)c_length, - schedule, (C_Block *)key, DECRYPT); + schedule, key, DECRYPT); #endif /* safely get application data length */ |