From: Greg Hudson Date: Fri, 22 May 2009 14:08:25 +0000 (+0000) Subject: Remove spurious assertion in handle_authdata X-Git-Tag: krb5-1.8-alpha1~466 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dba341349d6a9ba07fc837a8913128746212008c;p=krb5.git Remove spurious assertion in handle_authdata 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. ticket: 6492 tags: pullup target_version: 1.7 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22360 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/kdc_authdata.c b/src/kdc/kdc_authdata.c index 1dc4d3324..43ea0869a 100644 --- a/src/kdc/kdc_authdata.c +++ b/src/kdc/kdc_authdata.c @@ -585,7 +585,6 @@ handle_authdata (krb5_context context, 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];