From d9ed152c4ba1fc5b8d2ca6f894e25e449d685c0c Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 6 Oct 2011 19:24:56 +0000 Subject: Ditch fast_factor.h since it contains only stubs Leave a comment behind where we called fast_set_kdc_verified(). Remove the call to fast_kdc_replace_reply_key() since it's wrong (encrypted challenge doesn't replace the reply key in that sense). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25317 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/deps | 3 +-- src/lib/krb5/krb/preauth_ec.c | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/lib') diff --git a/src/lib/krb5/krb/deps b/src/lib/krb5/krb/deps index e1038a70c3..f003aa832c 100644 --- a/src/lib/krb5/krb/deps +++ b/src/lib/krb5/krb/deps @@ -732,8 +732,7 @@ preauth2.so preauth2.po $(OUTPRE)preauth2.$(OBJEXT): \ preauth_ec.so preauth_ec.po $(OUTPRE)preauth_ec.$(OBJEXT): \ $(BUILDTOP)/include/autoconf.h $(BUILDTOP)/include/krb5/krb5.h \ $(BUILDTOP)/include/osconf.h $(BUILDTOP)/include/profile.h \ - $(COM_ERR_DEPS) $(top_srcdir)/include/fast_factor.h \ - $(top_srcdir)/include/k5-buf.h $(top_srcdir)/include/k5-err.h \ + $(COM_ERR_DEPS) $(top_srcdir)/include/k5-buf.h $(top_srcdir)/include/k5-err.h \ $(top_srcdir)/include/k5-gmt_mktime.h $(top_srcdir)/include/k5-int-pkinit.h \ $(top_srcdir)/include/k5-int.h $(top_srcdir)/include/k5-platform.h \ $(top_srcdir)/include/k5-plugin.h $(top_srcdir)/include/k5-thread.h \ diff --git a/src/lib/krb5/krb/preauth_ec.c b/src/lib/krb5/krb/preauth_ec.c index 6ef3975682..6a9c76ad9d 100644 --- a/src/lib/krb5/krb/preauth_ec.c +++ b/src/lib/krb5/krb/preauth_ec.c @@ -31,7 +31,6 @@ #include #include -#include "fast_factor.h" #include "int-proto.h" static int @@ -92,8 +91,8 @@ process_preauth(krb5_context context, krb5_clpreauth_moddata moddata, */ if (scratch.data) krb5_free_data_contents(context, &scratch); - if (retval == 0) - fast_set_kdc_verified(context, cb, rock); + /* If we had a callback to assert that the KDC is verified, we would + * call it here. */ if (enc) krb5_free_enc_data(context, enc); } else if (retval == 0) { /*No padata; we send*/ -- cgit