summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-12-18 11:59:56 -0500
committerGreg Hudson <ghudson@mit.edu>2013-12-18 12:16:23 -0500
commitc91f2a285e77e71bd283483d583c68e76eb3a0dd (patch)
tree5344b65203aaafe3fbb1e741a27c9bce941a526c /src/lib
parentbf1d3c7b0b060be4b3e9e793b633c07e489ac76f (diff)
downloadkrb5-c91f2a285e77e71bd283483d583c68e76eb3a0dd.tar.gz
krb5-c91f2a285e77e71bd283483d583c68e76eb3a0dd.tar.xz
krb5-c91f2a285e77e71bd283483d583c68e76eb3a0dd.zip
Remove unused krb5_context fields
The vtbl and locate_fptrs fields were ostensibly related to the locate pluggable interface, but weren't actually used.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/krb/copy_ctx.c2
-rw-r--r--src/lib/krb5/os/init_os_ctx.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/krb5/krb/copy_ctx.c b/src/lib/krb5/krb/copy_ctx.c
index 5d84170030..0bc92f814b 100644
--- a/src/lib/krb5/krb/copy_ctx.c
+++ b/src/lib/krb5/krb/copy_ctx.c
@@ -80,8 +80,6 @@ krb5_copy_context(krb5_context ctx, krb5_context *nctx_out)
nctx->os_context.default_ccname = NULL;
memset(&nctx->libkrb5_plugins, 0, sizeof(nctx->libkrb5_plugins));
- nctx->vtbl = NULL;
- nctx->locate_fptrs = NULL;
memset(&nctx->err, 0, sizeof(nctx->err));
diff --git a/src/lib/krb5/os/init_os_ctx.c b/src/lib/krb5/os/init_os_ctx.c
index ff6061a2ca..09809b9325 100644
--- a/src/lib/krb5/os/init_os_ctx.c
+++ b/src/lib/krb5/os/init_os_ctx.c
@@ -428,7 +428,6 @@ k5_os_init_context(krb5_context ctx, profile_t profile, krb5_flags flags)
os_ctx->os_flags = 0;
os_ctx->default_ccname = 0;
- ctx->vtbl = 0;
PLUGIN_DIR_INIT(&ctx->libkrb5_plugins);
ctx->preauth_context = NULL;