svn commit: lorikeet r466 - in trunk/heimdal/lib/krb5: .

lha at samba.org lha at samba.org
Thu Sep 8 12:55:49 GMT 2005


Author: lha
Date: 2005-09-08 12:55:48 +0000 (Thu, 08 Sep 2005)
New Revision: 466

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=466

Log:
Merge 1.19: (krb5_verify_init_creds): `entry' unused, remove
From: "Henry B. Hotz" <hotz at jpl.nasa.gov>

Modified:
   trunk/heimdal/lib/krb5/verify_init.c


Changeset:
Modified: trunk/heimdal/lib/krb5/verify_init.c
===================================================================
--- trunk/heimdal/lib/krb5/verify_init.c	2005-09-08 12:52:07 UTC (rev 465)
+++ trunk/heimdal/lib/krb5/verify_init.c	2005-09-08 12:55:48 UTC (rev 466)
@@ -80,14 +80,12 @@
     krb5_error_code ret;
     krb5_data req;
     krb5_ccache local_ccache = NULL;
-    krb5_keytab_entry entry;
     krb5_creds *new_creds = NULL;
     krb5_auth_context auth_context = NULL;
     krb5_principal server = NULL;
     krb5_keytab keytab = NULL;
 
     krb5_data_zero (&req);
-    memset (&entry, 0, sizeof(entry));
 
     if (ap_req_server == NULL) {
 	char local_hostname[MAXHOSTNAMELEN];
@@ -182,7 +180,6 @@
     if (auth_context)
 	krb5_auth_con_free (context, auth_context);
     krb5_data_free (&req);
-    krb5_kt_free_entry (context, &entry);
     if (new_creds != NULL)
 	krb5_free_creds (context, new_creds);
     if (ap_req_server == NULL && server)



More information about the samba-cvs mailing list