svn rev #22360: trunk/src/kdc/

ghudson@MIT.EDU ghudson at MIT.EDU
Fri May 22 10:08:26 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22360
Commit By: ghudson
Log Message:
ticket: 6492
subject: Remove spurious assertion in handle_authdata
tags: pullup
target_version: 1.7

In handle_authdata in the KDC, remove a spurious assertion (added in
r21566 on the mskrb-integ branch) that authdata starts out empty.
authdata can be legitimately added by check_padata, which precedes
handle_authdata, and this happens with pkinit.



Changed Files:
U   trunk/src/kdc/kdc_authdata.c
Modified: trunk/src/kdc/kdc_authdata.c
===================================================================
--- trunk/src/kdc/kdc_authdata.c	2009-05-20 18:06:29 UTC (rev 22359)
+++ trunk/src/kdc/kdc_authdata.c	2009-05-22 14:08:25 UTC (rev 22360)
@@ -585,7 +585,6 @@
     krb5_error_code code = 0;
     int i;
 
-    assert(enc_tkt_reply->authorization_data == NULL);
     for (i = 0; i < n_authdata_systems; i++) {
 	const krb5_authdata_systems *asys = &authdata_systems[i];
 




More information about the cvs-krb5 mailing list