diff options
| author | Greg Hudson <ghudson@mit.edu> | 2011-10-06 19:24:56 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2011-10-06 19:24:56 +0000 |
| commit | d9ed152c4ba1fc5b8d2ca6f894e25e449d685c0c (patch) | |
| tree | 798860aa39c9294677f2360e5894f1825174811b /src/lib | |
| parent | 9490252d18b93f3fe02b0977510908a7dbbd45b1 (diff) | |
| download | krb5-d9ed152c4ba1fc5b8d2ca6f894e25e449d685c0c.tar.gz krb5-d9ed152c4ba1fc5b8d2ca6f894e25e449d685c0c.tar.xz krb5-d9ed152c4ba1fc5b8d2ca6f894e25e449d685c0c.zip | |
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
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/krb/deps | 3 | ||||
| -rw-r--r-- | src/lib/krb5/krb/preauth_ec.c | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/krb5/krb/deps b/src/lib/krb5/krb/deps index e1038a70c..f003aa832 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 6ef397568..6a9c76ad9 100644 --- a/src/lib/krb5/krb/preauth_ec.c +++ b/src/lib/krb5/krb/preauth_ec.c @@ -31,7 +31,6 @@ #include <k5-int.h> #include <krb5/preauth_plugin.h> -#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*/ |
