remove some unused stuff

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7387 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-11-13 20:37:21 +00:00
parent 0762845893
commit 550eada60d

View File

@@ -388,7 +388,6 @@ krb5_get_init_creds_password(krb5_context context,
krb5_addresses *addrs = NULL; krb5_addresses *addrs = NULL;
krb5_enctype *etypes = NULL; krb5_enctype *etypes = NULL;
krb5_preauthtype *pre_auth_types = NULL; krb5_preauthtype *pre_auth_types = NULL;
krb5_preauthdata *preauth = NULL, preauth2;
krb5_creds this_cred; krb5_creds this_cred;
krb5_kdc_rep kdc_reply; krb5_kdc_rep kdc_reply;
char buf[BUFSIZ]; char buf[BUFSIZ];
@@ -432,7 +431,7 @@ krb5_get_init_creds_password(krb5_context context,
addrs, addrs,
etypes, etypes,
pre_auth_types, pre_auth_types,
preauth, NULL,
krb5_password_key_proc, krb5_password_key_proc,
password, password,
NULL, NULL,
@@ -473,10 +472,6 @@ out:
krb5_free_kdc_rep (context, &kdc_reply); krb5_free_kdc_rep (context, &kdc_reply);
free (pre_auth_types); free (pre_auth_types);
if(preauth) {
free_ETYPE_INFO(&preauth->val[0].info);
free(preauth->val);
}
free (etypes); free (etypes);
if (ret == 0 && creds) if (ret == 0 && creds)
*creds = this_cred; *creds = this_cred;