From 550eada60d0e6fda2a3c75d1fd3cddf0c1597c75 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 13 Nov 1999 20:37:21 +0000 Subject: [PATCH] remove some unused stuff git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7387 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/init_creds_pw.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/krb5/init_creds_pw.c b/lib/krb5/init_creds_pw.c index 1581a7539..cbee492f2 100644 --- a/lib/krb5/init_creds_pw.c +++ b/lib/krb5/init_creds_pw.c @@ -388,7 +388,6 @@ krb5_get_init_creds_password(krb5_context context, krb5_addresses *addrs = NULL; krb5_enctype *etypes = NULL; krb5_preauthtype *pre_auth_types = NULL; - krb5_preauthdata *preauth = NULL, preauth2; krb5_creds this_cred; krb5_kdc_rep kdc_reply; char buf[BUFSIZ]; @@ -432,7 +431,7 @@ krb5_get_init_creds_password(krb5_context context, addrs, etypes, pre_auth_types, - preauth, + NULL, krb5_password_key_proc, password, NULL, @@ -473,10 +472,6 @@ out: krb5_free_kdc_rep (context, &kdc_reply); free (pre_auth_types); - if(preauth) { - free_ETYPE_INFO(&preauth->val[0].info); - free(preauth->val); - } free (etypes); if (ret == 0 && creds) *creds = this_cred;