svn rev #21726: trunk/src/kdc/
hartmans@MIT.EDU
hartmans at MIT.EDU
Mon Jan 12 14:43:14 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=21726
Commit By: hartmans
Log Message:
Patch from Luke Howard
There's a superfluous check in kdc_util.c; ad_entry is always non NULL
Changed Files:
U trunk/src/kdc/kdc_util.c
Modified: trunk/src/kdc/kdc_util.c
===================================================================
--- trunk/src/kdc/kdc_util.c 2009-01-12 19:43:07 UTC (rev 21725)
+++ trunk/src/kdc/kdc_util.c 2009-01-12 19:43:13 UTC (rev 21726)
@@ -1692,11 +1692,8 @@
krb5_data rep_data;
*ret_authdata = NULL;
- if (ad_entry != NULL) {
- assert(ad_nprincs != NULL);
- memset(ad_entry, 0, sizeof(*ad_entry));
- *ad_nprincs = 0;
- }
+ memset(ad_entry, 0, sizeof(*ad_entry));
+ *ad_nprincs = 0;
memset(&req, 0, sizeof(req));
memset(&rep, 0, sizeof(rep));
More information about the cvs-krb5
mailing list