removed stale prototype for `extract_ticket' and corrected call.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1943 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-06-30 04:11:10 +00:00
parent c434a2dd88
commit 7d00d8ef72

View File

@@ -20,16 +20,6 @@ key_proc (krb5_context context,
return 0;
}
int
extract_ticket(krb5_context context,
krb5_kdc_rep *rep,
krb5_creds *creds,
krb5_key_proc key_proc,
krb5_const_pointer keyseed,
krb5_decrypt_proc decrypt_proc,
krb5_const_pointer decryptarg);
krb5_error_code
krb5_get_credentials (krb5_context context,
krb5_flags options,
@@ -206,9 +196,10 @@ krb5_get_credentials (krb5_context context,
len = decode_TGS_REP(resp.data, resp.length, &rep.part1);
if(len < 0)
return ASN1_PARSE_ERROR;
err = extract_ticket(context, &rep, *out_creds, key_proc,
err = extract_ticket(context, &rep, *out_creds,
&(*out_creds)->session,
NULL,
NULL,
NULL);
if(err)
return err;