From b097b3a816c8355f5769a8e26dc644e40546116c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 31 Jan 2007 12:21:21 +0000 Subject: [PATCH] don't verify identifier in CHAP, its the client that chooses it. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20087 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kdc/digest.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/kdc/digest.c b/kdc/digest.c index 9273da2bd..9e059a0bd 100644 --- a/kdc/digest.c +++ b/kdc/digest.c @@ -382,11 +382,6 @@ _kdc_do_digest(krb5_context context, goto out; } - ret = krb5_store_stringz(sp, *r.u.initReply.identifier); - if (ret) { - krb5_clear_error_string(context); - goto out; - } } else r.u.initReply.identifier = NULL; @@ -461,13 +456,7 @@ _kdc_do_digest(krb5_context context, } krb5_store_stringz(sp, ireq.u.digestRequest.serverNonce); - if (ireq.u.digestRequest.identifier) { - ret = krb5_store_stringz(sp, *ireq.u.digestRequest.identifier); - if (ret) { - krb5_clear_error_string(context); - goto out; - } - } + if (ireq.u.digestRequest.hostname) { ret = krb5_store_stringz(sp, *ireq.u.digestRequest.hostname); if (ret) {