aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/krb/in_tkt_sky.c
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1992-09-29 13:45:39 +0000
committerTheodore Tso <tytso@mit.edu>1992-09-29 13:45:39 +0000
commit230838596b3ea4da7ade51fefd6cb8b2a3491d4f (patch)
tree87173b0bd934f94536d1ca37ccada762dd736f85 /src/lib/krb5/krb/in_tkt_sky.c
parente792711f3edecaa4cce549cf3b9f605e65e2055e (diff)
downloadkrb5-230838596b3ea4da7ade51fefd6cb8b2a3491d4f.zip
krb5-230838596b3ea4da7ade51fefd6cb8b2a3491d4f.tar.gz
krb5-230838596b3ea4da7ade51fefd6cb8b2a3491d4f.tar.bz2
Changes to support new calling sequence for get_in_tkt (preauthentication
and KDC reply changes) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2416 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/in_tkt_sky.c')
-rw-r--r--src/lib/krb5/krb/in_tkt_sky.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/lib/krb5/krb/in_tkt_sky.c b/src/lib/krb5/krb/in_tkt_sky.c
index cfd4cde..573235d 100644
--- a/src/lib/krb5/krb/in_tkt_sky.c
+++ b/src/lib/krb5/krb/in_tkt_sky.c
@@ -124,16 +124,21 @@ OLDDECLARG(krb5_pa_data **,padata)
krb5_error_code
krb5_get_in_tkt_with_skey(DECLARG(const krb5_flags, options),
DECLARG(krb5_address * const *, addrs),
+ DECLARG(const krb5_preauthtype, pre_auth_type),
DECLARG(const krb5_enctype, etype),
DECLARG(const krb5_keyblock *,key),
DECLARG(krb5_ccache, ccache),
- DECLARG(krb5_creds *,creds))
+ DECLARG(krb5_creds *,creds),
+ DECLARG(krb5_kdc_rep **, ret_as_reply))
OLDDECLARG(const krb5_flags, options)
OLDDECLARG(krb5_address * const *, addrs)
+OLDDECLARG(const krb5_preauthtype, pre_auth_type)
OLDDECLARG(const krb5_enctype, etype)
OLDDECLARG(const krb5_keyblock *,key)
OLDDECLARG(krb5_ccache, ccache)
OLDDECLARG(krb5_creds *, creds)
+OLDDECLARG(krb5_kdc_rep **, ret_as_reply)
+
{
struct skey_keyproc_arg arg;
krb5_keytype keytype;
@@ -150,10 +155,8 @@ OLDDECLARG(krb5_creds *, creds)
keytype = krb5_csarray[etype]->system->proto_keytype;
}
- return (krb5_get_in_tkt(options, addrs, etype, keytype, skey_keyproc,
- (krb5_pointer) &arg,
- krb5_kdc_rep_decrypt_proc,
- 0,
- creds,
- ccache));
+ return (krb5_get_in_tkt(options, addrs, pre_auth_type, etype, keytype,
+ skey_keyproc, (krb5_pointer) &arg,
+ krb5_kdc_rep_decrypt_proc, 0, creds,
+ ccache, ret_as_reply));
}